Class ActionHandler<C,B,R>
- java.lang.Object
-
- ch.raffael.meldioc.library.http.server.undertow.handler.ActionHandler<C,B,R>
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class ActionHandler<C,B,R> extends java.lang.Object implements io.undertow.server.HttpHandlerHandler for actions written in the routing DSL.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceActionHandler.Invoker<C,B,R>
-
Constructor Summary
Constructors Constructor Description ActionHandler(HttpDecoder<? super C,? extends B> decoder, HttpEncoder<? super C,? super R> encoder, java.util.function.Function<? super io.undertow.server.HttpServerExchange,? extends C> context, ActionHandler.Invoker<C,B,R> invoker)ActionHandler(HttpDecoder<? super C,? extends B> decoder, HttpEncoder<? super C,? super R> encoder, java.util.function.Function<? super io.undertow.server.HttpServerExchange,? extends C> context, ActionHandler.Invoker<C,B,R> invoker, boolean dispatch)ActionHandler(HttpDecoder<? super C,? extends B> decoder, HttpEncoder<? super C,? super R> encoder, java.util.function.Function<? super io.undertow.server.HttpServerExchange,? extends C> context, ActionHandler.Invoker<C,B,R> invoker, DispatchMode dispatch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(io.undertow.server.HttpServerExchange exchange)
-
-
-
Constructor Detail
-
ActionHandler
public ActionHandler(HttpDecoder<? super C,? extends B> decoder, HttpEncoder<? super C,? super R> encoder, java.util.function.Function<? super io.undertow.server.HttpServerExchange,? extends C> context, ActionHandler.Invoker<C,B,R> invoker)
-
ActionHandler
public ActionHandler(HttpDecoder<? super C,? extends B> decoder, HttpEncoder<? super C,? super R> encoder, java.util.function.Function<? super io.undertow.server.HttpServerExchange,? extends C> context, ActionHandler.Invoker<C,B,R> invoker, boolean dispatch)
-
ActionHandler
public ActionHandler(HttpDecoder<? super C,? extends B> decoder, HttpEncoder<? super C,? super R> encoder, java.util.function.Function<? super io.undertow.server.HttpServerExchange,? extends C> context, ActionHandler.Invoker<C,B,R> invoker, DispatchMode dispatch)
-
-