@Provider public class RemotePubMessageWriter extends Object implements MessageBodyWriter<RemotePubResult>
Constructor and Description |
---|
RemotePubMessageWriter() |
Modifier and Type | Method and Description |
---|---|
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) |
public long getSize(RemotePubResult arg0, Class<?> arg1, Type arg2, Annotation[] arg3, MediaType arg4)
getSize
in interface MessageBodyWriter<RemotePubResult>
public boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, MediaType arg3)
isWriteable
in interface MessageBodyWriter<RemotePubResult>
public void writeTo(RemotePubResult result, Class<?> arg1, Type arg2, Annotation[] arg3, MediaType arg4, MultivaluedMap<String,Object> arg5, OutputStream stream) throws IOException, WebApplicationException
writeTo
in interface MessageBodyWriter<RemotePubResult>
IOException
WebApplicationException
Copyright © 2011 Nuxeo SA. All Rights Reserved.