org.nuxeo.ecm.platform.publisher.remoting.restHandler
Class RemotePubMessageWriter
java.lang.Object
org.nuxeo.ecm.platform.publisher.remoting.restHandler.RemotePubMessageWriter
- All Implemented Interfaces:
- MessageBodyWriter<RemotePubResult>
@Provider
public class RemotePubMessageWriter
- extends Object
- implements MessageBodyWriter<RemotePubResult>
Method Summary |
long |
getSize(RemotePubResult arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4)
|
boolean |
isWriteable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
MediaType arg3)
|
void |
writeTo(RemotePubResult result,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4,
MultivaluedMap<String,Object> arg5,
OutputStream stream)
|
RemotePubMessageWriter
public RemotePubMessageWriter()
getSize
public long getSize(RemotePubResult arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4)
- Specified by:
getSize
in interface MessageBodyWriter<RemotePubResult>
isWriteable
public boolean isWriteable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
MediaType arg3)
- Specified by:
isWriteable
in interface MessageBodyWriter<RemotePubResult>
writeTo
public void writeTo(RemotePubResult result,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4,
MultivaluedMap<String,Object> arg5,
OutputStream stream)
throws IOException,
WebApplicationException
- Specified by:
writeTo
in interface MessageBodyWriter<RemotePubResult>
- Throws:
IOException
WebApplicationException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.