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 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(FhirClient client)
Run the request using the givenFhirClient
and return the type T.
-
-
-
Constructor Detail
-
PostResource
public PostResource(Resource resource)
-
-
Method Detail
-
run
public FhirServerResponse run(FhirClient client)
Description copied from interface:FhirServerRequest
Run the request using the givenFhirClient
and return the type T.- Specified by:
run
in interfaceFhirServerRequest<FhirServerResponse>
- Parameters:
client
- used to make the request- Returns:
- response transformed to type T
-
-