| Package | Description |
|---|---|
| org.spincast.core.routing | |
| org.spincast.core.server | |
| org.spincast.plugins.routing | |
| org.spincast.plugins.undertow |
| Modifier and Type | Method and Description |
|---|---|
IStaticResource<R> |
IStaticResourceBuilder.create()
Creates and returns the static resource without adding it to
the router.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IRouter.addStaticResource(IStaticResource<R> staticResource)
Adds a
static resource route, directly. |
| Modifier and Type | Method and Description |
|---|---|
IStaticResource<?> |
IServer.getStaticResourceServed(String urlPath)
Gets a static resource served directly by the server, using its path.
|
| Modifier and Type | Method and Description |
|---|---|
Set<IStaticResource<?>> |
IServer.getStaticResourcesServed()
Gets all static resource served directly by the server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IServer.addStaticResourceToServe(IStaticResource<?> staticResource)
Adds a static resource to serve directly by the server.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StaticResource<R extends IRequestContext<?>>
Represents a static resource.
|
| Modifier and Type | Method and Description |
|---|---|
IStaticResource<R> |
StaticResourceBuilder.create() |
IStaticResource<R> |
IStaticResourceFactory.create(StaticResourceType staticResourceType,
String url,
String path,
IHandler<R> generator,
IStaticResourceCorsConfig corsConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpincastRouter.addStaticResource(IStaticResource<R> staticResource) |
| Modifier and Type | Method and Description |
|---|---|
IStaticResource<?> |
SpincastUndertowServer.getStaticResourceServed(String urlPath) |
| Modifier and Type | Method and Description |
|---|---|
Set<IStaticResource<?>> |
SpincastUndertowServer.getStaticResourcesServed() |
protected Map<String,IStaticResource<?>> |
SpincastUndertowServer.getStaticResourcesServedByUrlPath() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpincastUndertowServer.addStaticResourceToServe(IStaticResource<?> staticResource) |
Copyright © 2016. All rights reserved.