public interface StaticContentLoader
StrutsBeanSelectionProvider
for more details.Modifier and Type | Interface and Description |
---|---|
static class |
StaticContentLoader.Validator |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_STATIC_CONTENT_PATH
Default path at which static content is served, can be changed
by using
StrutsConstants.STRUTS_UI_STATIC_CONTENT_PATH |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(String path) |
void |
findStaticResource(String path,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Locate a static resource and copy directly to the response, setting the
appropriate caching headers.
|
void |
setHostConfig(HostConfig filterConfig) |
static final String DEFAULT_STATIC_CONTENT_PATH
StrutsConstants.STRUTS_UI_STATIC_CONTENT_PATH
boolean canHandle(String path)
path
- Requested resource pathvoid setHostConfig(HostConfig filterConfig)
filterConfig
- The filter configurationvoid findStaticResource(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
path
- The resource namerequest
- The requestresponse
- The responseIOException
- If anything goes wrongCopyright © 2000–2023 Apache Software Foundation. All rights reserved.