Uses of Class
org.kohsuke.stapler.Dispatcher
-
Uses of Dispatcher in org.kohsuke.stapler
Modifier and TypeMethodDescriptionprotected <S> Dispatcher
Facet.createValidatingDispatcher
(AbstractTearOff<?, ? extends S, ?> scriptLoader, ScriptExecutor<? super S> scriptExecutor) Creates a Dispatcher that integratesDispatchValidator
with the provided script loader and executor.Modifier and TypeMethodDescriptionvoid
DispatchersFilter.applyOn
(MetaClass metaClass, FunctionList methods, List<Dispatcher> dispatcherList) void
Facet.buildFallbackDispatchers
(MetaClass owner, List<Dispatcher> dispatchers) AddsDispatcher
s that do catch-all behaviours like "doDispatch" does.void
Facet.buildIndexDispatchers
(MetaClass owner, List<Dispatcher> dispatchers) AddsDispatcher
s that serves the likes ofindex.EXT
The default implementation invokesFacet.handleIndexRequest(RequestImpl, ResponseImpl, Object, MetaClass)
but facet implementations can improve runtime dispatch performance by testing the presence of index view page upfront.void
StaticViewFacet.buildIndexDispatchers
(MetaClass owner, List<Dispatcher> dispatchers) abstract void
Facet.buildViewDispatchers
(MetaClass owner, List<Dispatcher> dispatchers) AddsDispatcher
s that look at one token and binds that to the views associated with the 'it' object.void
StaticViewFacet.buildViewDispatchers
(MetaClass owner, List<Dispatcher> dispatchers)