public class JaxRsHttpRequest extends Object implements ca.uhn.fhir.rest.client.api.IHttpRequest
Invocation| Constructor and Description |
|---|
JaxRsHttpRequest(javax.ws.rs.client.Invocation.Builder theRequest,
ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType,
javax.ws.rs.client.Entity<?> theEntity) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String theName,
String theValue) |
ca.uhn.fhir.rest.client.api.IHttpResponse |
execute() |
Map<String,List<String>> |
getAllHeaders() |
javax.ws.rs.client.Entity<?> |
getEntity()
Get the Entity
|
String |
getHttpVerbName() |
javax.ws.rs.client.Invocation.Builder |
getRequest()
Get the Request
|
String |
getRequestBodyFromStream() |
ca.uhn.fhir.rest.api.RequestTypeEnum |
getRequestType()
Get the Request Type
|
String |
getUri() |
void |
removeHeaders(String theHeaderName) |
public JaxRsHttpRequest(javax.ws.rs.client.Invocation.Builder theRequest, ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType, javax.ws.rs.client.Entity<?> theEntity)
public void addHeader(String theName, String theValue)
addHeader in interface ca.uhn.fhir.rest.client.api.IHttpRequestpublic ca.uhn.fhir.rest.client.api.IHttpResponse execute()
execute in interface ca.uhn.fhir.rest.client.api.IHttpRequestpublic Map<String,List<String>> getAllHeaders()
getAllHeaders in interface ca.uhn.fhir.rest.client.api.IHttpRequestpublic javax.ws.rs.client.Entity<?> getEntity()
public String getHttpVerbName()
getHttpVerbName in interface ca.uhn.fhir.rest.client.api.IHttpRequestpublic void removeHeaders(String theHeaderName)
removeHeaders in interface ca.uhn.fhir.rest.client.api.IHttpRequestpublic javax.ws.rs.client.Invocation.Builder getRequest()
public String getRequestBodyFromStream()
getRequestBodyFromStream in interface ca.uhn.fhir.rest.client.api.IHttpRequestpublic ca.uhn.fhir.rest.api.RequestTypeEnum getRequestType()
Copyright © 2014–2019 University Health Network. All rights reserved.