ServletSecurity annotation value.
| Modifier and Type | Field and Description |
|---|---|
| private Collection | |
| private Collection |
| Access | Constructor and Description |
|---|---|
| public | ServletSecurityElement()
Constructs an instance using the default
|
| public | ServletSecurityElement(HttpConstraintElement
the HttpConstraintElement to be
applied to all HTTP methods other than those represented in the
methodConstraints constraint)Constructs an instance with a default Constraint element and with no HTTP Method specific constraint elements. |
| public | ServletSecurityElement(Collection<HttpMethodConstraintElement>
the collection of HTTP method specific
constraint elements methodConstraints)Constructs an instance using the default
|
| public | ServletSecurityElement(HttpConstraintElement
the HttpConstraintElement to be
applied to all HTTP methods other than those represented in the
methodConstraints constraint, Collection<HttpMethodConstraintElement> the collection of HTTP method specific
constraint elements. methodConstraints)Constructs an instance with a default Constraint element and with a collection of HTTP Method specific constraint elements. |
| public | ServletSecurityElement(ServletSecurity
the annotation value annotation)Constructs an instance from a |
| Modifier and Type | Method and Description |
|---|---|
| private Collection | Returns: Set of method namesChecks for duplicate method names in methodConstraints. |
| public Collection | Returns: the (possibly empty) collection of HttpMethodConstraintElement objectsGets the (possibly empty) collection of HTTP Method specific constraint elements. |
| public Collection | Returns: the collection String method namesGets the set of HTTP method names named by the HttpMethodConstraints. |
| methodConstraints | back to summary |
|---|---|
| private Collection<HttpMethodConstraintElement> methodConstraints | |
| methodNames | back to summary |
|---|---|
| private Collection<String> methodNames | |
| ServletSecurityElement | back to summary |
|---|---|
| public ServletSecurityElement() Constructs an instance using the default
| |
| ServletSecurityElement | back to summary |
|---|---|
| public ServletSecurityElement(HttpConstraintElement constraint) Constructs an instance with a default Constraint element and with no HTTP Method specific constraint elements.
| |
| ServletSecurityElement | back to summary |
|---|---|
| public ServletSecurityElement(Collection<HttpMethodConstraintElement> methodConstraints) Constructs an instance using the default
| |
| ServletSecurityElement | back to summary |
|---|---|
| public ServletSecurityElement(HttpConstraintElement constraint, Collection<HttpMethodConstraintElement> methodConstraints) Constructs an instance with a default Constraint element and with a collection of HTTP Method specific constraint elements.
| |
| ServletSecurityElement | back to summary |
|---|---|
| public ServletSecurityElement(ServletSecurity annotation) Constructs an instance from a
| |
| checkMethodNames | back to summary |
|---|---|
| private Collection Checks for duplicate method names in methodConstraints.
| |
| getHttpMethodConstraints | back to summary |
|---|---|
| public Collection Gets the (possibly empty) collection of HTTP Method specific constraint elements. If permitted, any changes to the returned
| |
| getMethodNames | back to summary |
|---|---|
| public Collection Gets the set of HTTP method names named by the HttpMethodConstraints. If permitted, any changes to the returned
| |