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:
- ResponseBase<H,T>: The base class for all responses of a REST request.
- PagedIterable<T>: Provides utility to iterate over PagedResponse<T> using Stream and Iterable interfaces.
- PagedFlux<T>: Provides utility to iterate over PagedResponse<T> using reactor.core.publisher.Flux and Iterable interfaces.
- SimpleResponse<T>: Represents a REST response with a strongly-typed content deserialized from the response body.
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> |
Paged |
| PagedFluxBase<T,P> |
Deprecated |
| 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. |