Uses of Class
com.azure.core.http.HttpHeaderName
Packages that use HttpHeaderName
Package
Description
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
-
Uses of HttpHeaderName in com.azure.core.http
Fields in com.azure.core.http declared as HttpHeaderNameModifier and TypeFieldDescriptionstatic final HttpHeaderName
HttpHeaderName.ACCEPT
Accept
/accept
static final HttpHeaderName
HttpHeaderName.ACCEPT_CHARSET
Accept-Charset
/accept-charset
static final HttpHeaderName
HttpHeaderName.ACCEPT_DATETIME
Accept-Datetime
/accept-datetime
static final HttpHeaderName
HttpHeaderName.ACCEPT_ENCODING
Accept-Encoding
/accept-encoding
static final HttpHeaderName
HttpHeaderName.ACCEPT_LANGUAGE
Accept-Language
/accept-language
static final HttpHeaderName
HttpHeaderName.ACCEPT_PATCH
Accept-Patch
/accept-patch
static final HttpHeaderName
HttpHeaderName.ACCEPT_RANGES
Accept-Ranges
/accept-ranges
static final HttpHeaderName
HttpHeaderName.ACCESS_CONTROL_ALLOW_CREDENTIALS
Access-Control-Allow-Credentials
/access-control-allow-credentials
static final HttpHeaderName
HttpHeaderName.ACCESS_CONTROL_ALLOW_HEADERS
Access-Control-Allow-Headers
/access-control-allow-headers
static final HttpHeaderName
HttpHeaderName.ACCESS_CONTROL_ALLOW_METHODS
Access-Control-Allow-Methods
/access-control-allow-methods
static final HttpHeaderName
HttpHeaderName.ACCESS_CONTROL_ALLOW_ORIGIN
Access-Control-Allow-Origin
/access-control-allow-origin
static final HttpHeaderName
HttpHeaderName.ACCESS_CONTROL_EXPOSE_HEADERS
Access-Control-Expose-Headers
/access-control-expose-headers
static final HttpHeaderName
HttpHeaderName.ACCESS_CONTROL_MAX_AGE
Access-Control-Max-Age
/access-control-max-age
static final HttpHeaderName
HttpHeaderName.AGE
Age
/age
static final HttpHeaderName
HttpHeaderName.ALLOW
Allow
/allow
static final HttpHeaderName
HttpHeaderName.AUTHORIZATION
Authorization
/authorization
static final HttpHeaderName
HttpHeaderName.CACHE_CONTROL
Cache-Control
/cache-control
static final HttpHeaderName
HttpHeaderName.CONNECTION
Connection
/connection
static final HttpHeaderName
HttpHeaderName.CONTENT_DISPOSITION
Content-Disposition
/content-disposition
static final HttpHeaderName
HttpHeaderName.CONTENT_ENCODING
Content-Encoding
/content-encoding
static final HttpHeaderName
HttpHeaderName.CONTENT_LANGUAGE
Content-Language
/content-language
static final HttpHeaderName
HttpHeaderName.CONTENT_LENGTH
Content-Length
/content-length
static final HttpHeaderName
HttpHeaderName.CONTENT_LOCATION
Content-Location
/content-location
static final HttpHeaderName
HttpHeaderName.CONTENT_MD5
Content-MD5
/content-md5
static final HttpHeaderName
HttpHeaderName.CONTENT_RANGE
Content-Range
/content-range
static final HttpHeaderName
HttpHeaderName.CONTENT_TYPE
Content-Type
/content-type
static final HttpHeaderName
HttpHeaderName.COOKIE
Cookie
/cookie
static final HttpHeaderName
HttpHeaderName.DATE
Date
/date
static final HttpHeaderName
HttpHeaderName.ETAG
ETag
/etag
static final HttpHeaderName
HttpHeaderName.EXPECT
Expect
/expect
static final HttpHeaderName
HttpHeaderName.EXPIRES
Expires
/expires
static final HttpHeaderName
HttpHeaderName.FORWARDED
Forwarded
/forwarded
static final HttpHeaderName
HttpHeaderName.FROM
From
/from
static final HttpHeaderName
HttpHeaderName.HOST
Host
/host
static final HttpHeaderName
HttpHeaderName.HTTP2_SETTINGS
HTTP2-Settings
/http2-settings
static final HttpHeaderName
HttpHeaderName.IF_MATCH
If-Match
/if-match
static final HttpHeaderName
HttpHeaderName.IF_MODIFIED_SINCE
If-Modified-Since
/if-modified-since
static final HttpHeaderName
HttpHeaderName.IF_NONE_MATCH
If-None-Match
/if-none-match
static final HttpHeaderName
HttpHeaderName.IF_RANGE
If-Range
/if-range
static final HttpHeaderName
HttpHeaderName.IF_UNMODIFIED_SINCE
If-Unmodified-Since
/if-unmodified-since
static final HttpHeaderName
HttpHeaderName.LAST_MODIFIED
Last-Modified
/last-modified
static final HttpHeaderName
HttpHeaderName.LINK
Link
/link
static final HttpHeaderName
HttpHeaderName.LOCATION
Location
/location
static final HttpHeaderName
HttpHeaderName.MAX_FORWARDS
Max-Forwards
/max-forwards
static final HttpHeaderName
HttpHeaderName.ORIGIN
Origin
/origin
static final HttpHeaderName
HttpHeaderName.PRAGMA
Pragma
/pragma
static final HttpHeaderName
HttpHeaderName.PREFER
Prefer
/prefer
static final HttpHeaderName
HttpHeaderName.PREFERENCE_APPLIED
Preference-Applied
/preference-applied
static final HttpHeaderName
HttpHeaderName.PROXY_AUTHENTICATE
Proxy-Authenticate
/proxy-authenticate
static final HttpHeaderName
HttpHeaderName.PROXY_AUTHORIZATION
Proxy-Authorization
/proxy-authorization
static final HttpHeaderName
HttpHeaderName.RANGE
Range
/range
static final HttpHeaderName
HttpHeaderName.REFERER
Referer
/referer
static final HttpHeaderName
HttpHeaderName.RETRY_AFTER
Retry-After
/retry-after
static final HttpHeaderName
HttpHeaderName.SERVER
Server
/server
static final HttpHeaderName
HttpHeaderName.SET_COOKIE
Set-Cookie
/set-cookie
static final HttpHeaderName
HttpHeaderName.STRICT_TRANSPORT_SECURITY
Strict-Transport-Security
/strict-transport-security
static final HttpHeaderName
HttpHeaderName.TE
TE
/te
static final HttpHeaderName
HttpHeaderName.TRAILER
Trailer
/trailer
static final HttpHeaderName
HttpHeaderName.TRANSFER_ENCODING
Transfer-Encoding
/transfer-encoding
static final HttpHeaderName
HttpHeaderName.UPGRADE
Upgrade
/upgrade
static final HttpHeaderName
HttpHeaderName.USER_AGENT
User-Agent
/user-agent
static final HttpHeaderName
HttpHeaderName.VARY
Vary
/vary
static final HttpHeaderName
HttpHeaderName.VIA
Via
/via
static final HttpHeaderName
HttpHeaderName.WARNING
Warning
/warning
static final HttpHeaderName
HttpHeaderName.WWW_AUTHENTICATE
WWW-Authenticate
/www-authenticate
static final HttpHeaderName
HttpHeaderName.X_MS_CLIENT_REQUEST_ID
x-ms-client-request-id
Methods in com.azure.core.http that return HttpHeaderNameModifier and TypeMethodDescriptionstatic HttpHeaderName
HttpHeaderName.fromString
(String name) Gets or creates theHttpHeaderName
for the passedname
.Methods in com.azure.core.http with parameters of type HttpHeaderNameModifier and TypeMethodDescriptionHttpHeaders.add
(HttpHeaderName name, String value) Adds aheader
with the given name and value if a header with that name doesn't already exist, otherwise adds thevalue
to the existing header.HttpHeaders.get
(HttpHeaderName name) Gets theheader
for the provided header name.HttpResponse.getHeaderValue
(HttpHeaderName headerName) Lookup a response header with the providerHttpHeaderName
.HttpHeaders.getValue
(HttpHeaderName name) Get the value for the provided header name.String[]
HttpHeaders.getValues
(HttpHeaderName name) Get the values for the provided header name.HttpHeaders.remove
(HttpHeaderName name) Removes theheader
with the provided header name.HttpHeaders.set
(HttpHeaderName name, String value) Sets aheader
with the given name and value.HttpHeaders.set
(HttpHeaderName name, List<String> values) Sets aheader
with the given name and the list of values provided, such that the given values will be comma-separated when necessary.HttpRequest.setHeader
(HttpHeaderName headerName, String value) Set a request header, replacing any existing value.