public class ODataResponseDeserializer extends Object
ODataProtocol.| Constructor and Description |
|---|
ODataResponseDeserializer(ODataProtocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
io.vavr.control.Option<com.google.gson.JsonArray> |
getElementToResultPrimitiveSet(com.google.gson.JsonElement element)
Get the element to the response result set.
|
io.vavr.control.Option<com.google.gson.JsonPrimitive> |
getElementToResultPrimitiveSingle(com.google.gson.JsonElement element)
Get the element to the single response result item.
|
io.vavr.control.Option<com.google.gson.JsonArray> |
getElementToResultSet(com.google.gson.JsonElement element)
Get the element to the response result set.
|
io.vavr.control.Option<com.google.gson.JsonObject> |
getElementToResultSingle(com.google.gson.JsonElement element)
Get the element to the single response result item.
|
void |
positionReaderToResultSet(com.google.gson.stream.JsonReader reader)
Position the
JsonReader to the response result set. |
public ODataResponseDeserializer(@Nonnull ODataProtocol protocol)
public void positionReaderToResultSet(@Nonnull com.google.gson.stream.JsonReader reader) throws IOException
JsonReader to the response result set.reader - The internal JsonReader instance.IOException - If response cannot be read.@Nonnull public io.vavr.control.Option<com.google.gson.JsonArray> getElementToResultSet(@Nonnull com.google.gson.JsonElement element)
element - The root element.@Nonnull public io.vavr.control.Option<com.google.gson.JsonObject> getElementToResultSingle(@Nonnull com.google.gson.JsonElement element)
element - The root element.@Nonnull public io.vavr.control.Option<com.google.gson.JsonArray> getElementToResultPrimitiveSet(@Nonnull com.google.gson.JsonElement element)
element - The root element.@Nonnull public io.vavr.control.Option<com.google.gson.JsonPrimitive> getElementToResultPrimitiveSingle(@Nonnull com.google.gson.JsonElement element)
element - The root element.Copyright © 2022 SAP SE. All rights reserved.