public final class StaticResourcesServletConfig extends ServletConfigBase
| Constructor and Description |
|---|
StaticResourcesServletConfig()
Creates a configuration for serving static resources.
|
StaticResourcesServletConfig(String relativeResourceBase,
String pathSpec)
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 relativeResourceBase, String pathSpec)
relativeResourceBase - the relative path to the static resourcespathSpec - the pattern where the static resources should be servedCopyright © 2002–2017 CoreMedia AG. All rights reserved.