Package com.ibm.fhir.bucket.client
Class FhirServerResponse
- java.lang.Object
-
- com.ibm.fhir.bucket.client.FhirServerResponse
-
public class FhirServerResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description FhirServerResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocationHeader()
String
getOperationalOutcomeText()
Resource
getResource()
int
getResponseTime()
int
getStatusCode()
String
getStatusMessage()
void
setLocationHeader(String locationHeader)
void
setOperationalOutcomeText(String operationalOutcomeText)
void
setResource(Resource resource)
void
setResponseTime(int responseTime)
void
setStatusCode(int statusCode)
void
setStatusMessage(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 String getStatusMessage()
- Returns:
- the statusMessage
-
setStatusMessage
public void setStatusMessage(String statusMessage)
- Parameters:
statusMessage
- the statusMessage to set
-
getLocationHeader
public String getLocationHeader()
- Returns:
- the locationHeader
-
setLocationHeader
public void setLocationHeader(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 String getOperationalOutcomeText()
- Returns:
- the operationalOutcomeText
-
setOperationalOutcomeText
public void setOperationalOutcomeText(String operationalOutcomeText)
- Parameters:
operationalOutcomeText
- the operationalOutcomeText to set
-
-