|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpMethodConstraintType<T>
This interface defines the contract for the http-method-constraintType
xsd type
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
HttpMethodConstraintType<T> method(String method)
method
element
method
- the value for the element method
HttpMethodConstraintType
String getMethod()
method
element
method
HttpMethodConstraintType<T> removeMethod()
method
element
HttpMethodConstraintType
HttpMethodConstraintType<T> emptyRoleSemantic(EmptyRoleSemanticType emptyRoleSemantic)
empty-role-semantic
element
emptyRoleSemantic
- the value for the element empty-role-semantic
HttpMethodConstraintType
HttpMethodConstraintType<T> emptyRoleSemantic(String emptyRoleSemantic)
empty-role-semantic
element
emptyRoleSemantic
- the value for the element empty-role-semantic
HttpMethodConstraintType
EmptyRoleSemanticType getEmptyRoleSemantic()
empty-role-semantic
element
empty-role-semantic
String getEmptyRoleSemanticAsString()
empty-role-semantic
element
empty-role-semantic
HttpMethodConstraintType<T> removeEmptyRoleSemantic()
empty-role-semantic
attribute
HttpMethodConstraintType
HttpMethodConstraintType<T> transportGuarantee(TransportGuaranteeType transportGuarantee)
transport-guarantee
element
transportGuarantee
- the value for the element transport-guarantee
HttpMethodConstraintType
HttpMethodConstraintType<T> transportGuarantee(String transportGuarantee)
transport-guarantee
element
transportGuarantee
- the value for the element transport-guarantee
HttpMethodConstraintType
TransportGuaranteeType getTransportGuarantee()
transport-guarantee
element
transport-guarantee
String getTransportGuaranteeAsString()
transport-guarantee
element
transport-guarantee
HttpMethodConstraintType<T> removeTransportGuarantee()
transport-guarantee
attribute
HttpMethodConstraintType
HttpMethodConstraintType<T> rolesAllowed(String... values)
roles-allowed
elements,
a new roles-allowed
element
values
- list of roles-allowed
objects
HttpMethodConstraintType
List<String> getAllRolesAllowed()
roles-allowed
elements
roles-allowed
HttpMethodConstraintType<T> removeAllRolesAllowed()
roles-allowed
element
HttpMethodConstraintType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |