Class PostResource
- java.lang.Object
-
- org.linuxforhealth.fhir.bucket.client.PostResource
-
- All Implemented Interfaces:
FhirServerRequest<FhirServerResponse>
public class PostResource extends java.lang.Object implements FhirServerRequest<FhirServerResponse>
Create the resource by POSTing to the FHIR server
-
-
Constructor Summary
Constructors Constructor Description PostResource(Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FhirServerResponse
run(FHIRBucketClient client)
Run the request using the givenFHIRBucketClient
and return the type T.
-
-
-
Constructor Detail
-
PostResource
public PostResource(Resource resource)
-
-
Method Detail
-
run
public FhirServerResponse run(FHIRBucketClient client)
Description copied from interface:FhirServerRequest
Run the request using the givenFHIRBucketClient
and return the type T.- Specified by:
run
in interfaceFhirServerRequest<FhirServerResponse>
- Parameters:
client
- used to make the request- Returns:
- response transformed to type T
-
-