org.atmosphere.gwt20.jersey
Class GwtRpcReader

java.lang.Object
  extended by 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

Constructor Summary
GwtRpcReader()
           
 
Method Summary
 boolean isReadable(Class<?> type, Type type1, Annotation[] antns, javax.ws.rs.core.MediaType mt)
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GwtRpcReader

public GwtRpcReader()
Method Detail

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 © 2014. All Rights Reserved.