org.atmosphere.gwt20.jersey
Class GwtRpcReader
java.lang.Object
org.atmosphere.gwt20.jersey.GwtRpcReader
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<Object>
@Provider
public class GwtRpcReader
- extends Object
- implements javax.ws.rs.ext.MessageBodyReader<Object>
- Author:
- p.havelaar
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GwtRpcReader
public GwtRpcReader()
isReadable
public boolean isReadable(Class<?> type,
Type type1,
Annotation[] antns,
javax.ws.rs.core.MediaType mt)
- Specified by:
isReadable in interface javax.ws.rs.ext.MessageBodyReader<Object>
readFrom
public Object readFrom(Class<Object> type,
Type type1,
Annotation[] antns,
javax.ws.rs.core.MediaType mt,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream in)
throws IOException,
javax.ws.rs.WebApplicationException
- Specified by:
readFrom in interface javax.ws.rs.ext.MessageBodyReader<Object>
- Throws:
IOException
javax.ws.rs.WebApplicationException
Copyright © 2015. All Rights Reserved.