public interface ServletType<T> extends Child<T>
servletType
xsd typeModifier 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-name
ServletType
String getServletName()
servlet-name
elementservlet-name
ServletType<T> removeServletName()
servlet-name
elementServletType
ServletType<T> runAsPrincipal(String runAsPrincipal)
run-as-principal
elementrunAsPrincipal
- the value for the element run-as-principal
ServletType
String getRunAsPrincipal()
run-as-principal
elementrun-as-principal
ServletType<T> removeRunAsPrincipal()
run-as-principal
elementServletType
ServletSecurityType<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
elementServletType
Copyright © 2023 JBoss by Red Hat. All rights reserved.