Package org.apache.cxf.jaxrs.client.spec
Class ClientResponseContextImpl
- java.lang.Object
-
- org.apache.cxf.jaxrs.impl.AbstractResponseContextImpl
-
- 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
Constructors Constructor Description ClientResponseContextImpl(ResponseImpl r, Message m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetEntityStream()javax.ws.rs.core.MultivaluedMap<String,String>getHeaders()booleanhasEntity()voidsetEntityStream(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:
getEntityStreamin interfacejavax.ws.rs.client.ClientResponseContext
-
getHeaders
public javax.ws.rs.core.MultivaluedMap<String,String> getHeaders()
- Specified by:
getHeadersin interfacejavax.ws.rs.client.ClientResponseContext
-
setEntityStream
public void setEntityStream(InputStream is)
- Specified by:
setEntityStreamin interfacejavax.ws.rs.client.ClientResponseContext
-
hasEntity
public boolean hasEntity()
- Specified by:
hasEntityin interfacejavax.ws.rs.client.ClientResponseContext- Overrides:
hasEntityin classAbstractResponseContextImpl
-
-