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 |
---|---|
<T,E extends RestException> |
ServiceResponseBuilder.Factory.newInstance(SerializerAdapter<?> serializerAdapter) |
ServiceResponseBuilder<T,E> |
ServiceResponseBuilder.register(int statusCode,
Type 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) |
ServiceResponseBuilder |
ServiceResponseBuilder.withThrowOnGet404(boolean throwOnGet404)
Specifies whether to throw on 404 responses from a GET call.
|
Copyright © 2019. All rights reserved.