-
- All Implemented Interfaces:
public final class RouterConfig
-
-
Field Summary
Fields Modifier and Type Field Description public String
contextPath
public Boolean
ignoreTrailingSlashes
public Boolean
treatMultipleSlashesAsSingleSlash
public Boolean
caseInsensitiveRoutes
-
Constructor Summary
Constructors Constructor Description RouterConfig(JavalinConfig cfg)
-
Method Summary
Modifier and Type Method Description final <SETUP extends Any> RouterConfig
mount(RoutingApiInitializer<SETUP> initializer, Consumer<SETUP> setup)
final RouterConfig
mount(Consumer<JavalinDefaultRouting> setup)
final RouterConfig
apiBuilder(EndpointGroup endpoints)
-
-
Constructor Detail
-
RouterConfig
RouterConfig(JavalinConfig cfg)
-
-
Method Detail
-
mount
final <SETUP extends Any> RouterConfig mount(RoutingApiInitializer<SETUP> initializer, Consumer<SETUP> setup)
-
mount
final RouterConfig mount(Consumer<JavalinDefaultRouting> setup)
-
apiBuilder
final RouterConfig apiBuilder(EndpointGroup endpoints)
-
-
-
-