Package | Description |
---|---|
javax.servlet |
The javax.servlet package contains a number of classes and interfaces that
describe and define the contracts between a servlet class and the
runtime environment provided for an instance of such a class by a
conforming servlet container.
|
javax.servlet.annotation |
The javax.servlet.annotation package contains a number of annotations
that allow users to use annotations to declare servlets, filters,
listeners and specify the metadata for the declared component.
|
Modifier and Type | Method and Description |
---|---|
ServletSecurity.TransportGuarantee |
HttpConstraintElement.getTransportGuarantee()
Gets the data protection requirement (i.e., whether or not SSL/TLS is
required) that must be satisfied by the transport connection.
|
Constructor and Description |
---|
HttpConstraintElement(ServletSecurity.EmptyRoleSemantic semantic,
ServletSecurity.TransportGuarantee guarantee,
String... roleNames)
Constructor to establish all of getEmptyRoleSemantic,
getRolesAllowed, and getTransportGuarantee.
|
HttpConstraintElement(ServletSecurity.TransportGuarantee guarantee,
String... roleNames)
Constructor to establish non-empty getRolesAllowed and/or
TransportGuarantee.CONFIDENTIAL.
|
Modifier and Type | Method and Description |
---|---|
static ServletSecurity.TransportGuarantee |
ServletSecurity.TransportGuarantee.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServletSecurity.TransportGuarantee[] |
ServletSecurity.TransportGuarantee.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.