Module cloud.piranha.servlet.api
Package javax.servlet.annotation
Annotation Type HttpMethodConstraint
@Documented
@Retention(RUNTIME)
public @interface HttpMethodConstraint
The HttpMethodConstraint API.
- Author:
- Manfred Riem ([email protected])
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
Get the method name. -
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ServletSecurity.EmptyRoleSemantic
emptyRoleSemantic
Get the EmptyRoleSemantic.java.lang.String[]
rolesAllowed
Get the roles allowed.ServletSecurity.TransportGuarantee
transportGuarantee
Get the TransportGuarantee.
-
Element Details
-
value
java.lang.String valueGet the method name.- Returns:
- the method name.
-
-
-
emptyRoleSemantic
ServletSecurity.EmptyRoleSemantic emptyRoleSemanticGet the EmptyRoleSemantic.- Returns:
- the EmptyRoleSemantic.
- Default:
- PERMIT
-
rolesAllowed
java.lang.String[] rolesAllowedGet the roles allowed.- Returns:
- the roles allowed.
- Default:
- {}
-
transportGuarantee
ServletSecurity.TransportGuarantee transportGuaranteeGet the TransportGuarantee.- Returns:
- the TransportGuarantee.
- Default:
- NONE
-