javax.servlet.annotation
Annotation Type HttpMethodConstraint


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

Since:
3.0
Version:
$Rev: 831066 $ $Date: 2009-10-29 15:19:48 -0400 (Thu, 29 Oct 2009) $

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

Element Detail

value

public abstract String value
Returns:
http method name

emptyRoleSemantic

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

rolesAllowed

public abstract String[] rolesAllowed
Default:
{}

transportGuarantee

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


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.