Class RouterImpl
java.lang.Object
cool.scx.http.routing.RouterImpl
- All Implemented Interfaces:
Router,Consumer<ScxHttpServerRequest>
Router
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ScxHttpServerRequest scxHttpRequest) errorHandler(BiConsumer<Throwable, RoutingContext> handler) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cool.scx.http.routing.Router
route, route, webSocketRoute, webSocketRoute
-
Constructor Details
-
RouterImpl
public RouterImpl()
-
-
Method Details
-
addRoute
-
getRoutes
-
accept
- Specified by:
acceptin interfaceConsumer<ScxHttpServerRequest>
-
errorHandler
- Specified by:
errorHandlerin interfaceRouter
-