Package ca.cdr.api.fhirgw.model
Class BaseResponse<T extends BaseResponse<?>>
java.lang.Object
ca.cdr.api.fhirgw.model.BaseResponse<T>
- Direct Known Subclasses:
BaseWriteResponse
,OperationResponse
,ReadResponse
,SearchResponse
,SearchSingleTargetResponse
-
Constructor Summary
ConstructorDescriptionConstructor - Create an empty objectBaseResponse
(T theResponse) Copy constructor - Creates a shallow copy only -
Method Summary
Modifier and TypeMethodDescriptionabstract T
clone()
Create a clone of this object using a shallow copy only.boolean
boolean
If true, the target has declined to try handling this requestvoid
setCacheHit
(boolean theCacheHit) setDeclinedToHandle
(boolean theDeclinedToHandle) If true, the target has declined to try handling this request
-
Constructor Details
-
BaseResponse
public BaseResponse()Constructor - Create an empty object -
BaseResponse
Copy constructor - Creates a shallow copy only
-
-
Method Details
-
isDeclinedToHandle
If true, the target has declined to try handling this request -
setDeclinedToHandle
If true, the target has declined to try handling this request -
clone
Create a clone of this object using a shallow copy only. Values are copied by reference only, so things like Resources should only be modified if you are sure that the changes won't affect the value stored in cache. -
setCacheHit
-
isCacheHit
-