| Package | Description |
|---|---|
| org.spincast.core.routing | |
| org.spincast.core.server |
| 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.
|
Copyright © 2016. All rights reserved.