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
ConstructorsConstructorDescriptionConstructor - Create an empty objectBaseResponse(T theResponse) Copy constructor - Creates a shallow copy only -
Method Summary
Modifier and TypeMethodDescriptionabstract Tclone()Create a clone of this object using a shallow copy only.booleanbooleanIf true, the target has declined to try handling this requestvoidsetCacheHit(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
-