public.javadoc.org.spincast.core.routing.class-use.RouteBuilder.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
Uses of Interface org.spincast.core.routing.RouteBuilder (org.spincast:spincast-framework 1.0.0 API)
Uses of Interface
org.spincast.core.routing.RouteBuilder
-
Packages that use RouteBuilder
Package
Description
org.spincast.core.routing
org.spincast.plugins.routing
-
-
Uses of RouteBuilder in org.spincast.core.routing
Methods in org.spincast.core.routing that return RouteBuilder
Modifier and Type
Method and Description
RouteBuilder<R>
RouteBuilder.accept(ContentTypeDefaults... acceptedContentTypes)
Sets the accepted Content-Types
.
RouteBuilder<R>
RouteBuilder.accept(Set<ContentTypeDefaults> acceptedContentTypes)
Sets the accepted Content-Types
.
RouteBuilder<R>
RouteBuilder.acceptAsString(Set<String> acceptedContentTypes)
Sets the accepted Content-Types
.
RouteBuilder<R>
RouteBuilder.acceptAsString(String... acceptedContentTypes)
Sets the accepted Content-Types
.
RouteBuilder<R>
RouteBuilder.after(Handler<R> afterFilter)
Adds an "after" filter which will only be applied to this particular route.
RouteBuilder<R>
Router.ALL()
Starts the creation of a route matching any HTTP method,
and on any path.
RouteBuilder<R>
RouteBuilder.ALL()
Adds all HTTP methods as being supported.
RouteBuilder<R>
Router.ALL(String path)
Starts the creation of a route matching any HTTP method.
RouteBuilder<R>
RouteBuilder.allRoutingTypes()
This route will be considered for all routing types.
RouteBuilder<R>
RouteBuilder.before(Handler<R> beforeFilter)
Adds a "before" filter which will only be applied to this particular route.
RouteBuilder<R>
RouteBuilder.cache()
Adds cache headers.
RouteBuilder<R>
RouteBuilder.cache(int seconds)
Adds public cache headers.
RouteBuilder<R>
RouteBuilder.cache(int seconds,
boolean isPrivate)
Adds cache headers.
RouteBuilder<R>
RouteBuilder.cache(int seconds,
boolean isPrivate,
Integer secondsCdn)
Adds cache headers.
RouteBuilder<R>
RouteBuilderFactory.create()
Creates a route builder without using a router.
RouteBuilder<R>
RouteBuilderFactory.create(Router<R,W> router)
Creates a route builder using the specified router.
RouteBuilder<R>
Router.DELETE()
Starts the creation of a DELETE
route,
for all path.
RouteBuilder<R>
RouteBuilder.DELETE()
Adds DELETE
as a supported HTTP method.
RouteBuilder<R>
Router.DELETE(String path)
Starts the creation of a DELETE
route.
RouteBuilder<R>
RouteBuilder.exception()
This route will be considered during an Exception
routing process.
RouteBuilder<R>
RouteBuilder.found()
This route will be considered during a Found
routing process.
RouteBuilder<R>
Router.GET()
Starts the creation of a GET
route,
for all path.
RouteBuilder<R>
RouteBuilder.GET()
Addss GET
as a supported HTTP method.
RouteBuilder<R>
Router.GET(String path)
Starts the creation of a GET
route.
RouteBuilder<R>
Router.HEAD()
Starts the creation of a HEAD
route,
for all path.
RouteBuilder<R>
RouteBuilder.HEAD()
Adds HEAD
as a supported HTTP method.
RouteBuilder<R>
Router.HEAD(String path)
Starts the creation of a HEAD
route.
RouteBuilder<R>
RouteBuilder.html()
Adds application/html
as an accepted Content-Type
.
RouteBuilder<R>
RouteBuilder.id(String id)
An id that can be used to identify the route.
RouteBuilder<R>
RouteBuilder.json()
Adds application/json
as an accepted Content-Type
.
RouteBuilder<R>
Router.methods(HttpMethod... httpMethods)
Starts the creation of a route matching the specified
HTTP methods and on any path.
RouteBuilder<R>
RouteBuilder.methods(HttpMethod... httpMethods)
Adds the specified HTTP methods as being supported.
RouteBuilder<R>
Router.methods(Set<HttpMethod> httpMethods)
Starts the creation of a route matching the specified
HTTP methods and on any path.
RouteBuilder<R>
RouteBuilder.methods(Set<HttpMethod> httpMethods)
Adds the specified HTTP methods as being supported.
RouteBuilder<R>
Router.methods(String path,
HttpMethod... httpMethods)
Starts the creation of a route matching the specified
HTTP methods.
RouteBuilder<R>
Router.methods(String path,
Set<HttpMethod> httpMethods)
Starts the creation of a route matching the specified
HTTP methods.
RouteBuilder<R>
RouteBuilder.noCache()
Automatically adds "no-cache" headers to the response.
RouteBuilder<R>
RouteBuilder.notFound()
This route will be considered during a Not Found
routing process.
RouteBuilder<R>
Router.OPTIONS()
Starts the creation of a OPTIONS
route,
for all path.
RouteBuilder<R>
RouteBuilder.OPTIONS()
Adds OPTIONS
as a supported HTTP method.
RouteBuilder<R>
Router.OPTIONS(String path)
Starts the creation of a OPTIONS
route.
RouteBuilder<R>
Router.PATCH()
Starts the creation of a PATCH
route,
for all path.
RouteBuilder<R>
RouteBuilder.PATCH()
Adds PATCH
as a supported HTTP method.
RouteBuilder<R>
Router.PATCH(String path)
Starts the creation of a PATCH
route.
RouteBuilder<R>
RouteBuilder.path(String path)
The path of the route.
RouteBuilder<R>
RouteBuilder.pos(int position)
The position of the handler.
RouteBuilder<R>
Router.POST()
Starts the creation of a POST
route,
for all path.
RouteBuilder<R>
RouteBuilder.POST()
Adds POST
as a supported HTTP method.
RouteBuilder<R>
Router.POST(String path)
Starts the creation of a POST
route.
RouteBuilder<R>
Router.PUT()
Starts the creation of a PUT
route,
for all path.
RouteBuilder<R>
RouteBuilder.PUT()
Adds PUT
as a supported HTTP method.
RouteBuilder<R>
Router.PUT(String path)
Starts the creation of a PUT
route.
RouteBuilder<R>
RouteBuilder.skip(String filterId)
Skip a "before" and "after" filter for this route.
RouteBuilder<R>
RouteBuilder.skipResourcesRequests()
Won't be applied if the request is for a resource
(Route.isStaticResourceRoute()
).
RouteBuilder<R>
RouteBuilder.spicastCoreRouteOrPluginRoute()
This should only by called by *plugins*.
RouteBuilder<R>
Router.TRACE()
Starts the creation of a TRACE
route,
for all path.
RouteBuilder<R>
RouteBuilder.TRACE()
Adds TRACE
as a supported HTTP method.
RouteBuilder<R>
Router.TRACE(String path)
Starts the creation of a TRACE
route,
at the specified position.
RouteBuilder<R>
RouteBuilder.xml()
Adds application/xml
as an accepted Content-Type
.
-
Uses of RouteBuilder in org.spincast.plugins.routing
Classes in org.spincast.plugins.routing that implement RouteBuilder
Modifier and Type
Class and Description
class
RouteBuilderDefault<R extends RequestContext<?>,W extends WebsocketContext<?>>
Methods in org.spincast.plugins.routing that return RouteBuilder
Modifier and Type
Method and Description
RouteBuilder<R>
RouteBuilderDefault.accept(ContentTypeDefaults... acceptedContentTypes)
RouteBuilder<R>
RouteBuilderDefault.accept(Set<ContentTypeDefaults> acceptedContentTypes)
RouteBuilder<R>
RouteBuilderDefault.acceptAsString(Set<String> acceptedContentTypes)
RouteBuilder<R>
RouteBuilderDefault.acceptAsString(String... acceptedContentTypes)
RouteBuilder<R>
RouteBuilderDefault.after(Handler<R> afterFilter)
RouteBuilder<R>
SpincastRouter.ALL()
RouteBuilder<R>
RouteBuilderDefault.ALL()
RouteBuilder<R>
SpincastRouter.ALL(String path)
RouteBuilder<R>
RouteBuilderDefault.allRoutingTypes()
RouteBuilder<R>
RouteBuilderDefault.before(Handler<R> beforeFilter)
RouteBuilder<R>
RouteBuilderDefault.cache()
RouteBuilder<R>
RouteBuilderDefault.cache(int seconds)
RouteBuilder<R>
RouteBuilderDefault.cache(int seconds,
boolean isPrivate)
RouteBuilder<R>
RouteBuilderDefault.cache(int seconds,
boolean isPrivate,
Integer secondsCdn)
RouteBuilder<R>
SpincastRouter.DELETE()
RouteBuilder<R>
RouteBuilderDefault.DELETE()
RouteBuilder<R>
SpincastRouter.DELETE(String path)
RouteBuilder<R>
RouteBuilderDefault.exception()
RouteBuilder<R>
RouteBuilderDefault.found()
RouteBuilder<R>
SpincastRouter.GET()
RouteBuilder<R>
RouteBuilderDefault.GET()
RouteBuilder<R>
SpincastRouter.GET(String path)
RouteBuilder<R>
SpincastRouter.HEAD()
RouteBuilder<R>
RouteBuilderDefault.HEAD()
RouteBuilder<R>
SpincastRouter.HEAD(String path)
RouteBuilder<R>
RouteBuilderDefault.html()
RouteBuilder<R>
RouteBuilderDefault.id(String id)
RouteBuilder<R>
RouteBuilderDefault.json()
RouteBuilder<R>
SpincastRouter.methods(HttpMethod... httpMethods)
RouteBuilder<R>
RouteBuilderDefault.methods(HttpMethod... httpMethods)
RouteBuilder<R>
SpincastRouter.methods(Set<HttpMethod> httpMethods)
RouteBuilder<R>
RouteBuilderDefault.methods(Set<HttpMethod> httpMethods)
RouteBuilder<R>
SpincastRouter.methods(String path,
HttpMethod... httpMethods)
RouteBuilder<R>
SpincastRouter.methods(String path,
Set<HttpMethod> httpMethods)
RouteBuilder<R>
RouteBuilderDefault.noCache()
RouteBuilder<R>
RouteBuilderDefault.notFound()
RouteBuilder<R>
SpincastRouter.OPTIONS()
RouteBuilder<R>
RouteBuilderDefault.OPTIONS()
RouteBuilder<R>
SpincastRouter.OPTIONS(String path)
RouteBuilder<R>
SpincastRouter.PATCH()
RouteBuilder<R>
RouteBuilderDefault.PATCH()
RouteBuilder<R>
SpincastRouter.PATCH(String path)
RouteBuilder<R>
RouteBuilderDefault.path(String path)
RouteBuilder<R>
RouteBuilderDefault.pos(int position)
RouteBuilder<R>
SpincastRouter.POST()
RouteBuilder<R>
RouteBuilderDefault.POST()
RouteBuilder<R>
SpincastRouter.POST(String path)
RouteBuilder<R>
SpincastRouter.PUT()
RouteBuilder<R>
RouteBuilderDefault.PUT()
RouteBuilder<R>
SpincastRouter.PUT(String path)
RouteBuilder<R>
RouteBuilderDefault.skip(String filterId)
RouteBuilder<R>
RouteBuilderDefault.skipResourcesRequests()
RouteBuilder<R>
RouteBuilderDefault.spicastCoreRouteOrPluginRoute()
RouteBuilder<R>
SpincastRouter.TRACE()
RouteBuilder<R>
RouteBuilderDefault.TRACE()
RouteBuilder<R>
SpincastRouter.TRACE(String path)
RouteBuilder<R>
RouteBuilderDefault.xml()
Methods in org.spincast.plugins.routing that return types with arguments of type RouteBuilder
Modifier and Type
Method and Description
protected Class<? extends RouteBuilder>
SpincastRoutingPluginModule.getRouteBuilderImplClass()
Copyright © 2019. All rights reserved.