javax.servlet
Class HttpConstraintElement

java.lang.Object
  extended by javax.servlet.HttpConstraintElement
Direct Known Subclasses:
HttpMethodConstraintElement, ServletSecurityElement

public class HttpConstraintElement
extends java.lang.Object

Since:
Servlet 3.0

Constructor Summary
HttpConstraintElement()
           
HttpConstraintElement(ServletSecurity.EmptyRoleSemantic semantic)
           
HttpConstraintElement(ServletSecurity.EmptyRoleSemantic semantic, ServletSecurity.TransportGuarantee guarantee, java.lang.String... roleNames)
           
HttpConstraintElement(ServletSecurity.TransportGuarantee guarantee, java.lang.String... roleNames)
           
 
Method Summary
 ServletSecurity.EmptyRoleSemantic getEmptyRoleSemantic()
           
 java.lang.String[] getRolesAllowed()
           
 ServletSecurity.TransportGuarantee getTransportGuarantee()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpConstraintElement

public HttpConstraintElement()

HttpConstraintElement

public HttpConstraintElement(ServletSecurity.EmptyRoleSemantic semantic)

HttpConstraintElement

public HttpConstraintElement(ServletSecurity.TransportGuarantee guarantee,
                             java.lang.String... roleNames)

HttpConstraintElement

public HttpConstraintElement(ServletSecurity.EmptyRoleSemantic semantic,
                             ServletSecurity.TransportGuarantee guarantee,
                             java.lang.String... roleNames)
Method Detail

getEmptyRoleSemantic

public ServletSecurity.EmptyRoleSemantic getEmptyRoleSemantic()

getTransportGuarantee

public ServletSecurity.TransportGuarantee getTransportGuarantee()

getRolesAllowed

public java.lang.String[] getRolesAllowed()