public.javadoc.org.spincast.core.routing.class-use.HttpMethod.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 Class org.spincast.core.routing.HttpMethod (org.spincast:spincast-framework 1.0.0 API)
Uses of Class
org.spincast.core.routing.HttpMethod
-
-
-
Uses of HttpMethod in org.spincast.core.exchange
Methods in org.spincast.core.exchange that return HttpMethod
Modifier and Type
Method and Description
HttpMethod
RequestRequestContextAddon.getHttpMethod()
Gets the request's HTTP method
.
-
Uses of HttpMethod in org.spincast.core.filters
Methods in org.spincast.core.filters that return HttpMethod
Modifier and Type
Method and Description
HttpMethod
CorsFilterClient.getHttpMethod()
Gets the request's HTTP method.
Methods in org.spincast.core.filters that return types with arguments of type HttpMethod
Modifier and Type
Method and Description
Set<HttpMethod>
CorsFilterClient.getAllowedMethods()
The allowed HTTP methods, for the cors request.
protected Set<HttpMethod>
SpincastFiltersDefault.getCorsDefaultAllowedMethods()
The HTTP methods allowed by default.
Method parameters in org.spincast.core.filters with type arguments of type HttpMethod
Modifier and Type
Method and Description
void
SpincastFiltersDefault.cors(R context,
Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods)
void
SpincastFilters.cors(R context,
Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods)
Cross-Origin Resource Sharing (Cors) handling.
void
SpincastFiltersDefault.cors(R context,
Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods,
int maxAgeInSeconds)
void
SpincastFilters.cors(R context,
Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods,
int maxAgeInSeconds)
Cross-Origin Resource Sharing (Cors) handling.
protected void
CorsFilterDefault.corsAddAllowMethods(CorsFilterClient corsFilterClient,
Set<HttpMethod> allowedMethods)
protected CorsFilterClient
SpincastFiltersDefault.createCorsFilterClient(R context,
Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods,
int maxAgeInSeconds)
Creates a client for the cors filter.
protected boolean
CorsFilterDefault.isCorsRequestMethodHeaderValid(CorsFilterClient corsFilterClient,
Set<HttpMethod> allowedMethods)
-
Uses of HttpMethod in org.spincast.core.routing
Methods in org.spincast.core.routing that return HttpMethod
Modifier and Type
Method and Description
static HttpMethod
HttpMethod.fromStringValue(String stringValue)
Returns a HttpMethod from its String representation,
or null
if not found.
static HttpMethod
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
static HttpMethod[]
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
Methods in org.spincast.core.routing that return types with arguments of type HttpMethod
Modifier and Type
Method and Description
Set<HttpMethod>
Route.getHttpMethods()
The HTTP methods
this route applies to.
Methods in org.spincast.core.routing with parameters of type HttpMethod
Modifier and Type
Method and Description
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(String path,
HttpMethod... httpMethods)
Starts the creation of a route matching the specified
HTTP methods.
Method parameters in org.spincast.core.routing with type arguments of type HttpMethod
Modifier and Type
Method and Description
void
Router.cors(Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods)
Enables Cross-Origin Resource Sharing (Cors) on
matching requests (except the static resources,
for whom cors has to be activated directly!)
void
Router.cors(Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods,
int maxAgeInSeconds)
Enables Cross-Origin Resource Sharing (Cors) on
matching requests (except the static resources,
for whom cors has to be activated directly!)
void
Router.cors(String path,
Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods)
Enables Cross-Origin Resource Sharing (Cors) on
requests matching the specified path (except the static resources,
for whom cors has to be activated directly!)
void
Router.cors(String path,
Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods,
int maxAgeInSeconds)
Enables Cross-Origin Resource Sharing (Cors) on
requests matching the specified path (except the static resources,
for whom cors has to be activated directly!)
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,
Set<HttpMethod> httpMethods)
Starts the creation of a route matching the specified
HTTP methods.
-
Uses of HttpMethod in org.spincast.core.server
Methods in org.spincast.core.server that return HttpMethod
Modifier and Type
Method and Description
HttpMethod
Server.getHttpMethod(Object exchange)
Gets the HTTP method associated with the request.
-
Uses of HttpMethod in org.spincast.plugins.request
Methods in org.spincast.plugins.request that return HttpMethod
Modifier and Type
Method and Description
HttpMethod
SpincastRequestRequestContextAddon.getHttpMethod()
-
Uses of HttpMethod in org.spincast.plugins.routing
Methods in org.spincast.plugins.routing that return types with arguments of type HttpMethod
Modifier and Type
Method and Description
Set<HttpMethod>
RouteDefault.getHttpMethods()
Set<HttpMethod>
RouteBuilderDefault.getHttpMethods()
Methods in org.spincast.plugins.routing with parameters of type HttpMethod
Modifier and Type
Method and Description
protected List<RouteHandlerMatch<R>>
SpincastRouter.createRegularHandlerMatches(RoutingType routingType,
Route<R> route,
HttpMethod httpMethod,
List<String> acceptedContentTypes,
URL url,
int position)
Get the matches (filters and main handle) if the route matches the URL and
HTTP method, or returns NULL otherwise.
protected boolean
SpincastRouter.isRouteMatchHttpMethod(Route<R> route,
HttpMethod httpMethod)
Validate if a route matches the given HTTP method.
RouteBuilder<R>
SpincastRouter.methods(HttpMethod... httpMethods)
RouteBuilder<R>
RouteBuilderDefault.methods(HttpMethod... httpMethods)
RouteBuilder<R>
SpincastRouter.methods(String path,
HttpMethod... httpMethods)
Method parameters in org.spincast.plugins.routing with type arguments of type HttpMethod
Modifier and Type
Method and Description
void
SpincastRouter.cors(Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods)
void
SpincastRouter.cors(Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods,
int maxAgeInSeconds)
void
SpincastRouter.cors(String path,
Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods)
void
SpincastRouter.cors(String path,
Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
Set<HttpMethod> allowedMethods,
int maxAgeInSeconds)
Route<R>
RouteFactory.createRoute(String id,
boolean isResourceRoute,
StaticResource<R> staticResource,
boolean isSpicastCoreRouteOrPluginRoute,
Set<HttpMethod> httpMethods,
String path,
Set<RoutingType> routingTypes,
List<Handler<R>> beforeFilters,
Handler<R> mainHandler,
List<Handler<R>> afterFilters,
int position,
Set<String> acceptedContentTypes,
Set<String> filterIdsToSkip,
boolean skipResources)
RouteBuilder<R>
SpincastRouter.methods(Set<HttpMethod> httpMethods)
RouteBuilder<R>
RouteBuilderDefault.methods(Set<HttpMethod> httpMethods)
RouteBuilder<R>
SpincastRouter.methods(String path,
Set<HttpMethod> httpMethods)
Constructor parameters in org.spincast.plugins.routing with type arguments of type HttpMethod
Constructor and Description
RouteDefault(String id,
boolean isResourceRoute,
StaticResource<R> staticResource,
boolean spicastCoreRouteOrPluginRoute,
Set<HttpMethod> httpMethods,
String path,
Set<RoutingType> routingTypes,
List<Handler<R>> beforeFilters,
Handler<R> mainHandler,
List<Handler<R>> afterFilters,
int position,
Set<String> acceptedContentTypes,
Set<String> filterIdsToSkip,
boolean skipResources)
Constructor
-
Uses of HttpMethod in org.spincast.plugins.undertow
Methods in org.spincast.plugins.undertow that return HttpMethod
Modifier and Type
Method and Description
HttpMethod
SpincastUndertowServer.getHttpMethod(Object exchange)
Methods in org.spincast.plugins.undertow that return types with arguments of type HttpMethod
Modifier and Type
Method and Description
protected Set<HttpMethod>
CorsHandlerDefault.getStaticResourceCorsAllowedMethods()
Those are the valid HTTP methods for requests to
static resources served directly by the HTTP server.
Copyright © 2019. All rights reserved.