| 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.
|
| com.microsoft.rest.serializer |
The package contains classes that handle serialization and deserialization
for the REST call payloads.
|
| Modifier and Type | Method and Description |
|---|---|
SerializerAdapter<?> |
RestClient.serializerAdapter() |
SerializerAdapter<?> |
ServiceClient.serializerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
<T,E extends RestException> |
ServiceResponseBuilder.Factory.newInstance(SerializerAdapter<?> serializerAdapter) |
RestClient.Builder |
RestClient.Builder.withSerializerAdapter(SerializerAdapter<?> serializerAdapter)
Sets the serialization adapter.
|
| Modifier and Type | Method and Description |
|---|---|
<T,E extends RestException> |
ResponseBuilder.Factory.newInstance(SerializerAdapter<?> serializerAdapter)
Returns a response builder instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonAdapter
A serialization helper class wrapped around
JacksonConverterFactory and ObjectMapper. |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/