Class ClientRequestContextImpl
java.lang.Object
org.jboss.resteasy.client.jaxrs.internal.ClientRequestContextImpl
- All Implemented Interfaces:
jakarta.ws.rs.client.ClientRequestContext
public class ClientRequestContextImpl
extends Object
implements jakarta.ws.rs.client.ClientRequestContext
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionprotected jakarta.ws.rs.core.Response
protected ClientInvocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
abortWith
(jakarta.ws.rs.core.Response response) boolean
containsHeaderString
(String name, String valueSeparatorRegex, Predicate<String> valuePredicate) boolean
containsHeaderString
(String name, Predicate<String> valuePredicate) jakarta.ws.rs.core.Response
List
<jakarta.ws.rs.core.MediaType> jakarta.ws.rs.client.Client
jakarta.ws.rs.core.Configuration
getDate()
Class
<?> getHeaderString
(String name) exposes the client invocation for easier integration with other librariesjakarta.ws.rs.core.MediaType
getProperty
(String name) getUri()
boolean
void
removeProperty
(String name) void
void
setEntity
(Object entity, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) void
setEntityStream
(OutputStream entityStream) void
void
setProperty
(String name, Object object) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.ws.rs.client.ClientRequestContext
hasProperty
-
Field Details
-
invocation
-
abortedWithResponse
protected jakarta.ws.rs.core.Response abortedWithResponse
-
-
Constructor Details
-
ClientRequestContextImpl
-
-
Method Details
-
getAbortedWithResponse
public jakarta.ws.rs.core.Response getAbortedWithResponse() -
getProperty
-
getPropertyNames
- Specified by:
getPropertyNames
in interfacejakarta.ws.rs.client.ClientRequestContext
-
setProperty
-
removeProperty
- Specified by:
removeProperty
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getEntityClass
- Specified by:
getEntityClass
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getEntityType
- Specified by:
getEntityType
in interfacejakarta.ws.rs.client.ClientRequestContext
-
setEntity
- Specified by:
setEntity
in interfacejakarta.ws.rs.client.ClientRequestContext
-
setEntity
public void setEntity(Object entity, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
setEntity
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getUri
- Specified by:
getUri
in interfacejakarta.ws.rs.client.ClientRequestContext
-
setUri
- Specified by:
setUri
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getMethod
- Specified by:
getMethod
in interfacejakarta.ws.rs.client.ClientRequestContext
-
setMethod
- Specified by:
setMethod
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getHeaders
-
getDate
- Specified by:
getDate
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getLanguage
- Specified by:
getLanguage
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getMediaType
public jakarta.ws.rs.core.MediaType getMediaType()- Specified by:
getMediaType
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getAcceptableMediaTypes
- Specified by:
getAcceptableMediaTypes
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getAcceptableLanguages
-
getCookies
-
hasEntity
public boolean hasEntity()- Specified by:
hasEntity
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getEntityStream
- Specified by:
getEntityStream
in interfacejakarta.ws.rs.client.ClientRequestContext
-
setEntityStream
- Specified by:
setEntityStream
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getEntity
- Specified by:
getEntity
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getEntityAnnotations
- Specified by:
getEntityAnnotations
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getClient
public jakarta.ws.rs.client.Client getClient()- Specified by:
getClient
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getConfiguration
public jakarta.ws.rs.core.Configuration getConfiguration()- Specified by:
getConfiguration
in interfacejakarta.ws.rs.client.ClientRequestContext
-
abortWith
public void abortWith(jakarta.ws.rs.core.Response response) - Specified by:
abortWith
in interfacejakarta.ws.rs.client.ClientRequestContext
-
getStringHeaders
-
getHeaderString
-
containsHeaderString
-
containsHeaderString
-
getInvocation
exposes the client invocation for easier integration with other libraries- Returns:
- the underlying client invocation
-