Class RequestOptions.Builder
- java.lang.Object
-
- org.linuxforhealth.fhir.bucket.client.RequestOptions.Builder
-
- Enclosing class:
- RequestOptions
public static class RequestOptions.Builder extends java.lang.Object
Builder inner class for fluent construction of RequestOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestOptions
build()
Instantiate a RequestOptions instance using the current state of this builderRequestOptions.Builder
header(java.lang.String name, java.lang.String value)
Add a request headerRequestOptions.Builder
parseResource(boolean flag)
Set the parseResource flag
-
-
-
Method Detail
-
header
public RequestOptions.Builder header(java.lang.String name, java.lang.String value)
Add a request header- Parameters:
name
-value
-- Returns:
-
parseResource
public RequestOptions.Builder parseResource(boolean flag)
Set the parseResource flag- Parameters:
flag
-- Returns:
-
build
public RequestOptions build()
Instantiate a RequestOptions instance using the current state of this builder- Returns:
-
-