Package ca.cdr.api.fhirgw.model
Class BaseRequest<T extends IBaseRequest>
java.lang.Object
ca.cdr.api.fhirgw.model.BaseRequest<T>
- All Implemented Interfaces:
IBaseRequest
- Direct Known Subclasses:
CreateRequest,DeleteRequest,GetRequest,HistoryRequest,OperationRequest,ReadRequest,SearchPageRequest,SearchRequest,TransactionRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalHeader(String theName, String theValue) Adds an HTTP header that will be added to the request sent to the targetbooleanjakarta.servlet.http.HttpServletRequestbooleanisSkip()Should the request be skipped?voidsetClientInterceptor(IClientInterceptor theClientInterceptor) setResourceType(String theResourceType) voidsetServerCapabilityStatementValidationEnabled(boolean theServerCapabilityStatementValidationEnabled) setServletRequest(jakarta.servlet.http.HttpServletRequest theServletRequest) voidsetSkip(boolean theSkip) Should the request be skipped?
-
Constructor Details
-
BaseRequest
public BaseRequest()Constructor -
BaseRequest
Copy constructor
-
-
Method Details
-
isSkip
Should the request be skipped? If this flag is set in an interceptor prior to calling a target server, that server will be skipped.- Specified by:
isSkipin interfaceIBaseRequest
-
setSkip
Should the request be skipped? If this flag is set in an interceptor prior to calling a target server, that server will be skipped. -
getServerCapabilityStatementValidationEnabled
- Specified by:
getServerCapabilityStatementValidationEnabledin interfaceIBaseRequest
-
setServerCapabilityStatementValidationEnabled
public void setServerCapabilityStatementValidationEnabled(boolean theServerCapabilityStatementValidationEnabled) -
getAdditionalHeaders
- Specified by:
getAdditionalHeadersin interfaceIBaseRequest
-
addAdditionalHeader
Adds an HTTP header that will be added to the request sent to the target- Parameters:
theName- The header name (must not benullor empty)theValue- The header value (must not benull)
-
getServletRequest
- Specified by:
getServletRequestin interfaceIBaseRequest
-
setServletRequest
- Specified by:
setServletRequestin interfaceIBaseRequest
-
getResourceType
- Specified by:
getResourceTypein interfaceIBaseRequest
-
setResourceType
- Specified by:
setResourceTypein interfaceIBaseRequest
-
getClientInterceptor
- Specified by:
getClientInterceptorin interfaceIBaseRequest
-
setClientInterceptor
-