org.apache.cxf.jaxrs.client.spec
Class ClientRequestContextImpl
java.lang.Object
org.apache.cxf.jaxrs.impl.AbstractPropertiesImpl
org.apache.cxf.jaxrs.impl.AbstractRequestContextImpl
org.apache.cxf.jaxrs.client.spec.ClientRequestContextImpl
- All Implemented Interfaces:
- javax.ws.rs.client.ClientRequestContext
public class ClientRequestContextImpl
- extends AbstractRequestContextImpl
- implements javax.ws.rs.client.ClientRequestContext
Methods inherited from class org.apache.cxf.jaxrs.impl.AbstractRequestContextImpl |
abortWith, checkContext, getAcceptableLanguages, getAcceptableMediaTypes, getCookies, getDate, getHeaderString, getHttpHeaders, getLanguage, getLength, getMediaType, getMethod, setMethod |
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.ClientRequestContext |
abortWith, getAcceptableLanguages, getAcceptableMediaTypes, getCookies, getDate, getHeaderString, getLanguage, getMediaType, getMethod, getProperty, getPropertyNames, removeProperty, setMethod, setProperty |
ClientRequestContextImpl
public ClientRequestContextImpl(Message m,
boolean responseContext)
getClient
public javax.ws.rs.client.Client getClient()
- Specified by:
getClient
in interface javax.ws.rs.client.ClientRequestContext
getConfiguration
public javax.ws.rs.client.Configuration getConfiguration()
- Specified by:
getConfiguration
in interface javax.ws.rs.client.ClientRequestContext
getEntity
public Object getEntity()
- Specified by:
getEntity
in interface javax.ws.rs.client.ClientRequestContext
getEntityAnnotations
public Annotation[] getEntityAnnotations()
- Specified by:
getEntityAnnotations
in interface javax.ws.rs.client.ClientRequestContext
getEntityClass
public Class<?> getEntityClass()
- Specified by:
getEntityClass
in interface javax.ws.rs.client.ClientRequestContext
getEntityType
public Type getEntityType()
- Specified by:
getEntityType
in interface javax.ws.rs.client.ClientRequestContext
getEntityStream
public OutputStream getEntityStream()
- Specified by:
getEntityStream
in interface javax.ws.rs.client.ClientRequestContext
hasEntity
public boolean hasEntity()
- Specified by:
hasEntity
in interface javax.ws.rs.client.ClientRequestContext
setEntity
public void setEntity(Object entity,
Annotation[] anns,
javax.ws.rs.core.MediaType mt)
- Specified by:
setEntity
in interface javax.ws.rs.client.ClientRequestContext
getUri
public URI getUri()
- Specified by:
getUri
in interface javax.ws.rs.client.ClientRequestContext
setEntityStream
public void setEntityStream(OutputStream os)
- Specified by:
setEntityStream
in interface javax.ws.rs.client.ClientRequestContext
setUri
public void setUri(URI requestURI)
- Specified by:
setUri
in interface javax.ws.rs.client.ClientRequestContext
getHeaders
public javax.ws.rs.core.MultivaluedMap<String,Object> getHeaders()
- Specified by:
getHeaders
in interface javax.ws.rs.client.ClientRequestContext
getStringHeaders
public javax.ws.rs.core.MultivaluedMap<String,String> getStringHeaders()
- Specified by:
getStringHeaders
in interface javax.ws.rs.client.ClientRequestContext
Apache CXF