Uses of Class
com.azure.core.http.HttpHeaders
Packages that use HttpHeaders
Package
Description
This package provides HTTP abstractions for Azure SDK client libraries.
This package contains the HttpPipelinePolicy interface and its implementations.
This package contains classes and interfaces that provide RESTful HTTP functionality for Azure SDKs.
Package containing core utility classes.
Package containing interfaces describing serialization and deserialization contract.
-
Uses of HttpHeaders in com.azure.core.http
Methods in com.azure.core.http that return HttpHeadersModifier and TypeMethodDescriptionHttpHeaders.add(HttpHeaderName name, String value) Adds aheaderwith the given name and value if a header with that name doesn't already exist, otherwise adds thevalueto the existing header.Deprecated.HttpRequest.getHeaders()Get the request headers.abstract HttpHeadersHttpResponse.getHeaders()Get all response headers.Deprecated.Useset(HttpHeaderName, String)instead.HttpHeaders.set(HttpHeaderName name, String value) Sets aheaderwith the given name and value.HttpHeaders.set(HttpHeaderName name, List<String> values) Sets aheaderwith the given name and the list of values provided, such that the given values will be comma-separated when necessary.Deprecated.Useset(HttpHeaderName, String)as it provides better performance.Deprecated.Useset(HttpHeaderName, List)as it provides better performance.Sets all provided header key/values pairs into this HttpHeaders instance.HttpHeaders.setAllHttpHeaders(HttpHeaders headers) Sets all headers from the passedheadersinto thisHttpHeaders.Methods in com.azure.core.http with parameters of type HttpHeadersModifier and TypeMethodDescriptionHttpHeaders.setAllHttpHeaders(HttpHeaders headers) Sets all headers from the passedheadersinto thisHttpHeaders.HttpRequest.setHeaders(HttpHeaders headers) Set the request headers.Constructors in com.azure.core.http with parameters of type HttpHeadersModifierConstructorDescriptionHttpRequest(HttpMethod httpMethod, URL url, HttpHeaders headers) Create a new HttpRequest instance.HttpRequest(HttpMethod httpMethod, URL url, HttpHeaders headers, BinaryData body) Create a new HttpRequest instance.HttpRequest(HttpMethod httpMethod, URL url, HttpHeaders headers, Flux<ByteBuffer> body) Create a new HttpRequest instance. -
Uses of HttpHeaders in com.azure.core.http.policy
Constructors in com.azure.core.http.policy with parameters of type HttpHeaders -
Uses of HttpHeaders in com.azure.core.http.rest
Methods in com.azure.core.http.rest that return HttpHeadersModifier and TypeMethodDescriptionPagedResponseBase.getHeaders()Gets the headers from the HTTP response.Response.getHeaders()Gets the headers from the HTTP response.ResponseBase.getHeaders()Gets the headers from the HTTP response.SimpleResponse.getHeaders()Gets the headers from the HTTP response.Constructors in com.azure.core.http.rest with parameters of type HttpHeadersModifierConstructorDescriptionPagedResponseBase(HttpRequest request, int statusCode, HttpHeaders headers, Page<T> page, H deserializedHeaders) Creates a new instance of the PagedResponseBase type.PagedResponseBase(HttpRequest request, int statusCode, HttpHeaders headers, List<T> items, String continuationToken, H deserializedHeaders) Creates a new instance of the PagedResponseBase type.ResponseBase(HttpRequest request, int statusCode, HttpHeaders headers, T value, H deserializedHeaders) Creates aResponseBase.SimpleResponse(HttpRequest request, int statusCode, HttpHeaders headers, T value) Creates aSimpleResponse.StreamResponse(HttpRequest request, int statusCode, HttpHeaders headers, Flux<ByteBuffer> value) Deprecated. -
Uses of HttpHeaders in com.azure.core.util
Methods in com.azure.core.util that return HttpHeadersModifier and TypeMethodDescriptionstatic HttpHeadersCoreUtils.createHttpHeadersFromClientOptions(ClientOptions clientOptions) CreatesHttpHeadersfrom the providedClientOptions.Methods in com.azure.core.util with parameters of type HttpHeadersModifier and TypeMethodDescriptionstatic Mono<byte[]> FluxUtil.collectBytesFromNetworkResponse(Flux<ByteBuffer> stream, HttpHeaders headers) Collects ByteBuffers returned in a network response into a byte array. -
Uses of HttpHeaders in com.azure.core.util.serializer
Methods in com.azure.core.util.serializer with parameters of type HttpHeadersModifier and TypeMethodDescription<T> TJacksonAdapter.deserialize(HttpHeaders headers, Type deserializedHeadersType) <T> TSerializerAdapter.deserialize(HttpHeaders headers, Type type) Deserialize the provided headers returned from a REST API to an entity instance declared as the model to hold 'Matching' headers.static SerializerEncodingSerializerEncoding.fromHeaders(HttpHeaders headers) Determines the serializer encoding to use based on the Content-Type header.
add(HttpHeaderName, String)as it provides better performance.