Interface AppRouter

All Superinterfaces:
org.spincast.core.routing.Router<AppRequestContext,AppWebsocketContext>
All Known Implementing Classes:
AppRouterDefault

public interface AppRouter extends org.spincast.core.routing.Router<AppRequestContext,AppWebsocketContext>
The only purpose of this interface is to make it easier to inject the application specific Router by using "AppRouter" instead of "Router<AppRequestContext, AppWebsocketContext>".
  • Field Summary

    Fields inherited from interface org.spincast.core.routing.Router

    DEFAULT_ROUTE_PATH
  • Method Summary

    Methods inherited from interface org.spincast.core.routing.Router

    addRoute, addRouteParamPatternAlias, addStaticResource, addWebsocketRoute, ALL, ALL, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, cors, DELETE, DELETE, dir, exception, exception, file, GET, GET, getGlobalAfterFiltersRoutes, getGlobalBeforeFiltersRoutes, getMainRoutes, getRoute, getRouteParamPatternAliases, HEAD, HEAD, httpAuth, methods, methods, methods, methods, notFound, notFound, OPTIONS, OPTIONS, PATCH, PATCH, POST, POST, PUT, PUT, redirect, removeAllRoutes, removeAllRoutes, removeRoute, route, route, TRACE, TRACE, websocket