public static class JaxRsRequest.Builder extends Object
| Constructor and Description |
|---|
Builder(AbstractJaxRsProvider theServer,
ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType,
ca.uhn.fhir.rest.api.RestOperationTypeEnum theRestOperation,
String theRequestUrl,
String theResourceName)
Utility Constructor
|
| Modifier and Type | Method and Description |
|---|---|
JaxRsRequest |
build()
Create the jax-rs request
|
JaxRsRequest.Builder |
compartment(String compartment)
Set the compartment
|
JaxRsRequest.Builder |
id(String id)
Set the id
|
JaxRsRequest.Builder |
resource(String resource)
Set the resource
|
JaxRsRequest.Builder |
version(String version)
Set the id version
|
public Builder(AbstractJaxRsProvider theServer, ca.uhn.fhir.rest.api.RequestTypeEnum theRequestType, ca.uhn.fhir.rest.api.RestOperationTypeEnum theRestOperation, String theRequestUrl, String theResourceName)
theServer - the servertheRequestType - the request typetheRestOperation - the rest operationtheRequestUrl - public JaxRsRequest build()
public JaxRsRequest.Builder compartment(String compartment)
compartment - the compartmentpublic JaxRsRequest.Builder id(String id)
id - the resource idpublic JaxRsRequest.Builder resource(String resource)
resource - the body contents of an http methodpublic JaxRsRequest.Builder version(String version)
version - the version of the resourceCopyright © 2014–2019 University Health Network. All rights reserved.