| Package | Description |
|---|---|
| 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 SerializerEncoding |
SerializerEncoding.fromHeaders(HttpHeaders headers)
Determines the serializer encoding to use based on the Content-Type header.
|
static SerializerEncoding |
SerializerEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerializerEncoding[] |
SerializerEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
<U> U |
SerializerAdapter.deserialize(String value,
Type type,
SerializerEncoding encoding)
Deserializes a string into a
U object using the current T. |
String |
SerializerAdapter.serialize(Object object,
SerializerEncoding encoding)
Serializes an object into a string.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
JacksonAdapter.deserialize(String value,
Type type,
SerializerEncoding encoding) |
String |
JacksonAdapter.serialize(Object object,
SerializerEncoding encoding) |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/