
Package ca.uhn.fhir.jaxrs.client
Class JaxRsHttpRequest
java.lang.Object
ca.uhn.fhir.rest.client.api.BaseHttpRequest
ca.uhn.fhir.jaxrs.client.JaxRsHttpRequest
- All Implemented Interfaces:
ca.uhn.fhir.rest.client.api.IHttpRequest
public class JaxRsHttpRequest
extends ca.uhn.fhir.rest.client.api.BaseHttpRequest
implements ca.uhn.fhir.rest.client.api.IHttpRequest
A Http Request based on JaxRs. This is an adapter around the class
Invocation- Author:
- Peter Van Houte | peter.vanhoute@agfa.com | Agfa Healthcare
-
Constructor Summary
ConstructorsConstructorDescriptionJaxRsHttpRequest(jakarta.ws.rs.client.Invocation.Builder theRequest, ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType, jakarta.ws.rs.client.Entity<?> theEntity) -
Method Summary
Modifier and TypeMethodDescriptionvoidca.uhn.fhir.rest.client.api.IHttpResponseexecute()jakarta.ws.rs.client.Entity<?> Get the Entityjakarta.ws.rs.client.Invocation.BuilderGet the Requestca.uhn.fhir.rest.api.RequestTypeEnumGet the Request TypegetUri()voidremoveHeaders(String theHeaderName) voidMethods inherited from class ca.uhn.fhir.rest.client.api.BaseHttpRequest
getUrlSource, setUrlSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.rest.client.api.IHttpRequest
getUrlSource, setUrlSource
-
Constructor Details
-
JaxRsHttpRequest
public JaxRsHttpRequest(jakarta.ws.rs.client.Invocation.Builder theRequest, ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType, jakarta.ws.rs.client.Entity<?> theEntity)
-
-
Method Details
-
addHeader
- Specified by:
addHeaderin interfaceca.uhn.fhir.rest.client.api.IHttpRequest
-
execute
- Specified by:
executein interfaceca.uhn.fhir.rest.client.api.IHttpRequest
-
getAllHeaders
- Specified by:
getAllHeadersin interfaceca.uhn.fhir.rest.client.api.IHttpRequest
-
getEntity
Get the Entity- Returns:
- the entity
-
getHttpVerbName
- Specified by:
getHttpVerbNamein interfaceca.uhn.fhir.rest.client.api.IHttpRequest
-
removeHeaders
- Specified by:
removeHeadersin interfaceca.uhn.fhir.rest.client.api.IHttpRequest
-
getRequest
Get the Request- Returns:
- the Request
-
getRequestBodyFromStream
- Specified by:
getRequestBodyFromStreamin interfaceca.uhn.fhir.rest.client.api.IHttpRequest
-
getRequestType
Get the Request Type- Returns:
- the request type
-
getUri
- Specified by:
getUriin interfaceca.uhn.fhir.rest.client.api.IHttpRequest
-
setUri
- Specified by:
setUriin interfaceca.uhn.fhir.rest.client.api.IHttpRequest
-