Package ca.uhn.fhir.rest.server.util
Class CompositeInterceptorBroadcaster
java.lang.Object
ca.uhn.fhir.rest.server.util.CompositeInterceptorBroadcaster
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleandoCallHooks(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, RequestDetails theRequestDetails, ca.uhn.fhir.interceptor.api.Pointcut thePointcut, ca.uhn.fhir.interceptor.api.HookParams theParams) Broadcast hooks to both the interceptor service associated with the request, as well as the one associated with the JPA module.static ObjectdoCallHooksAndReturnObject(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, RequestDetails theRequestDetails, ca.uhn.fhir.interceptor.api.Pointcut thePointcut, ca.uhn.fhir.interceptor.api.HookParams theParams) Broadcast hooks to both the interceptor service associated with the request, as well as the one associated with the JPA module.static booleanhasHooks(ca.uhn.fhir.interceptor.api.Pointcut thePointcut, ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, RequestDetails theRequestDetails) static ca.uhn.fhir.interceptor.api.IInterceptorBroadcasternewCompositeBroadcaster(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, RequestDetails theRequestDetails)
-
Method Details
-
doCallHooks
public static boolean doCallHooks(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, @Nullable RequestDetails theRequestDetails, ca.uhn.fhir.interceptor.api.Pointcut thePointcut, ca.uhn.fhir.interceptor.api.HookParams theParams) Broadcast hooks to both the interceptor service associated with the request, as well as the one associated with the JPA module. -
doCallHooksAndReturnObject
public static Object doCallHooksAndReturnObject(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, RequestDetails theRequestDetails, ca.uhn.fhir.interceptor.api.Pointcut thePointcut, ca.uhn.fhir.interceptor.api.HookParams theParams) Broadcast hooks to both the interceptor service associated with the request, as well as the one associated with the JPA module. -
hasHooks
public static boolean hasHooks(ca.uhn.fhir.interceptor.api.Pointcut thePointcut, ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, RequestDetails theRequestDetails) -
newCompositeBroadcaster
public static ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster newCompositeBroadcaster(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, RequestDetails theRequestDetails) - Since:
- 5.5.0
-