Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.publisher.remoting.restHandler
Class RemotePubMessageReader

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.remoting.restHandler.RemotePubMessageReader
All Implemented Interfaces:
MessageBodyReader<RemotePubParam>

@Provider
public class RemotePubMessageReader
extends Object
implements MessageBodyReader<RemotePubParam>


Constructor Summary
RemotePubMessageReader()
           
 
Method Summary
 boolean isReadable(Class arg0, Type arg1, Annotation[] arg2, MediaType mt)
           
 RemotePubParam readFrom(Class arg0, Type arg1, Annotation[] arg2, MediaType arg3, MultivaluedMap arg4, InputStream is)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemotePubMessageReader

public RemotePubMessageReader()
Method Detail

isReadable

public boolean isReadable(Class arg0,
                          Type arg1,
                          Annotation[] arg2,
                          MediaType mt)
Specified by:
isReadable in interface MessageBodyReader<RemotePubParam>

readFrom

public RemotePubParam readFrom(Class arg0,
                               Type arg1,
                               Annotation[] arg2,
                               MediaType arg3,
                               MultivaluedMap arg4,
                               InputStream is)
                        throws IOException,
                               WebApplicationException
Specified by:
readFrom in interface MessageBodyReader<RemotePubParam>
Throws:
IOException
WebApplicationException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.