org.nuxeo.ecm.platform.publisher.remoting.restHandler
Class RemotePubMessageReader
java.lang.Object
org.nuxeo.ecm.platform.publisher.remoting.restHandler.RemotePubMessageReader
- All Implemented Interfaces:
- MessageBodyReader<RemotePubParam>
@Provider
public class RemotePubMessageReader
- extends Object
- implements MessageBodyReader<RemotePubParam>
RemotePubMessageReader
public RemotePubMessageReader()
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.