javax.servlet.annotation
Annotation Type HttpMethodConstraint


@Documented
@Retention(value=RUNTIME)
public @interface HttpMethodConstraint

Since:
Servlet 3.0

Required Element Summary
 java.lang.String value
           
 
Optional Element Summary
 ServletSecurity.EmptyRoleSemantic emptyRoleSemantic
           
 java.lang.String[] rolesAllowed
           
 ServletSecurity.TransportGuarantee transportGuarantee
           
 

Element Detail

value

public abstract java.lang.String value

emptyRoleSemantic

public abstract ServletSecurity.EmptyRoleSemantic emptyRoleSemantic
Default:
javax.servlet.annotation.ServletSecurity.EmptyRoleSemantic.PERMIT

transportGuarantee

public abstract ServletSecurity.TransportGuarantee transportGuarantee
Default:
javax.servlet.annotation.ServletSecurity.TransportGuarantee.NONE

rolesAllowed

public abstract java.lang.String[] rolesAllowed
Default:
{}