
public interface ServletType<T> extends Child<T>
servletType xsd type| Modifier and Type | Method and Description |
|---|---|
ServletSecurityType<ServletType<T>> |
getOrCreateServletSecurity()
If not already created, a new
servlet-security element with the given value will be created. |
String |
getRunAsPrincipal()
Returns the
run-as-principal element |
String |
getServletName()
Returns the
servlet-name element |
ServletType<T> |
removeRunAsPrincipal()
Removes the
run-as-principal element |
ServletType<T> |
removeServletName()
Removes the
servlet-name element |
ServletType<T> |
removeServletSecurity()
Removes the
servlet-security element |
ServletType<T> |
runAsPrincipal(String runAsPrincipal)
Sets the
run-as-principal element |
ServletType<T> |
servletName(String servletName)
Sets the
servlet-name element |
ServletType<T> servletName(String servletName)
servlet-name elementservletName - the value for the element servlet-nameServletTypeString getServletName()
servlet-name elementservlet-nameServletType<T> removeServletName()
servlet-name elementServletTypeServletType<T> runAsPrincipal(String runAsPrincipal)
run-as-principal elementrunAsPrincipal - the value for the element run-as-principalServletTypeString getRunAsPrincipal()
run-as-principal elementrun-as-principalServletType<T> removeRunAsPrincipal()
run-as-principal elementServletTypeServletSecurityType<ServletType<T>> getOrCreateServletSecurity()
servlet-security element with the given value will be created.
Otherwise, the existing servlet-security element will be returned.ServletSecurityType> ServletType<T> removeServletSecurity()
servlet-security elementServletTypeCopyright © 2025 JBoss by Red Hat. All rights reserved.