
public interface HttpMethodConstraintType<T> extends Child<T>
http-method-constraintType xsd type| Modifier and Type | Method and Description |
|---|---|
HttpMethodConstraintType<T> |
emptyRoleSemantic(EmptyRoleSemanticType emptyRoleSemantic)
Sets the
empty-role-semantic element |
HttpMethodConstraintType<T> |
emptyRoleSemantic(String emptyRoleSemantic)
Sets the
empty-role-semantic element |
List<String> |
getAllRolesAllowed()
Returns all
roles-allowed elements |
EmptyRoleSemanticType |
getEmptyRoleSemantic()
Returns the
empty-role-semantic element |
String |
getEmptyRoleSemanticAsString()
Returns the
empty-role-semantic element |
String |
getMethod()
Returns the
method element |
TransportGuaranteeType |
getTransportGuarantee()
Returns the
transport-guarantee element |
String |
getTransportGuaranteeAsString()
Returns the
transport-guarantee element |
HttpMethodConstraintType<T> |
method(String method)
Sets the
method element |
HttpMethodConstraintType<T> |
removeAllRolesAllowed()
Removes the
roles-allowed element |
HttpMethodConstraintType<T> |
removeEmptyRoleSemantic()
Removes the
empty-role-semantic attribute |
HttpMethodConstraintType<T> |
removeMethod()
Removes the
method element |
HttpMethodConstraintType<T> |
removeTransportGuarantee()
Removes the
transport-guarantee attribute |
HttpMethodConstraintType<T> |
rolesAllowed(String... values)
Creates for all String objects representing
roles-allowed elements,
a new roles-allowed element |
HttpMethodConstraintType<T> |
transportGuarantee(String transportGuarantee)
Sets the
transport-guarantee element |
HttpMethodConstraintType<T> |
transportGuarantee(TransportGuaranteeType transportGuarantee)
Sets the
transport-guarantee element |
HttpMethodConstraintType<T> method(String method)
method elementmethod - the value for the element methodHttpMethodConstraintTypeString getMethod()
method elementmethodHttpMethodConstraintType<T> removeMethod()
method elementHttpMethodConstraintTypeHttpMethodConstraintType<T> emptyRoleSemantic(EmptyRoleSemanticType emptyRoleSemantic)
empty-role-semantic elementemptyRoleSemantic - the value for the element empty-role-semanticHttpMethodConstraintTypeHttpMethodConstraintType<T> emptyRoleSemantic(String emptyRoleSemantic)
empty-role-semantic elementemptyRoleSemantic - the value for the element empty-role-semanticHttpMethodConstraintTypeEmptyRoleSemanticType getEmptyRoleSemantic()
empty-role-semantic elementempty-role-semanticString getEmptyRoleSemanticAsString()
empty-role-semantic elementempty-role-semanticHttpMethodConstraintType<T> removeEmptyRoleSemantic()
empty-role-semantic attributeHttpMethodConstraintTypeHttpMethodConstraintType<T> transportGuarantee(TransportGuaranteeType transportGuarantee)
transport-guarantee elementtransportGuarantee - the value for the element transport-guaranteeHttpMethodConstraintTypeHttpMethodConstraintType<T> transportGuarantee(String transportGuarantee)
transport-guarantee elementtransportGuarantee - the value for the element transport-guaranteeHttpMethodConstraintTypeTransportGuaranteeType getTransportGuarantee()
transport-guarantee elementtransport-guaranteeString getTransportGuaranteeAsString()
transport-guarantee elementtransport-guaranteeHttpMethodConstraintType<T> removeTransportGuarantee()
transport-guarantee attributeHttpMethodConstraintTypeHttpMethodConstraintType<T> rolesAllowed(String... values)
roles-allowed elements,
a new roles-allowed elementvalues - list of roles-allowed objectsHttpMethodConstraintTypeList<String> getAllRolesAllowed()
roles-allowed elementsroles-allowedHttpMethodConstraintType<T> removeAllRolesAllowed()
roles-allowed elementHttpMethodConstraintTypeCopyright © 2025 JBoss by Red Hat. All rights reserved.