org.eclipse.ecf.remoteservice.rest.synd
Class SyndFeedResponseDeserializer

java.lang.Object
  extended by org.eclipse.ecf.remoteservice.rest.synd.SyndFeedResponseDeserializer
All Implemented Interfaces:
IRemoteResponseDeserializer

public class SyndFeedResponseDeserializer
extends java.lang.Object
implements IRemoteResponseDeserializer


Constructor Summary
SyndFeedResponseDeserializer()
           
 
Method Summary
 java.lang.Object deserializeResponse(java.lang.String endpoint, IRemoteCall call, IRemoteCallable callable, java.util.Map responseHeaders, java.lang.String responseBody)
          Deserialize remote response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyndFeedResponseDeserializer

public SyndFeedResponseDeserializer()
Method Detail

deserializeResponse

public java.lang.Object deserializeResponse(java.lang.String endpoint,
                                            IRemoteCall call,
                                            IRemoteCallable callable,
                                            java.util.Map responseHeaders,
                                            java.lang.String responseBody)
                                     throws java.io.NotSerializableException
Description copied from interface: IRemoteResponseDeserializer
Deserialize remote response.

Specified by:
deserializeResponse in interface IRemoteResponseDeserializer
Parameters:
endpoint - 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:
java.io.NotSerializableException - thrown if the responseBody cannot be deserialized.