Class ConsentInterceptor
- java.lang.Object
-
- ca.uhn.fhir.rest.server.interceptor.consent.ConsentInterceptor
-
public class ConsentInterceptor extends Object
-
-
Constructor Summary
Constructors Constructor Description ConsentInterceptor()ConstructorConsentInterceptor(IConsentService theConsentService)ConstructorConsentInterceptor(IConsentService theConsentService, IConsentContextServices theContextConsentServices)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdentityHashMap<org.hl7.fhir.instance.model.api.IBaseResource,Boolean>getAlreadySeenResourcesMap(RequestDetails theRequestDetails, String theKey)voidinterceptOutgoingResponse(RequestDetails theRequestDetails, ResponseDetails theResource)voidinterceptPreAccess(RequestDetails theRequestDetails, IPreResourceAccessDetails thePreResourceAccessDetails)booleaninterceptPreCheckForCachedSearch(RequestDetails theRequestDetails)voidinterceptPreHandled(RequestDetails theRequestDetails)voidinterceptPreSearchRegistered(RequestDetails theRequestDetails, ICachedSearchDetails theCachedSearchDetails)voidinterceptPreShow(RequestDetails theRequestDetails, IPreResourceShowDetails thePreResourceShowDetails)voidrequestFailed(RequestDetails theRequest, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException)voidrequestSucceeded(RequestDetails theRequest)voidsetConsentService(IConsentService theConsentService)voidsetContextConsentServices(IConsentContextServices theContextConsentServices)
-
-
-
Constructor Detail
-
ConsentInterceptor
public ConsentInterceptor()
Constructor
-
ConsentInterceptor
public ConsentInterceptor(IConsentService theConsentService)
Constructor- Parameters:
theConsentService- Must not benull
-
ConsentInterceptor
public ConsentInterceptor(IConsentService theConsentService, IConsentContextServices theContextConsentServices)
Constructor- Parameters:
theConsentService- Must not benulltheContextConsentServices- Must not benull
-
-
Method Detail
-
setContextConsentServices
public void setContextConsentServices(IConsentContextServices theContextConsentServices)
-
setConsentService
public void setConsentService(IConsentService theConsentService)
-
interceptPreHandled
public void interceptPreHandled(RequestDetails theRequestDetails)
-
interceptPreCheckForCachedSearch
public boolean interceptPreCheckForCachedSearch(RequestDetails theRequestDetails)
-
interceptPreSearchRegistered
public void interceptPreSearchRegistered(RequestDetails theRequestDetails, ICachedSearchDetails theCachedSearchDetails)
-
interceptPreAccess
public void interceptPreAccess(RequestDetails theRequestDetails, IPreResourceAccessDetails thePreResourceAccessDetails)
-
interceptPreShow
public void interceptPreShow(RequestDetails theRequestDetails, IPreResourceShowDetails thePreResourceShowDetails)
-
interceptOutgoingResponse
public void interceptOutgoingResponse(RequestDetails theRequestDetails, ResponseDetails theResource)
-
requestFailed
public void requestFailed(RequestDetails theRequest, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException theException)
-
requestSucceeded
public void requestSucceeded(RequestDetails theRequest)
-
getAlreadySeenResourcesMap
public static IdentityHashMap<org.hl7.fhir.instance.model.api.IBaseResource,Boolean> getAlreadySeenResourcesMap(RequestDetails theRequestDetails, String theKey)
-
-