public interface StaticContentLoader
StrutsBeanSelectionProvider
for more details.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) |
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–2020 Apache Software Foundation. All rights reserved.