com.azure.core.http.rest

This package contains classes and interfaces that provide RESTful HTTP functionality for Azure SDKs.

The classes in this package allow you to send HTTP requests to Azure services and handle the responses. They also provide functionality for handling paged responses from Azure services, which is useful when dealing with large amounts of data.

Here are some of the key classes included in this package:

Each class provides useful methods and functionality for dealing with HTTP requests and responses. For example, the PagedIterable<T> class provides methods for iterating over paged responses from Azure services.

Classes

PagedFlux<T>

PagedFlux is a Flux that provides the ability to operate on paginated REST responses of type PagedResponse<T> and individual items in such pages.

PagedFluxBase<T,P>

Deprecated

use ContinuablePagedFluxCore<C,T,P>.

PagedIterable<T>

This class provides utility to iterate over PagedResponse<T> using Stream and Iterable interfaces.

PagedIterableBase<T,P>

This class provides utility to iterate over responses that extend PagedResponse<T> using Stream and Iterable interfaces.

PagedResponseBase<H,T>

Represents an HTTP response that contains a list of items deserialized into a Page<T>.

RequestOptions

This class contains the options to customize an HTTP request.

ResponseBase<H,T>

The response of a REST request.

RestProxy

RestProxy is a type that creates a proxy implementation for an interface describing REST API methods.

SimpleResponse<T>

This class represents a simple HTTP response with a strongly-typed content.

StreamResponse

This class represents a REST response with a streaming content.

Interfaces

Page<T>

Represents a paginated REST response from the service.

PagedResponse<T>

Response of a REST API that returns page.

Response<T>

REST response with a strongly-typed content specified.