Class AdvisedDispatchHandler
- java.lang.Object
-
- ch.raffael.meldioc.library.http.server.undertow.handler.AdvisedDispatchHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class AdvisedDispatchHandler extends java.lang.Object implements io.undertow.server.HttpHandlerTODO JavaDoc
-
-
Constructor Summary
Constructors Constructor Description AdvisedDispatchHandler(io.undertow.server.HttpHandler next, java.util.function.Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice> advice)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.concurrent.Executoradvise(io.undertow.server.HttpServerExchange exchange, java.util.concurrent.Executor executor)voidhandleRequest(io.undertow.server.HttpServerExchange exchange)static io.undertow.server.HttpHandlerprepend(io.undertow.server.HttpHandler next, io.vavr.control.Option<? extends java.util.function.Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice>> advice)static io.undertow.server.HttpHandlerprepend(io.undertow.server.HttpHandler next, java.util.function.Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice> advice)static java.util.concurrent.ExecutorstandardExecutor(io.undertow.server.HttpServerExchange exchange)
-
-
-
Method Detail
-
prepend
public static io.undertow.server.HttpHandler prepend(io.undertow.server.HttpHandler next, java.util.function.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 java.util.function.Supplier<? extends ch.raffael.meldioc.util.advice.AroundAdvice>> advice)
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws java.lang.Exception- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Throws:
java.lang.Exception
-
standardExecutor
public static java.util.concurrent.Executor standardExecutor(io.undertow.server.HttpServerExchange exchange)
-
advise
public static java.util.concurrent.Executor advise(io.undertow.server.HttpServerExchange exchange, java.util.concurrent.Executor executor)
-
-