public class ClientRequestContextImpl extends Object implements javax.ws.rs.client.ClientRequestContext
Modifier and Type | Field and Description |
---|---|
protected javax.ws.rs.core.Response |
abortedWithResponse |
protected ClientInvocation |
invocation |
Constructor and Description |
---|
ClientRequestContextImpl(ClientInvocation invocation) |
protected ClientInvocation invocation
protected javax.ws.rs.core.Response abortedWithResponse
public ClientRequestContextImpl(ClientInvocation invocation)
public javax.ws.rs.core.Response getAbortedWithResponse()
public Object getProperty(String name)
getProperty
in interface javax.ws.rs.client.ClientRequestContext
public Collection<String> getPropertyNames()
getPropertyNames
in interface javax.ws.rs.client.ClientRequestContext
public void setProperty(String name, Object object)
setProperty
in interface javax.ws.rs.client.ClientRequestContext
public void removeProperty(String name)
removeProperty
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 void setEntity(Object entity)
setEntity
in interface javax.ws.rs.client.ClientRequestContext
public void setEntity(Object entity, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
setEntity
in interface javax.ws.rs.client.ClientRequestContext
public URI getUri()
getUri
in interface javax.ws.rs.client.ClientRequestContext
public void setUri(URI uri)
setUri
in interface javax.ws.rs.client.ClientRequestContext
public String getMethod()
getMethod
in interface javax.ws.rs.client.ClientRequestContext
public void setMethod(String method)
setMethod
in interface javax.ws.rs.client.ClientRequestContext
public javax.ws.rs.core.MultivaluedMap<String,Object> getHeaders()
getHeaders
in interface javax.ws.rs.client.ClientRequestContext
public Date getDate()
getDate
in interface javax.ws.rs.client.ClientRequestContext
public Locale getLanguage()
getLanguage
in interface javax.ws.rs.client.ClientRequestContext
public javax.ws.rs.core.MediaType getMediaType()
getMediaType
in interface javax.ws.rs.client.ClientRequestContext
public List<javax.ws.rs.core.MediaType> getAcceptableMediaTypes()
getAcceptableMediaTypes
in interface javax.ws.rs.client.ClientRequestContext
public List<Locale> getAcceptableLanguages()
getAcceptableLanguages
in interface javax.ws.rs.client.ClientRequestContext
public Map<String,javax.ws.rs.core.Cookie> getCookies()
getCookies
in interface javax.ws.rs.client.ClientRequestContext
public boolean hasEntity()
hasEntity
in interface javax.ws.rs.client.ClientRequestContext
public OutputStream getEntityStream()
getEntityStream
in interface javax.ws.rs.client.ClientRequestContext
public void setEntityStream(OutputStream entityStream)
setEntityStream
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 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 void abortWith(javax.ws.rs.core.Response response)
abortWith
in interface javax.ws.rs.client.ClientRequestContext
public javax.ws.rs.core.MultivaluedMap<String,String> getStringHeaders()
getStringHeaders
in interface javax.ws.rs.client.ClientRequestContext
Copyright © 2018 JBoss by Red Hat. All rights reserved.