| Package | Description |
|---|---|
| com.microsoft.rest |
The package contains the runtime classes required for AutoRest generated
clients to compile and function.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceResponseBuilder<T,E> |
ServiceResponseBuilder.register(int statusCode,
Type type)
Register a mapping from a response status code to a response destination type.
|
ServiceResponseBuilder<T,E> |
ServiceResponseBuilder.registerAll(Map<Integer,Type> responseTypes)
Register all the mappings from a response status code to a response
destination type stored in a
Map. |
ServiceResponseBuilder<T,E> |
ServiceResponseBuilder.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.
*/