Class XMLRemoteResponseDeserializer

    • Constructor Detail

      • XMLRemoteResponseDeserializer

        public XMLRemoteResponseDeserializer()
    • Method Detail

      • deserializeResponse

        public Object deserializeResponse​(String uri,
                                          IRemoteCall call,
                                          IRemoteCallable callable,
                                          Map responseHeaders,
                                          byte[] responseBody)
                                   throws NotSerializableException
        Description copied from interface: IRemoteResponseDeserializer
        Deserialize remote response.
        Specified by:
        deserializeResponse in interface IRemoteResponseDeserializer
        Parameters:
        uri - the endpoint. Should not be null.
        call - the call associated with the parameter to serialize. Will not be null.
        callable - the callable associated with the parameter to serialize. Will not be null.
        responseHeaders - response headers associated with the successful remote call. May be null.
        responseBody - the actual response body to deserialize. May be null.
        Returns:
        Object the deserialized response. May be null.
        Throws:
        NotSerializableException - thrown if the responseBody cannot be deserialized.