RequestT
- The generic request type.RequestResultT
- The generic request result type.public interface RequestSerializer<RequestT extends Request<RequestT,RequestResultT>,RequestResultT extends RequestResult<RequestT,RequestResultT>>
Modifier and Type | Method and Description |
---|---|
RequestResultT |
deserialize(SerializedRequestResult<RequestT> requestResult)
Deserialize a request result.
|
SerializedRequest<RequestT> |
serialize(RequestT request)
Serialize a request.
|
@Nonnull SerializedRequest<RequestT> serialize(@Nonnull RequestT request) throws RequestSerializationException
request
- The request to serialize.RequestSerializationException
- If there is an issue while serializing the request.@Nonnull RequestResultT deserialize(@Nonnull SerializedRequestResult<RequestT> requestResult) throws RequestSerializationException
requestResult
- The query result to deserialize.RequestSerializationException
- If there is an issue while deserializing the request.Copyright © 2021 SAP SE. All rights reserved.