Package com.azure.android.core.rest.annotation
Package containing annotations for client side methods that maps to REST APIs.
-
Enum Summary Enum Description ReturnType Enumeration of return types used withServiceMethod
annotation to indicate if a method is expected to return a single item or a collectionServiceClientProtocol Enumeration of protocols available for setting theprotocol
property ofServiceClientBuilder
annotation. -
Annotation Types Summary Annotation Type Description BodyParam Annotation to annotate a parameter to send to a REST endpoint as HTTP Request content.Delete HTTP DELETE method annotation with its value describing the path to a REST endpoint for deleting the resource.ExpectedResponses Annotation to annotate list of HTTP status codes that are expected in response from a REST endpoint.Fluent Annotation given to all classes that are expected to provide a fluent API to end users.FormParam Annotation for form parameters to be sent to a REST API Request URI.Get HTTP GET method annotation describing the parameterized relative path to a REST endpoint for resource retrieval.Head HTTP HEAD method annotation describing the parameterized relative path to a REST endpoint.HeaderParam Replaces the header with the value of its target.Headers Annotation to annotate list of static headers sent to a REST endpoint.Host Annotation for parameterized host name targeting a REST service.HostParam Annotation to annotate replacement of parameterized segments in a dynamicHost
.Immutable Annotation given to all immutable classes.Patch HTTP PATCH method annotation describing the parameterized relative path to a REST endpoint for resource update.PathParam Annotation to annotate replacement for a named path segment in REST endpoint URL.Post HTTP POST method annotation describing the parameterized relative path to a REST endpoint for an action.Put HTTP PUT method annotation describing the parameterized relative path to a REST endpoint for resource creation or update.QueryParam Annotation for query parameters to be appended to a REST API Request URI.ReturnValueWireType Annotation for the type that will be used to deserialize the return value of a REST API response.ServiceClient Annotation given to all service client classes.ServiceClientBuilder Annotation given to all service client builder classes.ServiceInterface Annotation to give the service interfaces a name that correlates to the service that is usable in a programmatic way.ServiceMethod Annotation given to all service client methods that perform network operations.UnexpectedResponseExceptionType The exception type that is thrown or returned when one of the status codes is returned from a REST API.UnexpectedResponseExceptionTypes The@Repeatable
container annotation forUnexpectedResponseExceptionType
.