public final class StaticResourcesServletConfig extends ServletConfigBase
| Constructor and Description |
|---|
StaticResourcesServletConfig()
Creates a configuration for serving static resources.
|
StaticResourcesServletConfig(String pathSpec) |
StaticResourcesServletConfig(String pathSpec,
String relativeResourceBase)
Creates a configuration for serving static resources.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRelativeResourceBase()
Returns the relative path to the static resources.
|
void |
setRelativeResourceBase(String relativeResourceBase)
Sets the relative path to the static resources.
|
getPathSpec, setPathSpecpublic StaticResourcesServletConfig()
public StaticResourcesServletConfig(String pathSpec)
public StaticResourcesServletConfig(String pathSpec, String relativeResourceBase)
pathSpec - the pattern where the static resources should be servedrelativeResourceBase - the relative path to the static resourcesCopyright © 2002–2018 CoreMedia AG. All rights reserved.