Package | Description |
---|---|
jakarta.servlet |
The jakarta.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.
|
jakarta.servlet.annotation |
The jakarta.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 © 2018,2020 Eclipse Foundation.
Use is subject to license terms.