Uses of Interface
org.spincast.core.routing.RouteBuilder
Packages that use RouteBuilder
-
Uses of RouteBuilder in org.spincast.core.routing
Methods in org.spincast.core.routing that return RouteBuilderModifier and TypeMethodDescriptionRouteBuilder.accept(Set<ContentTypeDefaults> acceptedContentTypes) Sets the acceptedContent-Types.RouteBuilder.accept(ContentTypeDefaults... acceptedContentTypes) Sets the acceptedContent-Types.RouteBuilder.acceptAsString(String... acceptedContentTypes) Sets the acceptedContent-Types.RouteBuilder.acceptAsString(Set<String> acceptedContentTypes) Sets the acceptedContent-Types.Adds an "after" filter which will only be applied to this particular route.RouteBuilder.ALL()Adds all HTTP methods as being supported.Router.ALL()Starts the creation of a route matching any HTTP method, and on any path.Starts the creation of a route matching any HTTP method.RouteBuilder.allRoutingTypes()This route will be considered for all routing types.Adds a "before" filter which will only be applied to this particular route.RouteBuilder.cache()Adds cache headers.RouteBuilder.cache(int seconds) Adds public cache headers.RouteBuilder.cache(int seconds, boolean isPrivate) Adds cache headers.Adds cache headers.A route may have multiple "classes" to identify and group them.RouteBuilderFactory.create()Creates a route builder without using a router.Creates a route builder using the specified router.RouteBuilder.DELETE()AddsDELETEas a supported HTTP method.Router.DELETE()Starts the creation of aDELETEroute, for all path.Starts the creation of aDELETEroute.RouteBuilder.exception()This route will be considered during anExceptionrouting process.RouteBuilder.found()This route will be considered during aFoundrouting process.RouteBuilder.GET()AddssGETas a supported HTTP method.Router.GET()Starts the creation of aGETroute, for all path.Starts the creation of aGETroute.RouteBuilder.HEAD()AddsHEADas a supported HTTP method.Router.HEAD()Starts the creation of aHEADroute, for all path.Starts the creation of aHEADroute.RouteBuilder.html()Addsapplication/htmlas an acceptedContent-Type.An id that can be used to identify the route.RouteBuilder.json()Addsapplication/jsonas an acceptedContent-Type.RouteBuilder.methods(Set<HttpMethod> httpMethods) Adds the specified HTTP methods as being supported.RouteBuilder.methods(HttpMethod... httpMethods) Adds the specified HTTP methods as being supported.Router.methods(String path, Set<HttpMethod> httpMethods) Starts the creation of a route matching the specified HTTP methods.Router.methods(String path, HttpMethod... httpMethods) Starts the creation of a route matching the specified HTTP methods.Router.methods(Set<HttpMethod> httpMethods) Starts the creation of a route matching the specified HTTP methods and on any path.Router.methods(HttpMethod... httpMethods) Starts the creation of a route matching the specified HTTP methods and on any path.RouteBuilder.noCache()Automatically adds "no-cache" headers to the response.RouteBuilder.notFound()This route will be considered during aNot Foundrouting process.RouteBuilder.OPTIONS()AddsOPTIONSas a supported HTTP method.Router.OPTIONS()Starts the creation of aOPTIONSroute, for all path.Starts the creation of aOPTIONSroute.RouteBuilder.PATCH()AddsPATCHas a supported HTTP method.Router.PATCH()Starts the creation of aPATCHroute, for all path.Starts the creation of aPATCHroute.The path of the route.RouteBuilder.pos(int position) The position of the handler.RouteBuilder.POST()AddsPOSTas a supported HTTP method.Router.POST()Starts the creation of aPOSTroute, for all path.Starts the creation of aPOSTroute.RouteBuilder.PUT()AddsPUTas a supported HTTP method.Router.PUT()Starts the creation of aPUTroute, for all path.Starts the creation of aPUTroute.Skip a "before" and "after" filter for this route.RouteBuilder.skipResourcesRequests()Won't be applied if the request is for a resource (Route.isStaticResourceRoute()).Generic method to provide specifications for an endpoint.RouteBuilder.specsIgnore()When calling this method, the associated route won't be part of the generated specs.RouteBuilder.spicastCoreRouteOrPluginRoute()This should only by called by *plugins*.RouteBuilder.TRACE()AddsTRACEas a supported HTTP method.Router.TRACE()Starts the creation of aTRACEroute, for all path.Starts the creation of aTRACEroute, at the specified position.RouteBuilder.xml()Addsapplication/xmlas an acceptedContent-Type. -
Uses of RouteBuilder in org.spincast.plugins.routing
Classes in org.spincast.plugins.routing that implement RouteBuilderModifier and TypeClassDescriptionclassRouteBuilderDefault<R extends RequestContext<?>,W extends WebsocketContext<?>> Methods in org.spincast.plugins.routing that return RouteBuilderModifier and TypeMethodDescriptionRouteBuilderDefault.accept(Set<ContentTypeDefaults> acceptedContentTypes) RouteBuilderDefault.accept(ContentTypeDefaults... acceptedContentTypes) RouteBuilderDefault.acceptAsString(String... acceptedContentTypes) RouteBuilderDefault.acceptAsString(Set<String> acceptedContentTypes) RouteBuilderDefault.ALL()SpincastRouter.ALL()RouteBuilderDefault.allRoutingTypes()RouteBuilderDefault.cache()RouteBuilderDefault.cache(int seconds) RouteBuilderDefault.cache(int seconds, boolean isPrivate) RouteBuilderDefault.DELETE()SpincastRouter.DELETE()RouteBuilderDefault.exception()RouteBuilderDefault.found()RouteBuilderDefault.GET()SpincastRouter.GET()RouteBuilderDefault.HEAD()SpincastRouter.HEAD()RouteBuilderDefault.html()RouteBuilderDefault.json()RouteBuilderDefault.methods(Set<HttpMethod> httpMethods) RouteBuilderDefault.methods(HttpMethod... httpMethods) SpincastRouter.methods(String path, Set<HttpMethod> httpMethods) SpincastRouter.methods(String path, HttpMethod... httpMethods) SpincastRouter.methods(Set<HttpMethod> httpMethods) SpincastRouter.methods(HttpMethod... httpMethods) RouteBuilderDefault.noCache()RouteBuilderDefault.notFound()RouteBuilderDefault.OPTIONS()SpincastRouter.OPTIONS()RouteBuilderDefault.PATCH()SpincastRouter.PATCH()RouteBuilderDefault.pos(int position) RouteBuilderDefault.POST()SpincastRouter.POST()RouteBuilderDefault.PUT()SpincastRouter.PUT()RouteBuilderDefault.skipResourcesRequests()RouteBuilderDefault.specsIgnore()RouteBuilderDefault.spicastCoreRouteOrPluginRoute()RouteBuilderDefault.TRACE()SpincastRouter.TRACE()RouteBuilderDefault.xml()Methods in org.spincast.plugins.routing that return types with arguments of type RouteBuilderModifier and TypeMethodDescriptionprotected Class<? extends RouteBuilder>SpincastRoutingPluginModule.getRouteBuilderImplClass()