| Package | Description |
|---|---|
| org.spincast.core.routing | |
| org.spincast.core.server | |
| org.spincast.plugins.routing | |
| org.spincast.plugins.undertow |
| Modifier and Type | Method and Description |
|---|---|
StaticResource<R> |
StaticResourceBuilder.create()
Creates and returns the static resource without adding it to
the router.
|
StaticResource<R> |
StaticResourceFactory.create(StaticResourceType staticResourceType,
String url,
String path,
Handler<R> generator,
StaticResourceCorsConfig corsConfig,
StaticResourceCacheConfig cacheConfig,
boolean ignoreQueryString) |
| Modifier and Type | Method and Description |
|---|---|
void |
Router.addStaticResource(StaticResource<R> staticResource)
Adds a
static resource route, directly. |
| Modifier and Type | Method and Description |
|---|---|
StaticResource<?> |
Server.getStaticResourceServed(String urlPath)
Gets a static resource served directly by the server, using its path.
|
| Modifier and Type | Method and Description |
|---|---|
Set<StaticResource<?>> |
Server.getStaticResourcesServed()
Gets all static resource served directly by the server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Server.addStaticResourceToServe(StaticResource<?> staticResource)
Adds a static resource to serve directly by the server.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StaticResourceDefault<R extends RequestContext<?>>
Represents a static resource.
|
| Modifier and Type | Method and Description |
|---|---|
StaticResource<R> |
StaticResourceBuilderDefault.create() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpincastRouter.addStaticResource(StaticResource<R> staticResource) |
| Modifier and Type | Method and Description |
|---|---|
protected StaticResource<?> |
SpincastResourceHandlerDefault.getStaticResource() |
StaticResource<?> |
SpincastUndertowServer.getStaticResourceServed(String urlPath) |
| Modifier and Type | Method and Description |
|---|---|
Set<StaticResource<?>> |
SpincastUndertowServer.getStaticResourcesServed() |
protected Map<String,StaticResource<?>> |
SpincastUndertowServer.getStaticResourcesServedByUrlPath() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpincastUndertowServer.addStaticResourceToServe(StaticResource<?> staticResource) |
SpincastResourceHandler |
SpincastResourceHandlerFactory.create(io.undertow.server.handlers.resource.ResourceManager resourceManager,
StaticResource<?> staticResource) |
SpincastResourceHandler |
SpincastResourceHandlerFactory.create(io.undertow.server.handlers.resource.ResourceManager resourceManager,
StaticResource<?> staticResource,
io.undertow.server.HttpHandler nextHandler) |
| Constructor and Description |
|---|
SpincastResourceHandlerDefault(io.undertow.server.handlers.resource.ResourceManager resourceManager,
StaticResource<?> staticResource,
io.undertow.server.HttpHandler next,
SpincastUtils spincastUtils) |
SpincastResourceHandlerDefault(io.undertow.server.handlers.resource.ResourceManager resourceManager,
StaticResource<?> staticResource,
SpincastUtils spincastUtils) |
Copyright © 2018. All rights reserved.