Package com.ibm.fhir.bucket.client
Class FhirServerResponse
- java.lang.Object
-
- com.ibm.fhir.bucket.client.FhirServerResponse
-
public class FhirServerResponse extends java.lang.Object
The response from aFHIRBucketClient
call
-
-
Constructor Summary
Constructors Constructor Description FhirServerResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLocationHeader()
java.lang.String
getOperationalOutcomeText()
Resource
getResource()
java.lang.String
getResourceData()
int
getResponseTime()
int
getStatusCode()
java.lang.String
getStatusMessage()
void
setLocationHeader(java.lang.String locationHeader)
void
setOperationalOutcomeText(java.lang.String operationalOutcomeText)
void
setResource(Resource resource)
void
setResourceData(java.lang.String resourceData)
void
setResponseTime(int responseTime)
void
setStatusCode(int statusCode)
void
setStatusMessage(java.lang.String statusMessage)
-
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
- Returns:
- the statusCode
-
setStatusCode
public void setStatusCode(int statusCode)
- Parameters:
statusCode
- the statusCode to set
-
getStatusMessage
public java.lang.String getStatusMessage()
- Returns:
- the statusMessage
-
setStatusMessage
public void setStatusMessage(java.lang.String statusMessage)
- Parameters:
statusMessage
- the statusMessage to set
-
getLocationHeader
public java.lang.String getLocationHeader()
- Returns:
- the locationHeader
-
setLocationHeader
public void setLocationHeader(java.lang.String locationHeader)
- Parameters:
locationHeader
- the locationHeader to set
-
getResource
public Resource getResource()
- Returns:
- the resource
-
setResource
public void setResource(Resource resource)
- Parameters:
resource
- the resource to set
-
getResponseTime
public int getResponseTime()
- Returns:
- the responseTime
-
setResponseTime
public void setResponseTime(int responseTime)
- Parameters:
responseTime
- the responseTime to set
-
getOperationalOutcomeText
public java.lang.String getOperationalOutcomeText()
- Returns:
- the operationalOutcomeText
-
setOperationalOutcomeText
public void setOperationalOutcomeText(java.lang.String operationalOutcomeText)
- Parameters:
operationalOutcomeText
- the operationalOutcomeText to set
-
getResourceData
public java.lang.String getResourceData()
- Returns:
- the resourceData
-
setResourceData
public void setResourceData(java.lang.String resourceData)
- Parameters:
resourceData
- the resourceData to set
-
-