| Package | Description |
|---|---|
| com.microsoft.rest |
The package contains the runtime classes required for AutoRest generated
clients to compile and function.
|
| com.microsoft.rest.protocol |
The package contains classes that interfaces defining the behaviors
of the necessary components of a Rest Client.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceResponseBuilder<T,E extends RestException>
The builder for building a
ServiceResponse. |
| Modifier and Type | Method and Description |
|---|---|
<T,E extends RestException> |
ServiceResponseBuilder.Factory.newInstance(SerializerAdapter<?> serializerAdapter) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends RestException> |
ServiceResponseBuilder.exceptionType() |
| Modifier and Type | Method and Description |
|---|---|
ServiceResponseBuilder<T,E> |
ServiceResponseBuilder.registerError(Class<? extends RestException> type) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ResponseBuilder<T,E extends RestException>
Defines an interface that can process a Retrofit 2 response
into a deserialized body or an exception, depending on the
status code registered.
|
| Modifier and Type | Method and Description |
|---|---|
<T,E extends RestException> |
ResponseBuilder.Factory.newInstance(SerializerAdapter<?> serializerAdapter)
Returns a response builder instance.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseBuilder<T,E> |
ResponseBuilder.registerError(Class<? extends RestException> type)
Register a destination type for errors with models.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/