public class FixedRouteNode<T extends ComponentsProvider>
extends RouteNode
Node representing an endpoint ending with a fixed segment, e.g. /foo/bar.
RouteNode.Companion| Constructor and Description |
|---|
FixedRouteNode(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 fixed segment, e.g.
/foo/bar. |
getFixedChildren, getHandlers, getName, getVariableChildpublic FixedRouteNode(@NotNull
java.lang.String name,
@NotNull
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,
@NotNull
java.util.Map<java.lang.String,? extends ws.osiris.core.RouteNode<T>> fixedChildren,
@Nullable
VariableRouteNode<T> variableChild)
Node representing an endpoint ending with a fixed segment, e.g. /foo/bar.