| 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> |
ResponseBuilder.Factory.newInstance(SerializerAdapter<?> serializerAdapter)
Returns a response builder instance.
|
ResponseBuilder<T,E> |
ResponseBuilder.register(int statusCode,
Type type)
Register a mapping from a response status code to a response destination type.
|
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.
*/