Class FHIRRestOperationResponse
- java.lang.Object
-
- com.ibm.fhir.server.operation.spi.FHIRRestOperationResponse
-
public class FHIRRestOperationResponse extends Object
This class is used to represent a response returned by the FHIR resource helper methods.
-
-
Constructor Summary
Constructors Constructor Description FHIRRestOperationResponse()
FHIRRestOperationResponse(javax.ws.rs.core.Response.Status status, URI locationURI, OperationOutcome operationOutcome)
FHIRRestOperationResponse(javax.ws.rs.core.Response.Status status, URI locationURI, Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
getLocationURI()
OperationOutcome
getOperationOutcome()
Resource
getPrevResource()
Resource
getResource()
javax.ws.rs.core.Response.Status
getStatus()
void
setLocationURI(URI locationURI)
void
setOperationOutcome(OperationOutcome operationOutcome)
void
setPrevResource(Resource prevResource)
void
setResource(Resource resource)
void
setStatus(javax.ws.rs.core.Response.Status status)
-
-
-
Constructor Detail
-
FHIRRestOperationResponse
public FHIRRestOperationResponse()
-
FHIRRestOperationResponse
public FHIRRestOperationResponse(javax.ws.rs.core.Response.Status status, URI locationURI, Resource resource)
-
FHIRRestOperationResponse
public FHIRRestOperationResponse(javax.ws.rs.core.Response.Status status, URI locationURI, OperationOutcome operationOutcome)
-
-
Method Detail
-
getStatus
public javax.ws.rs.core.Response.Status getStatus()
-
setStatus
public void setStatus(javax.ws.rs.core.Response.Status status)
-
getLocationURI
public URI getLocationURI()
-
setLocationURI
public void setLocationURI(URI locationURI)
-
getResource
public Resource getResource()
-
setResource
public void setResource(Resource resource)
-
getPrevResource
public Resource getPrevResource()
-
setPrevResource
public void setPrevResource(Resource prevResource)
-
getOperationOutcome
public OperationOutcome getOperationOutcome()
-
setOperationOutcome
public void setOperationOutcome(OperationOutcome operationOutcome)
-
-