Class RequestOptions
- java.lang.Object
-
- org.linuxforhealth.fhir.bucket.client.RequestOptions
-
public class RequestOptions extends java.lang.Object
Additional request options to modify the FHIR request
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequestOptions.Builder
Builder inner class for fluent construction of RequestOptions
-
Constructor Summary
Constructors Modifier Constructor Description protected
RequestOptions(java.util.Map<java.lang.String,java.lang.String> headers, boolean parseResource)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestOptions.Builder
builder()
Factory method to instantiate aRequestOptions.Builder
for this classjava.util.Map<java.lang.String,java.lang.String>
getHeaders()
Gets an immutable Map of header valuesboolean
isParseResource()
Getter for the parseResource value
-
-
-
Method Detail
-
builder
public static RequestOptions.Builder builder()
Factory method to instantiate aRequestOptions.Builder
for this class- Returns:
-
isParseResource
public boolean isParseResource()
Getter for the parseResource value- Returns:
-
getHeaders
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
Gets an immutable Map of header values- Returns:
-
-