| Package | Description |
|---|---|
| org.jboss.shrinkwrap.descriptor.api.jbossweb60 |
Provides the interfaces and enumeration types as defined in the schema
|
| Modifier and Type | Method and Description |
|---|---|
ServletType<JbossWebDescriptor> |
JbossWebDescriptor.createServlet()
Creates a new
servlet element |
ServletType<JbossWebDescriptor> |
JbossWebDescriptor.getOrCreateServlet()
If not already created, a new
servlet element will be created and returned. |
ServletType<T> |
ServletType.removeRunAsPrincipal()
Removes the
run-as-principal element |
ServletType<T> |
ServletType.removeServletName()
Removes the
servlet-name element |
ServletType<T> |
ServletType.removeServletSecurity()
Removes the
servlet-security element |
ServletType<T> |
ServletType.runAsPrincipal(String runAsPrincipal)
Sets the
run-as-principal element |
ServletType<T> |
ServletType.servletName(String servletName)
Sets the
servlet-name element |
| Modifier and Type | Method and Description |
|---|---|
List<ServletType<JbossWebDescriptor>> |
JbossWebDescriptor.getAllServlet()
Returns all
servlet elements |
ServletSecurityType<ServletType<T>> |
ServletType.getOrCreateServletSecurity()
If not already created, a new
servlet-security element with the given value will be created. |
Copyright © 2025 JBoss by Red Hat. All rights reserved.