- Base64Url - Class in com.microsoft.rest
-
Simple wrapper over Base64Url encoded byte array used during serialization/deserialization.
- Base64UrlSerializer - Class in com.microsoft.rest.serializer
-
Custom serializer for serializing Byte[] objects into Base64 strings.
- Base64UrlSerializer() - Constructor for class com.microsoft.rest.serializer.Base64UrlSerializer
-
- BaseUrlHandler - Class in com.microsoft.rest.interceptors
-
Handles dynamic replacements on base URL.
- BaseUrlHandler() - Constructor for class com.microsoft.rest.interceptors.BaseUrlHandler
-
- BasicAuthenticationCredentials - Class in com.microsoft.rest.credentials
-
Basic Auth credentials for use with a REST Service Client.
- BasicAuthenticationCredentials(String, String) - Constructor for class com.microsoft.rest.credentials.BasicAuthenticationCredentials
-
Instantiates a new basic authentication credential.
- body() - Method in exception com.microsoft.rest.RestException
-
- body() - Method in class com.microsoft.rest.ServiceResponse
-
Gets the response object.
- build(Response<ResponseBody>) - Method in interface com.microsoft.rest.protocol.ResponseBuilder
-
Build a ServiceResponse instance from a REST call response and a
possible error.
- build() - Method in class com.microsoft.rest.RestClient.Builder
-
Build a RestClient with all the current configurations.
- build(Response<ResponseBody>) - Method in class com.microsoft.rest.ServiceResponseBuilder
-
- buildEmpty(Response<Void>) - Method in interface com.microsoft.rest.protocol.ResponseBuilder
-
Build a ServiceResponse instance from a REST call response and a
possible error, which does not have a response body.
- buildEmpty(Response<Void>) - Method in class com.microsoft.rest.ServiceResponseBuilder
-
- buildEmptyWithHeaders(Response<Void>, Class<THeader>) - Method in interface com.microsoft.rest.protocol.ResponseBuilder
-
Build a ServiceResponseWithHeaders instance from a REST call response, a header
in JSON format, and a possible error, which does not have a response body.
- buildEmptyWithHeaders(Response<Void>, Class<THeader>) - Method in class com.microsoft.rest.ServiceResponseBuilder
-
- Builder() - Constructor for class com.microsoft.rest.RestClient.Builder
-
Creates an instance of the builder with a base URL to the service.
- Builder(OkHttpClient.Builder, Retrofit.Builder) - Constructor for class com.microsoft.rest.RestClient.Builder
-
Creates an instance of the builder with a base URL and 2 custom builders.
- buildWithHeaders(Response<ResponseBody>, Class<THeader>) - Method in interface com.microsoft.rest.protocol.ResponseBuilder
-
Build a ServiceResponseWithHeaders instance from a REST call response, a header
in JSON format, and a possible error.
- buildWithHeaders(Response<ResponseBody>, Class<THeader>) - Method in class com.microsoft.rest.ServiceResponseBuilder
-
- ByteArraySerializer - Class in com.microsoft.rest.serializer
-
Custom serializer for serializing Byte[] objects into Base64 strings.
- ByteArraySerializer() - Constructor for class com.microsoft.rest.serializer.ByteArraySerializer
-
- dateTime() - Method in class com.microsoft.rest.DateTimeRfc1123
-
Returns the underlying DateTime.
- DateTimeRfc1123 - Class in com.microsoft.rest
-
Simple wrapper over joda.time.DateTime used for specifying RFC1123 format during serialization/deserialization.
- DateTimeRfc1123(DateTime) - Constructor for class com.microsoft.rest.DateTimeRfc1123
-
Creates a new DateTimeRfc1123 object with the specified DateTime.
- DateTimeRfc1123(String) - Constructor for class com.microsoft.rest.DateTimeRfc1123
-
Creates a new DateTimeRfc1123 object with the specified DateTime.
- DateTimeRfc1123Serializer - Class in com.microsoft.rest.serializer
-
Custom serializer for serializing
DateTimeRfc1123 object into RFC1123 formats.
- DateTimeRfc1123Serializer() - Constructor for class com.microsoft.rest.serializer.DateTimeRfc1123Serializer
-
- DateTimeSerializer - Class in com.microsoft.rest.serializer
-
Custom serializer for serializing DateTime object into ISO8601 formats.
- DateTimeSerializer() - Constructor for class com.microsoft.rest.serializer.DateTimeSerializer
-
- decodedBytes() - Method in class com.microsoft.rest.Base64Url
-
Decode the bytes and return.
- DEFAULT_CLIENT_BACKOFF - Static variable in class com.microsoft.rest.retry.ExponentialBackoffRetryStrategy
-
Represents the default amount of time used when calculating a random delta in the exponential
delay between retries.
- DEFAULT_CLIENT_RETRY_COUNT - Static variable in class com.microsoft.rest.retry.RetryStrategy
-
Represents the default number of retry attempts.
- DEFAULT_FIRST_FAST_RETRY - Static variable in class com.microsoft.rest.retry.RetryStrategy
-
Represents the default flag indicating whether the first retry attempt will be made immediately,
whereas subsequent retries will remain subject to the retry interval.
- DEFAULT_MAX_BACKOFF - Static variable in class com.microsoft.rest.retry.ExponentialBackoffRetryStrategy
-
Represents the default maximum amount of time used when calculating the exponential
delay between retries.
- DEFAULT_MIN_BACKOFF - Static variable in class com.microsoft.rest.retry.ExponentialBackoffRetryStrategy
-
Represents the default minimum amount of time used when calculating the exponential
delay between retries.
- DEFAULT_RETRY_INTERVAL - Static variable in class com.microsoft.rest.retry.RetryStrategy
-
Represents the default interval between retries.
- deserialize(String, Type) - Method in interface com.microsoft.rest.protocol.SerializerAdapter
-
Deserializes a string into a U object using the current T.
- deserialize(JsonParser, DeserializationContext) - Method in class com.microsoft.rest.serializer.FlatteningDeserializer
-
- deserialize(String, Type) - Method in class com.microsoft.rest.serializer.JacksonAdapter
-
- register(int, Type) - Method in interface com.microsoft.rest.protocol.ResponseBuilder
-
Register a mapping from a response status code to a response destination type.
- register(int, Type) - Method in class com.microsoft.rest.ServiceResponseBuilder
-
- registerAll(Map<Integer, Type>) - Method in class com.microsoft.rest.ServiceResponseBuilder
-
Register all the mappings from a response status code to a response
destination type stored in a
Map.
- registerError(Class<? extends RestException>) - Method in interface com.microsoft.rest.protocol.ResponseBuilder
-
Register a destination type for errors with models.
- registerError(Class<? extends RestException>) - Method in class com.microsoft.rest.ServiceResponseBuilder
-
- removeHeader(String) - Method in class com.microsoft.rest.interceptors.CustomHeadersInterceptor
-
Remove a header.
- replaceHeader(String, String) - Method in class com.microsoft.rest.interceptors.CustomHeadersInterceptor
-
Add a single header key-value pair.
- RequestIdHeaderInterceptor - Class in com.microsoft.rest.interceptors
-
An instance of this class puts an UUID in the request header.
- RequestIdHeaderInterceptor() - Constructor for class com.microsoft.rest.interceptors.RequestIdHeaderInterceptor
-
- resolve(DeserializationContext) - Method in class com.microsoft.rest.serializer.FlatteningDeserializer
-
- resolve(SerializerProvider) - Method in class com.microsoft.rest.serializer.FlatteningSerializer
-
- response() - Method in exception com.microsoft.rest.RestException
-
- response() - Method in class com.microsoft.rest.ServiceResponse
-
Gets the raw REST response.
- ResponseBuilder<T,E extends RestException> - Interface in com.microsoft.rest.protocol
-
Defines an interface that can process a Retrofit 2 response
into a deserialized body or an exception, depending on the
status code registered.
- ResponseBuilder.Factory - Interface in com.microsoft.rest.protocol
-
A factory that creates a builder based on the return type and the exception type.
- responseBuilderFactory() - Method in class com.microsoft.rest.RestClient
-
- RestClient - Class in com.microsoft.rest
-
An instance of this class stores the client information for making REST calls.
- restClient() - Method in class com.microsoft.rest.ServiceClient
-
- RestClient.Builder - Class in com.microsoft.rest
-
The builder class for building a REST client.
- RestException - Exception in com.microsoft.rest
-
Exception thrown for an invalid response with custom error information.
- RestException(String, Response<ResponseBody>) - Constructor for exception com.microsoft.rest.RestException
-
Initializes a new instance of the RestException class.
- RestException(String, Response<ResponseBody>, Object) - Constructor for exception com.microsoft.rest.RestException
-
Initializes a new instance of the RestException class.
- retrofit() - Method in class com.microsoft.rest.RestClient
-
- retrofit() - Method in class com.microsoft.rest.ServiceClient
-
- RetryHandler - Class in com.microsoft.rest.retry
-
An instance of this interceptor placed in the request pipeline handles retriable errors.
- RetryHandler() - Constructor for class com.microsoft.rest.retry.RetryHandler
-
- RetryHandler(RetryStrategy) - Constructor for class com.microsoft.rest.retry.RetryHandler
-
- RetryStrategy - Class in com.microsoft.rest.retry
-
Represents a retry strategy that determines the number of retry attempts and the interval
between retries.
- RetryStrategy(String, boolean) - Constructor for class com.microsoft.rest.retry.RetryStrategy
-
- serialize(Object) - Method in interface com.microsoft.rest.protocol.SerializerAdapter
-
Serializes an object into a JSON string.
- serialize(Base64Url, JsonGenerator, SerializerProvider) - Method in class com.microsoft.rest.serializer.Base64UrlSerializer
-
- serialize(Byte[], JsonGenerator, SerializerProvider) - Method in class com.microsoft.rest.serializer.ByteArraySerializer
-
- serialize(DateTimeRfc1123, JsonGenerator, SerializerProvider) - Method in class com.microsoft.rest.serializer.DateTimeRfc1123Serializer
-
- serialize(DateTime, JsonGenerator, SerializerProvider) - Method in class com.microsoft.rest.serializer.DateTimeSerializer
-
- serialize(Object, JsonGenerator, SerializerProvider) - Method in class com.microsoft.rest.serializer.FlatteningSerializer
-
- serialize(Headers, JsonGenerator, SerializerProvider) - Method in class com.microsoft.rest.serializer.HeadersSerializer
-
- serialize(Object) - Method in class com.microsoft.rest.serializer.JacksonAdapter
-
- serializeList(List<?>, CollectionFormat) - Method in interface com.microsoft.rest.protocol.SerializerAdapter
-
Serializes a list into a string with the delimiter specified with the
Swagger collection format joining each individual serialized items in
the list.
- serializeList(List<?>, CollectionFormat) - Method in class com.microsoft.rest.serializer.JacksonAdapter
-
- serializer() - Method in interface com.microsoft.rest.protocol.SerializerAdapter
-
- serializer() - Method in class com.microsoft.rest.serializer.JacksonAdapter
-
- SerializerAdapter<T> - Interface in com.microsoft.rest.protocol
-
This interface defines the behaviors an adapter of a serializer
needs to implement.
- serializerAdapter() - Method in class com.microsoft.rest.RestClient
-
- serializerAdapter() - Method in class com.microsoft.rest.ServiceClient
-
- serializeRaw(Object) - Method in interface com.microsoft.rest.protocol.SerializerAdapter
-
Serializes an object into a raw string.
- serializeRaw(Object) - Method in class com.microsoft.rest.serializer.JacksonAdapter
-
- serializeWithType(Object, JsonGenerator, SerializerProvider, TypeSerializer) - Method in class com.microsoft.rest.serializer.FlatteningSerializer
-
- ServiceCallback<T> - Interface in com.microsoft.rest
-
The callback used for client side asynchronous operations.
- ServiceClient - Class in com.microsoft.rest
-
ServiceClient is the abstraction for accessing REST operations and their payload data types.
- ServiceClient(String) - Constructor for class com.microsoft.rest.ServiceClient
-
Initializes a new instance of the ServiceClient class.
- ServiceClient(String, OkHttpClient.Builder, Retrofit.Builder) - Constructor for class com.microsoft.rest.ServiceClient
-
Initializes a new instance of the ServiceClient class.
- ServiceClient(RestClient) - Constructor for class com.microsoft.rest.ServiceClient
-
Initializes a new instance of the ServiceClient class.
- ServiceClientCredentials - Interface in com.microsoft.rest.credentials
-
ServiceClientCredentials is the abstraction for credentials used by
ServiceClients accessing REST services.
- ServiceFuture<T> - Class in com.microsoft.rest
-
An instance of this class provides access to the underlying REST call invocation.
- ServiceFuture() - Constructor for class com.microsoft.rest.ServiceFuture
-
- ServiceResponse<T> - Class in com.microsoft.rest
-
An instance of this class holds a response object and a raw REST response.
- ServiceResponse(T, Response<ResponseBody>) - Constructor for class com.microsoft.rest.ServiceResponse
-
Instantiate a ServiceResponse instance with a response object and a raw REST response.
- ServiceResponse(Response<Void>) - Constructor for class com.microsoft.rest.ServiceResponse
-
Instantiate a ServiceResponse instance with a response from a HEAD operation.
- ServiceResponseBuilder<T,E extends RestException> - Class in com.microsoft.rest
-
- ServiceResponseBuilder.Factory - Class in com.microsoft.rest
-
A factory to create a service response builder.
- ServiceResponseWithHeaders<TBody,THeader> - Class in com.microsoft.rest
-
An instance of this class holds a response object and a raw REST response.
- ServiceResponseWithHeaders(TBody, THeader, Response<ResponseBody>) - Constructor for class com.microsoft.rest.ServiceResponseWithHeaders
-
Instantiate a ServiceResponse instance with a response object and a raw REST response.
- ServiceResponseWithHeaders(THeader, Response<Void>) - Constructor for class com.microsoft.rest.ServiceResponseWithHeaders
-
Instantiate a ServiceResponse instance with a response object and a raw REST response.
- setSubscription(Subscription) - Method in class com.microsoft.rest.ServiceFuture
-
- shouldRetry(int, Response) - Method in class com.microsoft.rest.retry.ExponentialBackoffRetryStrategy
-
Returns if a request should be retried based on the retry count, current response,
and the current strategy.
- shouldRetry(int, Response) - Method in class com.microsoft.rest.retry.RetryStrategy
-
Returns if a request should be retried based on the retry count, current response,
and the current strategy.
- simpleMapper() - Method in class com.microsoft.rest.serializer.JacksonAdapter
-
Gets a static instance of ObjectMapper that doesn't handle flattening.
- SkipParentValidation - Annotation Type in com.microsoft.rest
-
Annotation used for notifying the validator to skip
validation for the properties in the parent class.
- strategy() - Method in class com.microsoft.rest.retry.RetryHandler
-
- success(T) - Method in interface com.microsoft.rest.ServiceCallback
-
Override this method to handle successful REST call results.
- success(T) - Method in class com.microsoft.rest.ServiceFuture
-
Invoke this method to report completed, allowing
AbstractFuture.get() to be unblocked.
- withBaseUrl(String) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the dynamic base URL.
- withBaseUrl(Environment, Environment.Endpoint) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the base URL with the default from the Environment.
- withBody(T) - Method in class com.microsoft.rest.ServiceResponse
-
Sets the response object.
- withCallbackExecutor(Executor) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the executor for async callbacks to run on.
- withConnectionPool(ConnectionPool) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the connection pool for the Http client.
- withConnectionTimeout(long, TimeUnit) - Method in class com.microsoft.rest.RestClient.Builder
-
Set the connection timeout on the HTTP client.
- withCredentials(ServiceClientCredentials) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the credentials.
- withDispatcher(Dispatcher) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the dispatcher used in OkHttp client.
- withInterceptor(Interceptor) - Method in class com.microsoft.rest.RestClient.Builder
-
Add an interceptor the Http client pipeline.
- withLogLevel(LogLevel) - Method in class com.microsoft.rest.interceptors.LoggingInterceptor
-
Sets the current logging level.
- withLogLevel(LogLevel) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the HTTP log level.
- withLogLevel(LogLevel) - Method in class com.microsoft.rest.RestClient
-
Set the current HTTP traffic logging level.
- withMaxIdleConnections(int) - Method in class com.microsoft.rest.RestClient.Builder
-
- withNameValue(String, T, Class<T>) - Method in class com.microsoft.rest.ExpandableStringEnum
-
- withNetworkInterceptor(Interceptor) - Method in class com.microsoft.rest.RestClient.Builder
-
Add an interceptor the network layer of Http client pipeline.
- withPrettyJson(boolean) - Method in enum com.microsoft.rest.LogLevel
-
Specifies whether to log prettified JSON.
- withProxy(Proxy) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the proxy for the HTTP client.
- withProxyAuthenticator(Authenticator) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the proxy authenticator for the HTTP client.
- withReadTimeout(long, TimeUnit) - Method in class com.microsoft.rest.RestClient.Builder
-
Set the read timeout on the HTTP client.
- withResponseBuilderFactory(ResponseBuilder.Factory) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the response builder factory.
- withRetryStrategy(RetryStrategy) - Method in class com.microsoft.rest.RestClient.Builder
-
Adds a retry strategy to the client.
- withSerializerAdapter(SerializerAdapter<?>) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the serialization adapter.
- withThrowOnGet404(boolean) - Method in class com.microsoft.rest.ServiceResponseBuilder
-
Specifies whether to throw on 404 responses from a GET call.
- withUserAgent(String) - Method in class com.microsoft.rest.interceptors.UserAgentInterceptor
-
Overwrite the User-Agent header.
- withUserAgent(String) - Method in class com.microsoft.rest.RestClient.Builder
-
Sets the user agent header.