Uses of Interface
dev.relism.flash.routing.Middleware
Packages that use Middleware
-
Uses of Middleware in dev.relism.flash
Methods in dev.relism.flash that return MiddlewareModifier and TypeMethodDescriptionFlash.Middlewares.cors()Flash.Middlewares.cors(Flash.Middlewares.CorsConfig config) Flash.Middlewares.cors(Consumer<Flash.Middlewares.CorsConfig> fn) -
Uses of Middleware in dev.relism.flash.extension
Methods in dev.relism.flash.extension that return types with arguments of type MiddlewareModifier and TypeMethodDescriptionList<Class<? extends Middleware>> RouteEvent.middlewareChain()Returns the value of themiddlewareChainrecord component.AnnotationProcessor.process(Class<? extends RequestHandler> handlerClass) Methods in dev.relism.flash.extension with parameters of type MiddlewareModifier and TypeMethodDescriptionprotected voidFlashApp.addMiddleware(Middleware mw) protected abstract voidFlashRegistrar.addMiddleware(Middleware mw) Registers a middleware in this registrar's own scope (global or scope-level).protected voidFlashScope.addMiddleware(Middleware mw) final SELFFlashRegistrar.connect(String path, SimpleHandler.FunctionalHandler h, Middleware... mw) final SELFFlashRegistrar.delete(String path, SimpleHandler.FunctionalHandler h, Middleware... mw) final SELFFlashRegistrar.get(String path, SimpleHandler.FunctionalHandler h, Middleware... mw) final SELFFlashRegistrar.head(String path, SimpleHandler.FunctionalHandler h, Middleware... mw) final SELFFlashRegistrar.options(String path, SimpleHandler.FunctionalHandler h, Middleware... mw) final SELFFlashRegistrar.patch(String path, SimpleHandler.FunctionalHandler h, Middleware... mw) final SELFFlashRegistrar.post(String path, SimpleHandler.FunctionalHandler h, Middleware... mw) final SELFFlashRegistrar.purge(String path, SimpleHandler.FunctionalHandler h, Middleware... mw) final SELFFlashRegistrar.put(String path, SimpleHandler.FunctionalHandler h, Middleware... mw) final SELFFlashRegistrar.trace(String path, SimpleHandler.FunctionalHandler h, Middleware... mw) final SELFFlashRegistrar.use(Middleware... middlewares) Adds middlewares to this registrar's own scope.Method parameters in dev.relism.flash.extension with type arguments of type MiddlewareModifier and TypeMethodDescriptionprotected voidFlashApp.addRoute(HttpMethod method, String path, RequestHandler handler, List<Middleware> mw) protected abstract voidFlashRegistrar.addRoute(HttpMethod method, String path, RequestHandler handler, List<Middleware> mw) Adds a route immediately to this registrar's deferred compilation list.protected voidFlashScope.addRoute(HttpMethod method, String path, RequestHandler handler, List<Middleware> mw) Constructor parameters in dev.relism.flash.extension with type arguments of type MiddlewareModifierConstructorDescriptionRouteEvent(HttpMethod method, String path, String namespace, String routerType, Class<?> handlerClass, List<Class<? extends Middleware>> middlewareChain) Creates an instance of aRouteEventrecord class. -
Uses of Middleware in dev.relism.flash.routing
Methods in dev.relism.flash.routing that return MiddlewareModifier and TypeMethodDescriptionstatic MiddlewareMiddleware.of(Middleware... chain) Composes an ordered chain of middlewares into a singleMiddleware.Methods in dev.relism.flash.routing with parameters of type MiddlewareModifier and TypeMethodDescriptionAbstractRouter.doRegister(HttpMethod method, String path, RequestHandler handler, Middleware[] middlewares) Registers a handler with a pre-built middleware array.static MiddlewareMiddleware.of(Middleware... chain) Composes an ordered chain of middlewares into a singleMiddleware.