public class Headers
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACCESS_CONTROL_ALLOW_CREDENTIALS
Whether or not the request after the OPTIONS request is planning to send credentials (e.g.
|
static java.lang.String |
ACCESS_CONTROL_ALLOW_HEADERS
A comma-separated list of header names which are permitted, specified in response to an
OPTIONS request.
|
static java.lang.String |
ACCESS_CONTROL_ALLOW_METHODS
A comma-separated list of HTTP methods which are permitted, specified in response to an
OPTIONS request.
|
static java.lang.String |
ACCESS_CONTROL_ALLOW_ORIGIN
An origin in the same format as
ORIGIN, which is permitted to send a request for a
resource, specified in response to an OPTIONS request. |
static java.lang.String |
ACCESS_CONTROL_MAX_AGE
How long the results of an OPTIONS request can be cached, specified in response to an
OPTIONS request.
|
static java.lang.String |
ACCESS_CONTROL_REQUEST_HEADERS
A comma separated list of header names for which an OPTIONS request is asking for permissions
to send.
|
static java.lang.String |
ACCESS_CONTROL_REQUEST_METHOD
The HTTP method for which an OPTIONS request is asking for permission to send.
|
static java.lang.String |
ORIGIN
The origin of a request, e.g.
|
| Constructor and Description |
|---|
Headers() |
public static final java.lang.String ORIGIN
public static final java.lang.String ACCESS_CONTROL_REQUEST_METHOD
public static final java.lang.String ACCESS_CONTROL_REQUEST_HEADERS
public static final java.lang.String ACCESS_CONTROL_ALLOW_ORIGIN
ORIGIN, which is permitted to send a request for a
resource, specified in response to an OPTIONS request.public static final java.lang.String ACCESS_CONTROL_ALLOW_CREDENTIALS
public static final java.lang.String ACCESS_CONTROL_MAX_AGE
public static final java.lang.String ACCESS_CONTROL_ALLOW_METHODS
public static final java.lang.String ACCESS_CONTROL_ALLOW_HEADERS