| Package | Description |
|---|---|
| com.microsoft.rest.v2 |
The package contains the runtime classes required for AutoRest generated
clients to compile and function.
|
| com.microsoft.rest.v2.protocol |
The package contains classes that interfaces defining the behaviors
of the necessary components of a Rest Client.
|
| com.microsoft.rest.v2.serializer |
The package contains classes that handle serialization and deserialization
for the REST call payloads.
|
| Modifier and Type | Method and Description |
|---|---|
static SerializerAdapter<?> |
RestProxy.createDefaultSerializer()
Create an instance of the default serializer.
|
protected SerializerAdapter<?> |
ServiceClient.createSerializerAdapter() |
SerializerAdapter<?> |
RestProxy.serializer()
Get the SerializerAdapter used by this RestProxy.
|
SerializerAdapter<?> |
ServiceClient.serializerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
static <A> A |
RestProxy.create(Class<A> swaggerInterface,
HttpPipeline httpPipeline,
SerializerAdapter<?> serializer)
Create a proxy implementation of the provided Swagger interface.
|
| Constructor and Description |
|---|
RestProxy(HttpPipeline httpPipeline,
SerializerAdapter<?> serializer,
SwaggerInterfaceParser interfaceParser)
Create a new instance of RestProxy.
|
SwaggerInterfaceParser(Class<?> swaggerInterface,
SerializerAdapter<?> serializer)
Create a new SwaggerInterfaceParser object with the provided fully qualified interface
name.
|
SwaggerInterfaceParser(Class<?> swaggerInterface,
SerializerAdapter<?> serializer,
String host)
Create a new SwaggerInterfaceParser object with the provided fully qualified interface
name.
|
| Constructor and Description |
|---|
HttpResponseDecoder(SwaggerMethodParser methodParser,
SerializerAdapter<?> serializer)
Creates an HttpResponseDecoder.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonAdapter
A serialization helper class wrapped around
ObjectMapper. |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/