public enum HeaderName extends Enum<HeaderName>
Enum Constant and Description |
---|
accept
The OData protocol uses the Accept request-header field, as specified in [RFC2616].
|
acceptCharset
As specified in [RFC2616], the client MAY specify the set of accepted character sets with the Accept-Charset
header.
|
acceptLanguage
As specified in [RFC2616], the client MAY specify the set of accepted natural languages with the Accept-Language
header.
|
contentType
The Content-Type header is used as specified in [RFC2616].
|
dataServiceId
The DataServiceId response header is returned by the server when the response payload for an HTTP PUT, POST, PATCH,
or MERGE request is empty.
|
dataServiceUrlConventions |
dataServiceVersion
This header is a custom HTTP header defined for protocol versioning purposes.
|
etag
An ETag (entity tag) is an HTTP response header returned by an HTTP/1.1 compliant web server used to determine
change in content of a resource at a given URL.
|
ifMatch
The If-Match request-header field is used with a method to make it conditional.
|
ifNoneMatch
The If-None-Match request header is used with a method to make it conditional.
|
location
Location header is used to specify the URL of an entity modified through a Data Modification request, or the
request URL to check on the status of an asynchronous operation as described in
202 Accepted . |
maxDataServiceVersion
This header is a custom HTTP request only header defined for protocol versioning purposes.
|
minDataServiceVersion
This header is a custom HTTP request only header defined for protocol versioning purposes.
|
odataEntityId
A response to a create operation that returns 204 No Content MUST include an OData-EntityId response header.
|
odataIsolation
The OData-Isolation header specifies the isolation of the current request from external changes.
|
odataMaxVersion
Clients SHOULD specify an OData-MaxVersion request header.
|
odataVersion
This header is a custom HTTP header defined for protocol versioning purposes.
|
prefer
A Prefer header is included in a request to state the client’s preferred, but not required, server behavior (that
is, a hint to the server).
|
preferenceApplied
When a Prefer header value is successfully honored by the server, it MAY include a Preference-Applied response
header that states which preference values were honored by the server.
|
retryAfter
A service must include a
Retry-After header in a
202 Accepted . |
slug |
xHttpMethod
This header is a custom HTTP request header.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static HeaderName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderName accept
public static final HeaderName acceptCharset
public static final HeaderName acceptLanguage
public static final HeaderName contentType
public static final HeaderName dataServiceVersion
public static final HeaderName odataVersion
public static final HeaderName odataEntityId
public static final HeaderName etag
public static final HeaderName ifMatch
public static final HeaderName ifNoneMatch
public static final HeaderName odataMaxVersion
public static final HeaderName maxDataServiceVersion
public static final HeaderName minDataServiceVersion
public static final HeaderName odataIsolation
public static final HeaderName prefer
public static final HeaderName preferenceApplied
public static final HeaderName dataServiceId
public static final HeaderName location
202 Accepted
.public static final HeaderName retryAfter
Retry-After
header in a
202 Accepted
.public static final HeaderName dataServiceUrlConventions
public static final HeaderName slug
public static final HeaderName xHttpMethod
public static HeaderName[] values()
for (HeaderName c : HeaderName.values()) System.out.println(c);
public static HeaderName valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<HeaderName>
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.