public static class JaxRsRequest.Builder extends Object
| Constructor and Description |
|---|
Builder(AbstractJaxRsProvider theServer,
RequestTypeEnum theRequestType,
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, RequestTypeEnum theRequestType, RestOperationTypeEnum theRestOperation, String theRequestUrl, String theResourceName)
theServer - the servertheRequestType - the request typetheRestOperation - the rest operationtheRequestUrl - public JaxRsRequest.Builder resource(String resource)
resource - the body contents of an http methodpublic JaxRsRequest.Builder id(String id)
id - the resource idpublic JaxRsRequest.Builder version(String version)
version - the version of the resourcepublic JaxRsRequest.Builder compartment(String compartment)
compartment - the compartmentpublic JaxRsRequest build()
Copyright © 2014–2016 University Health Network. All rights reserved.