Class RouterImpl
java.lang.Object
cool.scx.http.routing.RouterImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ScxHttpServerRequest scxHttpRequest) errorHandler(BiConsumer<Throwable, RoutingContext> handler)
-
Constructor Details
-
RouterImpl
public RouterImpl()
-
-
Method Details
-
addRoute
-
getRoutes
-
accept
- Specified by:
acceptin interfaceConsumer<ScxHttpServerRequest>
-
errorHandler
- Specified by:
errorHandlerin interfaceRouter
-