|
Servlet 3.0 - Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.HttpConstraintElement
javax.servlet.ServletSecurityElement
public class ServletSecurityElement
| Constructor Summary | |
|---|---|
ServletSecurityElement()
Use default HttpConstraint. |
|
ServletSecurityElement(java.util.Collection<HttpMethodConstraintElement> httpMethodConstraints)
Use specific constraints for specified methods and default HttpConstraintElement for all other methods. |
|
ServletSecurityElement(HttpConstraintElement httpConstraintElement)
Use specified HttpConstraintElement. |
|
ServletSecurityElement(HttpConstraintElement httpConstraintElement,
java.util.Collection<HttpMethodConstraintElement> httpMethodConstraints)
Use specified HttpConstraintElement as default and specific constraints for specified methods. |
|
ServletSecurityElement(ServletSecurity annotation)
Create from an annotation. |
|
| Method Summary | |
|---|---|
java.util.Collection<HttpMethodConstraintElement> |
getHttpMethodConstraints()
|
java.util.Collection<java.lang.String> |
getMethodNames()
|
| Methods inherited from class javax.servlet.HttpConstraintElement |
|---|
getEmptyRoleSemantic, getRolesAllowed, getTransportGuarantee |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServletSecurityElement()
public ServletSecurityElement(java.util.Collection<HttpMethodConstraintElement> httpMethodConstraints)
httpMethodConstraints -
java.lang.IllegalArgumentException - if a method name is specified more than
oncepublic ServletSecurityElement(HttpConstraintElement httpConstraintElement)
httpConstraintElement -
public ServletSecurityElement(HttpConstraintElement httpConstraintElement,
java.util.Collection<HttpMethodConstraintElement> httpMethodConstraints)
httpConstraintElement - httpMethodConstraints -
java.lang.IllegalArgumentException - if a method name is specified more thanpublic ServletSecurityElement(ServletSecurity annotation)
annotation -
java.lang.IllegalArgumentException - if a method name is specified more than| Method Detail |
|---|
public java.util.Collection<HttpMethodConstraintElement> getHttpMethodConstraints()
public java.util.Collection<java.lang.String> getMethodNames()
|
Servlet 3.0 - Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||