Apache CXF API

org.apache.cxf.jaxrs.client.spec
Class ClientResponseContextImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.AbstractResponseContextImpl
      extended by org.apache.cxf.jaxrs.client.spec.ClientResponseContextImpl
All Implemented Interfaces:
javax.ws.rs.client.ClientResponseContext

public class ClientResponseContextImpl
extends AbstractResponseContextImpl
implements javax.ws.rs.client.ClientResponseContext


Field Summary
 
Fields inherited from class org.apache.cxf.jaxrs.impl.AbstractResponseContextImpl
m, r
 
Constructor Summary
ClientResponseContextImpl(ResponseImpl r, Message m)
           
 
Method Summary
 InputStream getEntityStream()
           
 javax.ws.rs.core.MultivaluedMap<String,String> getHeaders()
           
 boolean hasEntity()
           
 void setEntityStream(InputStream is)
           
 
Methods inherited from class org.apache.cxf.jaxrs.impl.AbstractResponseContextImpl
getAllowedMethods, getCookies, getDate, getEntity, getEntityTag, getHeaderString, getLanguage, getLastModified, getLength, getLink, getLinkBuilder, getLinks, getLocation, getMediaType, getResponseEntityAnnotations, getStatus, getStatusInfo, getStringHeaders, hasLink, setEntity, setEntity, setStatus, setStatusInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ws.rs.client.ClientResponseContext
getAllowedMethods, getCookies, getDate, getEntityTag, getHeaderString, getLanguage, getLastModified, getLength, getLink, getLinkBuilder, getLinks, getLocation, getMediaType, getStatus, getStatusInfo, hasLink, setStatus, setStatusInfo
 

Constructor Detail

ClientResponseContextImpl

public ClientResponseContextImpl(ResponseImpl r,
                                 Message m)
Method Detail

getEntityStream

public InputStream getEntityStream()
Specified by:
getEntityStream in interface javax.ws.rs.client.ClientResponseContext

getHeaders

public javax.ws.rs.core.MultivaluedMap<String,String> getHeaders()
Specified by:
getHeaders in interface javax.ws.rs.client.ClientResponseContext

setEntityStream

public void setEntityStream(InputStream is)
Specified by:
setEntityStream in interface javax.ws.rs.client.ClientResponseContext

hasEntity

public boolean hasEntity()
Specified by:
hasEntity in interface javax.ws.rs.client.ClientResponseContext
Overrides:
hasEntity in class AbstractResponseContextImpl

Apache CXF API

Apache CXF