@Beta public static final class ODataProtocol.ODataProtocolV4 extends Object implements ODataProtocol
ODataProtocol.ODataProtocolV2, ODataProtocol.ODataProtocolV4
V2, V4
Constructor and Description |
---|
ODataProtocolV4() |
Modifier and Type | Method and Description |
---|---|
Function<OffsetDateTime,String> |
getDateTimeOffsetSerializer() |
Function<LocalDateTime,String> |
getDateTimeSerializer() |
Function<Number,String> |
getNumberSerializer() |
String[] |
getPathToResultPrimitive()
The JSON path to a result primitive.
|
String[] |
getPathToResultSet()
The JSON path to a set of result elements.
|
String[] |
getPathToResultSingle()
The JSON path to a result object.
|
String |
getProtocolVersion()
The version number of this protocol.
|
Function<LocalTime,String> |
getTimeOfDaySerializer() |
Function<UUID,String> |
getUUIDSerializer() |
public String getProtocolVersion()
ODataProtocol
getProtocolVersion
in interface ODataProtocol
public String[] getPathToResultSet()
ODataResponseDescriptor
getPathToResultSet
in interface ODataResponseDescriptor
public String[] getPathToResultSingle()
ODataResponseDescriptor
getPathToResultSingle
in interface ODataResponseDescriptor
public String[] getPathToResultPrimitive()
ODataResponseDescriptor
getPathToResultPrimitive
in interface ODataResponseDescriptor
public Function<Number,String> getNumberSerializer()
getNumberSerializer
in interface ODataLiteralSerializer
public Function<UUID,String> getUUIDSerializer()
getUUIDSerializer
in interface ODataLiteralSerializer
public Function<OffsetDateTime,String> getDateTimeOffsetSerializer()
getDateTimeOffsetSerializer
in interface ODataLiteralSerializer
public Function<LocalTime,String> getTimeOfDaySerializer()
getTimeOfDaySerializer
in interface ODataLiteralSerializer
public Function<LocalDateTime,String> getDateTimeSerializer()
getDateTimeSerializer
in interface ODataLiteralSerializer
Copyright © 2020 SAP SE. All rights reserved.