org.apache.cxf.jaxrs.client
Class ResponseReader
java.lang.Object
org.apache.cxf.jaxrs.client.ResponseReader
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<javax.ws.rs.core.Response>
public class ResponseReader
- extends Object
- implements javax.ws.rs.ext.MessageBodyReader<javax.ws.rs.core.Response>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseReader
public ResponseReader()
ResponseReader
public ResponseReader(Class<?> entityCls)
isReadable
public boolean isReadable(Class<?> cls,
Type genericType,
Annotation[] anns,
javax.ws.rs.core.MediaType mt)
- Specified by:
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<javax.ws.rs.core.Response>
readFrom
public javax.ws.rs.core.Response readFrom(Class<javax.ws.rs.core.Response> cls,
Type genericType,
Annotation[] anns,
javax.ws.rs.core.MediaType mt,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream is)
throws IOException,
javax.ws.rs.WebApplicationException
- Specified by:
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<javax.ws.rs.core.Response>
- Throws:
IOException
javax.ws.rs.WebApplicationException
setEntityClass
public void setEntityClass(Class<?> cls)
getContext
protected MessageContext getContext()
Apache CXF