Class PathSegmentHandler.Builder
java.lang.Object
ch.raffael.meldioc.library.http.server.undertow.handler.PathSegmentHandler.Builder
- Enclosing class:
PathSegmentHandler
-
Method Summary
Modifier and TypeMethodDescriptionbuild()capture(io.vavr.collection.Seq<? extends BiConsumer<? super io.undertow.server.HttpServerExchange, ? super String>> capture, io.undertow.server.HttpHandler handler) capture(BiConsumer<? super io.undertow.server.HttpServerExchange, ? super String> capture, io.undertow.server.HttpHandler handler) defaultHandler(io.undertow.server.HttpHandler defaultHandler) exactSegment(String segment, io.undertow.server.HttpHandler handler) hereHandler(io.undertow.server.HttpHandler hereHandler) notFoundHandler(io.undertow.server.HttpHandler notFoundHandler)
-
Method Details
-
hereHandler
-
exactSegment
public PathSegmentHandler.Builder exactSegment(String segment, io.undertow.server.HttpHandler handler) -
capture
public PathSegmentHandler.Builder capture(BiConsumer<? super io.undertow.server.HttpServerExchange, ? super String> capture, io.undertow.server.HttpHandler handler) -
capture
public PathSegmentHandler.Builder capture(io.vavr.collection.Seq<? extends BiConsumer<? super io.undertow.server.HttpServerExchange, ? super String>> capture, io.undertow.server.HttpHandler handler) -
defaultHandler
-
notFoundHandler
-
build
-