| Package | Description |
|---|---|
| org.spincast.core.routing | |
| org.spincast.core.server | |
| org.spincast.plugins.routing | |
| org.spincast.plugins.undertow |
| Modifier and Type | Method and Description |
|---|---|
StaticResourceType |
StaticResource.getStaticResourceType()
The type of static resource.
|
static StaticResourceType |
StaticResourceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StaticResourceType[] |
StaticResourceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
StaticResource<R> |
StaticResourceFactory.create(StaticResourceType staticResourceType,
String url,
String path,
Handler<R> generator,
StaticResourceCorsConfig corsConfig,
StaticResourceCacheConfig cacheConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
Server.removeStaticResourcesServed(StaticResourceType staticResourceType,
String urlPath)
Removes a static resource served directly by the server.
|
| Modifier and Type | Method and Description |
|---|---|
StaticResourceType |
StaticResourceDefault.getStaticResourceType() |
| Constructor and Description |
|---|
StaticResourceDefault(StaticResourceType staticResourceType,
String urlPath,
String resourcePath,
Handler<R> generator,
StaticResourceCorsConfig corsConfig,
StaticResourceCacheConfig cacheConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SpincastUndertowServer.removeStaticResource(StaticResourceType staticResourceType,
String urlPath) |
void |
SpincastUndertowServer.removeStaticResourcesServed(StaticResourceType staticResourceType,
String urlPath) |
Copyright © 2016. All rights reserved.