public class VariableRouteNode<T extends ComponentsProvider>
extends RouteNode
Node representing an endpoint ending with a variable segment, e.g. /foo/{bar}.
RouteNode.Companion| Constructor and Description |
|---|
VariableRouteNode(java.lang.String name,
java.util.Map<ws.osiris.core.HttpMethod,? extends kotlin.Pair<? extends kotlin.jvm.functions.Function2<? super T,? super ws.osiris.core.Request,ws.osiris.core.Response>,? extends ws.osiris.core.Auth>> handlers,
java.util.Map<java.lang.String,? extends ws.osiris.core.RouteNode<T>> fixedChildren,
VariableRouteNode<T> variableChild)
Node representing an endpoint ending with a variable segment, e.g.
/foo/{bar}. |
getFixedChildren, getHandlers, getName, getVariableChildpublic VariableRouteNode(java.lang.String name,
java.util.Map<ws.osiris.core.HttpMethod,? extends kotlin.Pair<? extends kotlin.jvm.functions.Function2<? super T,? super ws.osiris.core.Request,ws.osiris.core.Response>,? extends ws.osiris.core.Auth>> handlers,
java.util.Map<java.lang.String,? extends ws.osiris.core.RouteNode<T>> fixedChildren,
VariableRouteNode<T> variableChild)
Node representing an endpoint ending with a variable segment, e.g. /foo/{bar}.