mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@687847 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -29,20 +29,17 @@ import org.apache.struts2.dispatcher.ng.HostConfig;
|
||||
|
||||
/**
|
||||
* Interface for loading static resources, based on a path
|
||||
*
|
||||
*/
|
||||
public interface StaticContentLoader {
|
||||
|
||||
/**
|
||||
* @param path
|
||||
* Requested resource path
|
||||
* @param path Requested resource path
|
||||
* @return true if this loader is able to load this type of resource, false otherwise
|
||||
*/
|
||||
public boolean canHandle(String path);
|
||||
|
||||
/**
|
||||
* @param filterConfig
|
||||
* The filter configuration
|
||||
* @param filterConfig The filter configuration
|
||||
*/
|
||||
public abstract void setHostConfig(HostConfig filterConfig);
|
||||
|
||||
@@ -50,14 +47,10 @@ public interface StaticContentLoader {
|
||||
* Locate a static resource and copy directly to the response, setting the
|
||||
* appropriate caching headers.
|
||||
*
|
||||
* @param name
|
||||
* The resource name
|
||||
* @param request
|
||||
* The request
|
||||
* @param response
|
||||
* The response
|
||||
* @throws IOException
|
||||
* If anything goes wrong
|
||||
* @param path The resource name
|
||||
* @param request The request
|
||||
* @param response The response
|
||||
* @throws IOException If anything goes wrong
|
||||
*/
|
||||
public abstract void findStaticResource(String path, HttpServletRequest request, HttpServletResponse response)
|
||||
throws IOException;
|
||||
|
||||
Reference in New Issue
Block a user