Search in sources :

Example 6 with Route

use of org.webpieces.router.impl.Route in project webpieces by deanhiller.

the class AbstractDomainBuilder method setPageNotFoundRoute.

@Override
public void setPageNotFoundRoute(String controllerMethod) {
    Route route = new RouteImpl(controllerMethod, RouteType.NOT_FOUND);
    setNotFoundRoute(route);
}
Also used : RouteImpl(org.webpieces.router.impl.RouteImpl) Route(org.webpieces.router.impl.Route)

Aggregations

Route (org.webpieces.router.impl.Route)6 RouteImpl (org.webpieces.router.impl.RouteImpl)4 MultiRoute (org.webpieces.router.api.routing.MultiRoute)2 UrlPath (org.webpieces.router.impl.UrlPath)2 Method (java.lang.reflect.Method)1 HttpMethod (org.webpieces.ctx.api.HttpMethod)1 RouterRequest (org.webpieces.ctx.api.RouterRequest)1 RedirectResponse (org.webpieces.router.api.dto.RedirectResponse)1 IllegalReturnValueException (org.webpieces.router.api.exceptions.IllegalReturnValueException)1 RouteMeta (org.webpieces.router.impl.RouteMeta)1