public class ClientRequestContextImpl extends AbstractRequestContextImpl implements javax.ws.rs.client.ClientRequestContext
h
m
Constructor and Description |
---|
ClientRequestContextImpl(Message m,
boolean responseContext) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.client.Client |
getClient() |
javax.ws.rs.core.Configuration |
getConfiguration() |
Object |
getEntity() |
Annotation[] |
getEntityAnnotations() |
Class<?> |
getEntityClass() |
OutputStream |
getEntityStream() |
Type |
getEntityType() |
javax.ws.rs.core.MultivaluedMap<String,Object> |
getHeaders() |
javax.ws.rs.core.MediaType |
getMediaType() |
javax.ws.rs.core.MultivaluedMap<String,String> |
getStringHeaders() |
URI |
getUri() |
boolean |
hasEntity() |
void |
setEntity(Object entity) |
void |
setEntity(Object entity,
Annotation[] anns,
javax.ws.rs.core.MediaType mt) |
void |
setEntityStream(OutputStream os) |
void |
setUri(URI requestURI) |
abortWith, checkContext, getAcceptableLanguages, getAcceptableMediaTypes, getCookies, getDate, getHeaderString, getHttpHeaders, getLanguage, getLength, getMethod, setMethod
getMessage, getProperty, getPropertyNames, removeProperty, setProperty
public ClientRequestContextImpl(Message m, boolean responseContext)
public javax.ws.rs.core.MediaType getMediaType()
getMediaType
in interface javax.ws.rs.client.ClientRequestContext
getMediaType
in class AbstractRequestContextImpl
public javax.ws.rs.client.Client getClient()
getClient
in interface javax.ws.rs.client.ClientRequestContext
public javax.ws.rs.core.Configuration getConfiguration()
getConfiguration
in interface javax.ws.rs.client.ClientRequestContext
public Object getEntity()
getEntity
in interface javax.ws.rs.client.ClientRequestContext
public Annotation[] getEntityAnnotations()
getEntityAnnotations
in interface javax.ws.rs.client.ClientRequestContext
public Class<?> getEntityClass()
getEntityClass
in interface javax.ws.rs.client.ClientRequestContext
public Type getEntityType()
getEntityType
in interface javax.ws.rs.client.ClientRequestContext
public OutputStream getEntityStream()
getEntityStream
in interface javax.ws.rs.client.ClientRequestContext
public boolean hasEntity()
hasEntity
in interface javax.ws.rs.client.ClientRequestContext
public void setEntity(Object entity, Annotation[] anns, javax.ws.rs.core.MediaType mt)
setEntity
in interface javax.ws.rs.client.ClientRequestContext
public void setEntity(Object entity)
setEntity
in interface javax.ws.rs.client.ClientRequestContext
public URI getUri()
getUri
in interface javax.ws.rs.client.ClientRequestContext
public void setEntityStream(OutputStream os)
setEntityStream
in interface javax.ws.rs.client.ClientRequestContext
public void setUri(URI requestURI)
setUri
in interface javax.ws.rs.client.ClientRequestContext
public javax.ws.rs.core.MultivaluedMap<String,Object> getHeaders()
getHeaders
in interface javax.ws.rs.client.ClientRequestContext
Apache CXF