@Provider
public class GwtRpcWriter
extends java.lang.Object
implements javax.ws.rs.ext.MessageBodyWriter<java.lang.Object>
| Constructor and Description |
|---|
GwtRpcWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(java.lang.Object t,
java.lang.Class<?> type,
java.lang.reflect.Type type1,
java.lang.annotation.Annotation[] antns,
javax.ws.rs.core.MediaType mt) |
boolean |
isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type type1,
java.lang.annotation.Annotation[] antns,
javax.ws.rs.core.MediaType mt) |
void |
writeTo(java.lang.Object t,
java.lang.Class<?> type,
java.lang.reflect.Type type1,
java.lang.annotation.Annotation[] antns,
javax.ws.rs.core.MediaType mt,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> headers,
java.io.OutputStream out) |
public boolean isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type type1,
java.lang.annotation.Annotation[] antns,
javax.ws.rs.core.MediaType mt)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<java.lang.Object>public long getSize(java.lang.Object t,
java.lang.Class<?> type,
java.lang.reflect.Type type1,
java.lang.annotation.Annotation[] antns,
javax.ws.rs.core.MediaType mt)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<java.lang.Object>public void writeTo(java.lang.Object t,
java.lang.Class<?> type,
java.lang.reflect.Type type1,
java.lang.annotation.Annotation[] antns,
javax.ws.rs.core.MediaType mt,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> headers,
java.io.OutputStream out)
throws java.io.IOException,
javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<java.lang.Object>java.io.IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2019. All Rights Reserved.