public interface HttpMethodConstraintType<T> extends Child<T>
http-method-constraintType
xsd typeModifier 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 method
HttpMethodConstraintType
String getMethod()
method
elementmethod
HttpMethodConstraintType<T> removeMethod()
method
elementHttpMethodConstraintType
HttpMethodConstraintType<T> emptyRoleSemantic(EmptyRoleSemanticType emptyRoleSemantic)
empty-role-semantic
elementemptyRoleSemantic
- the value for the element empty-role-semantic
HttpMethodConstraintType
HttpMethodConstraintType<T> emptyRoleSemantic(String emptyRoleSemantic)
empty-role-semantic
elementemptyRoleSemantic
- the value for the element empty-role-semantic
HttpMethodConstraintType
EmptyRoleSemanticType getEmptyRoleSemantic()
empty-role-semantic
elementempty-role-semantic
String getEmptyRoleSemanticAsString()
empty-role-semantic
elementempty-role-semantic
HttpMethodConstraintType<T> removeEmptyRoleSemantic()
empty-role-semantic
attributeHttpMethodConstraintType
HttpMethodConstraintType<T> transportGuarantee(TransportGuaranteeType transportGuarantee)
transport-guarantee
elementtransportGuarantee
- the value for the element transport-guarantee
HttpMethodConstraintType
HttpMethodConstraintType<T> transportGuarantee(String transportGuarantee)
transport-guarantee
elementtransportGuarantee
- the value for the element transport-guarantee
HttpMethodConstraintType
TransportGuaranteeType getTransportGuarantee()
transport-guarantee
elementtransport-guarantee
String getTransportGuaranteeAsString()
transport-guarantee
elementtransport-guarantee
HttpMethodConstraintType<T> removeTransportGuarantee()
transport-guarantee
attributeHttpMethodConstraintType
HttpMethodConstraintType<T> rolesAllowed(String... values)
roles-allowed
elements,
a new roles-allowed
elementvalues
- list of roles-allowed
objectsHttpMethodConstraintType
List<String> getAllRolesAllowed()
roles-allowed
elementsroles-allowed
HttpMethodConstraintType<T> removeAllRolesAllowed()
roles-allowed
elementHttpMethodConstraintType
Copyright © 2018 JBoss by Red Hat. All rights reserved.