Interface IRemoteResponseDeserializer
- All Known Implementing Classes:
XMLRemoteResponseDeserializer
public interface IRemoteResponseDeserializer
Deserializer for processing call response objects.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeResponse
(String endpoint, IRemoteCall call, IRemoteCallable callable, Map responseHeaders, byte[] responseBody) Deserialize remote response.
-
Method Details
-
deserializeResponse
Object deserializeResponse(String endpoint, IRemoteCall call, IRemoteCallable callable, Map responseHeaders, byte[] responseBody) throws NotSerializableException Deserialize remote response.- Parameters:
endpoint
- the endpoint. Should not benull
.call
- the call associated with the parameter to serialize. Will not benull
.callable
- the callable associated with the parameter to serialize. Will not benull
.responseHeaders
- response headers associated with the successful remote call. May benull
.responseBody
- the actual response body to deserialize. May benull
.- Returns:
- Object the deserialized response. May be
null
. - Throws:
NotSerializableException
- thrown if the responseBody cannot be deserialized.- Since:
- 8.0
-