| Package | Description |
|---|---|
| org.spincast.core.routing | |
| org.spincast.plugins.routing | |
| org.spincast.plugins.undertow |
| Modifier and Type | Method and Description |
|---|---|
IStaticResourceCorsConfig |
IStaticResource.getCorsConfig()
The cors configurations for the static resource.
|
| Modifier and Type | Method and Description |
|---|---|
IStaticResource<R> |
IStaticResourceFactory.create(StaticResourceType staticResourceType,
String url,
String path,
IHandler<R> generator,
IStaticResourceCorsConfig corsConfig,
IStaticResourceCacheConfig cacheConfig) |
| Modifier and Type | Class and Description |
|---|---|
class |
StaticResourceCorsConfig |
| Modifier and Type | Method and Description |
|---|---|
IStaticResourceCorsConfig |
IStaticResourceCorsConfigFactory.create(Set<String> allowedOrigins,
Set<String> extraHeadersAllowedToBeRead,
Set<String> extraHeadersAllowedToBeSent,
boolean allowCookies,
int maxAgeInSeconds) |
IStaticResourceCorsConfig |
StaticResourceBuilder.getCorsConfig() |
IStaticResourceCorsConfig |
StaticResource.getCorsConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends IStaticResourceCorsConfig> |
SpincastRoutingPluginGuiceModule.getStaticResourceCorsConfigImplClass() |
| Constructor and Description |
|---|
StaticResource(StaticResourceType staticResourceType,
String urlPath,
String resourcePath,
IHandler<R> generator,
IStaticResourceCorsConfig corsConfig,
IStaticResourceCacheConfig cacheConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected IStaticResourceCorsConfig |
CorsHandler.getCorsConfig() |
| Modifier and Type | Method and Description |
|---|---|
ICorsHandler |
ICorsHandlerFactory.create(io.undertow.server.HttpHandler nextHandler,
IStaticResourceCorsConfig corsConfig) |
protected ICorsFilterClient |
CorsHandler.createCorsFilterClient(io.undertow.server.HttpServerExchange exchange,
IStaticResourceCorsConfig corsConfig)
Create the client for the cors filter.
|
| Constructor and Description |
|---|
CorsHandler(io.undertow.server.HttpHandler nextHandler,
IStaticResourceCorsConfig corsConfig,
ICorsFilter corsFilter) |
Copyright © 2016. All rights reserved.