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
RequestSerializationException
@Nonnull RequestResultT deserialize(@Nonnull SerializedRequestResult<RequestT> requestResult) throws RequestSerializationException
RequestSerializationException
Copyright © 2019 SAP SE. All rights reserved.