Class AdvisedDispatchHandler
java.lang.Object
ch.raffael.meldioc.library.http.server.undertow.handler.AdvisedDispatchHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
TODO JavaDoc
-
Constructor Summary
ConstructorsConstructorDescriptionAdvisedDispatchHandler(io.undertow.server.HttpHandler next, Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice> advice) -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutorvoidhandleRequest(io.undertow.server.HttpServerExchange exchange) static io.undertow.server.HttpHandlerprepend(io.undertow.server.HttpHandler next, io.vavr.control.Option<? extends Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice>> advice) static io.undertow.server.HttpHandlerprepend(io.undertow.server.HttpHandler next, Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice> advice) static ExecutorstandardExecutor(io.undertow.server.HttpServerExchange exchange)
-
Constructor Details
-
AdvisedDispatchHandler
public AdvisedDispatchHandler(io.undertow.server.HttpHandler next, Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice> advice)
-
-
Method Details
-
prepend
public static io.undertow.server.HttpHandler prepend(io.undertow.server.HttpHandler next, Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice> advice) -
prepend
public static io.undertow.server.HttpHandler prepend(io.undertow.server.HttpHandler next, io.vavr.control.Option<? extends Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice>> advice) -
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Throws:
Exception
-
standardExecutor
-
advise
-