/** * Map the route for HTTP PATCH requests * * @param path the path * @param route The route */ public void patch(String path, Route route) { addRoute(HttpMethod.patch, createRouteImpl(path, route)); }
/** * Map the route for HTTP CONNECT requests * * @param path the path * @param route The route * @param engine the template engine */ public void connect(String path, TemplateViewRoute route, TemplateEngine engine) { addRoute(HttpMethod.connect, TemplateViewRouteImpl.create(path, route, engine)); }
/** * Map the route for HTTP PUT requests * * @param path the path * @param route The route * @param transformer the response transformer */ public void put(String path, Route route, ResponseTransformer transformer) { addRoute(HttpMethod.put, ResponseTransformerRouteImpl.create(path, route, transformer)); }
/** * Map the route for HTTP CONNECT requests * * @param path the path * @param route The route * @param transformer the response transformer */ public void connect(String path, Route route, ResponseTransformer transformer) { addRoute(HttpMethod.connect, ResponseTransformerRouteImpl.create(path, route, transformer)); }
/** * Map the route for HTTP POST requests * * @param path the path * @param acceptType the accept type * @param route The route */ public void post(String path, String acceptType, Route route) { addRoute(HttpMethod.post, createRouteImpl(path, acceptType, route)); }
/** * Map the route for HTTP DELETE requests * * @param path the path * @param acceptType the accept type * @param route The route */ public void delete(String path, String acceptType, Route route) { addRoute(HttpMethod.delete, createRouteImpl(path, acceptType, route)); }
/** * Map the route for HTTP HEAD requests * * @param path the path * @param acceptType the accept type * @param route The route */ public void head(String path, String acceptType, Route route) { addRoute(HttpMethod.head, createRouteImpl(path, acceptType, route)); }
/** * Map the route for HTTP TRACE requests * * @param path the path * @param acceptType the accept type * @param route The route */ public void trace(String path, String acceptType, Route route) { addRoute(HttpMethod.trace, createRouteImpl(path, acceptType, route)); }
/** * Map the route for HTTP OPTIONS requests * * @param path the path * @param acceptType the accept type * @param route The route */ public void options(String path, String acceptType, Route route) { addRoute(HttpMethod.options, createRouteImpl(path, acceptType, route)); }
/** * Map the route for HTTP POST requests * * @param path the path * @param route The route * @param engine the template engine */ public void post(String path, TemplateViewRoute route, TemplateEngine engine) { addRoute(HttpMethod.post, TemplateViewRouteImpl.create(path, route, engine)); }
/** * Map the route for HTTP GET requests * * @param path the path * @param route The route * @param transformer the response transformer */ public void get(String path, Route route, ResponseTransformer transformer) { addRoute(HttpMethod.get, ResponseTransformerRouteImpl.create(path, route, transformer)); }
/** * Map the route for HTTP POST requests * * @param path the path * @param route The route * @param transformer the response transformer */ public void post(String path, Route route, ResponseTransformer transformer) { addRoute(HttpMethod.post, ResponseTransformerRouteImpl.create(path, route, transformer)); }
/** * Map the route for HTTP POST requests * * @param path the path * @param acceptType the accept type * @param route The route * @param transformer the response transformer */ public void post(String path, String acceptType, Route route, ResponseTransformer transformer) { addRoute(HttpMethod.post, ResponseTransformerRouteImpl.create(path, acceptType, route, transformer)); }
/** * Map the route for HTTP DELETE requests * * @param path the path * @param route The route * @param transformer the response transformer */ public void delete(String path, Route route, ResponseTransformer transformer) { addRoute(HttpMethod.delete, ResponseTransformerRouteImpl.create(path, route, transformer)); }
/** * Map the route for HTTP PATCH requests * * @param path the path * @param route The route * @param transformer the response transformer */ public void patch(String path, Route route, ResponseTransformer transformer) { addRoute(HttpMethod.patch, ResponseTransformerRouteImpl.create(path, route, transformer)); }
/** * Map the route for HTTP TRACE requests * * @param path the path * @param acceptType the accept type * @param route The route * @param engine the template engine */ public void trace(String path, String acceptType, TemplateViewRoute route, TemplateEngine engine) { addRoute(HttpMethod.trace, TemplateViewRouteImpl.create(path, acceptType, route, engine)); }
/** * Map the route for HTTP PUT requests * * @param path the path * @param route The route */ public void put(String path, Route route) { addRoute(HttpMethod.put, createRouteImpl(path, route)); }
/** * Map the route for HTTP HEAD requests * * @param path the path * @param route The route */ public void head(String path, Route route) { addRoute(HttpMethod.head, createRouteImpl(path, route)); }
/** * Map the route for HTTP PATCH requests * * @param path the path * @param route The route * @param engine the template engine */ public void patch(String path, TemplateViewRoute route, TemplateEngine engine) { addRoute(HttpMethod.patch, TemplateViewRouteImpl.create(path, route, engine)); }
/** * Map the route for HTTP TRACE requests * * @param path the path * @param route The route * @param engine the template engine */ public void trace(String path, TemplateViewRoute route, TemplateEngine engine) { addRoute(HttpMethod.trace, TemplateViewRouteImpl.create(path, route, engine)); }