
Package ca.uhn.fhir.rest.server.util
Class CompositeInterceptorBroadcaster
java.lang.Object
ca.uhn.fhir.rest.server.util.CompositeInterceptorBroadcaster
- All Implemented Interfaces:
- ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcaster<ca.uhn.fhir.interceptor.api.Pointcut>,- ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster
public class CompositeInterceptorBroadcaster
extends Object
implements ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster
This is an 
IInterceptorBroadcaster which combines multiple interceptor
 broadcasters. Hook methods are called across all broadcasters, respecting
 the Hook.order() across all broadcasters.- 
Nested Class SummaryNested classes/interfaces inherited from interface ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcasterca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcaster.IInterceptorFilterHook, ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcaster.IInvoker
- 
Method SummaryModifier and TypeMethodDescriptionbooleancallHooks(ca.uhn.fhir.interceptor.api.Pointcut thePointcut, ca.uhn.fhir.interceptor.api.HookParams theParams) callHooksAndReturnObject(ca.uhn.fhir.interceptor.api.Pointcut thePointcut, ca.uhn.fhir.interceptor.api.HookParams theParams) List<ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcaster.IInvoker> getInvokersForPointcut(ca.uhn.fhir.interceptor.api.Pointcut thePointcut) booleanhasHooks(ca.uhn.fhir.interceptor.api.Pointcut thePointcut) static ca.uhn.fhir.interceptor.api.IInterceptorBroadcasternewCompositeBroadcaster(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster... theServices) static ca.uhn.fhir.interceptor.api.IInterceptorBroadcasternewCompositeBroadcaster(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, RequestDetails theRequestDetails) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcasterifHasCallHooks, ifHasCallHooksAndReturnObject, runWithFilterHooks, runWithFilterHooks
- 
Method Details- 
callHookspublic boolean callHooks(ca.uhn.fhir.interceptor.api.Pointcut thePointcut, ca.uhn.fhir.interceptor.api.HookParams theParams) - Specified by:
- callHooksin interface- ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcaster<ca.uhn.fhir.interceptor.api.Pointcut>
 
- 
callHooksAndReturnObjectpublic Object callHooksAndReturnObject(ca.uhn.fhir.interceptor.api.Pointcut thePointcut, ca.uhn.fhir.interceptor.api.HookParams theParams) - Specified by:
- callHooksAndReturnObjectin interface- ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcaster<ca.uhn.fhir.interceptor.api.Pointcut>
 
- 
getInvokersForPointcut@Nonnull public List<ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcaster.IInvoker> getInvokersForPointcut(ca.uhn.fhir.interceptor.api.Pointcut thePointcut) - Specified by:
- getInvokersForPointcutin interface- ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcaster<ca.uhn.fhir.interceptor.api.Pointcut>
 
- 
hasHooks- Specified by:
- hasHooksin interface- ca.uhn.fhir.interceptor.api.IBaseInterceptorBroadcaster<ca.uhn.fhir.interceptor.api.Pointcut>
 
- 
newCompositeBroadcasterpublic static ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster newCompositeBroadcaster(ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster... theServices) - Since:
- 8.0.0
 
- 
newCompositeBroadcasterpublic static ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster newCompositeBroadcaster(@Nonnull ca.uhn.fhir.interceptor.api.IInterceptorBroadcaster theInterceptorBroadcaster, @Nullable RequestDetails theRequestDetails) - Since:
- 5.5.0
 
 
-