Package com.ibm.fhir.bucket.client
Class PostResource
- java.lang.Object
-
- com.ibm.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 FhirServerResponserun(FHIRBucketClient client)Run the request using the givenFHIRBucketClientand return the type T.
-
-
-
Constructor Detail
-
PostResource
public PostResource(Resource resource)
-
-
Method Detail
-
run
public FhirServerResponse run(FHIRBucketClient client)
Description copied from interface:FhirServerRequestRun the request using the givenFHIRBucketClientand return the type T.- Specified by:
runin interfaceFhirServerRequest<FhirServerResponse>- Parameters:
client- used to make the request- Returns:
- response transformed to type T
-
-