Interface RequestSerializer<RequestT extends Request<RequestT,RequestResultT>,RequestResultT extends RequestResult<RequestT,RequestResultT>>
- Type Parameters:
RequestT
- The generic request type.RequestResultT
- The generic request result type.
- All Known Implementing Classes:
AbstractRequestSerializer
,SoapRemoteFunctionRequestSerializer
@Deprecated
public interface RequestSerializer<RequestT extends Request<RequestT,RequestResultT>,RequestResultT extends RequestResult<RequestT,RequestResultT>>
Deprecated.
This module will be discontinued, along with its classes and methods.
Common interface for serialization of queries and deserialization of request results.
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(SerializedRequestResult<RequestT> requestResult) Deprecated.Deserialize a request result.Deprecated.Serialize a request.
-
Method Details
-
serialize
@Nonnull SerializedRequest<RequestT> serialize(@Nonnull RequestT request) throws RequestSerializationException Deprecated.Serialize a request.- Parameters:
request
- The request to serialize.- Returns:
- The serialized request.
- Throws:
RequestSerializationException
- If there is an issue while serializing the request.
-
deserialize
@Nonnull RequestResultT deserialize(@Nonnull SerializedRequestResult<RequestT> requestResult) throws RequestSerializationException Deprecated.Deserialize a request result.- Parameters:
requestResult
- The query result to deserialize.- Returns:
- The deserialized result object.
- Throws:
RequestSerializationException
- If there is an issue while deserializing the request.
-