com.atlassian.cache.servlet.resolver
Interface ContentResolver

All Known Implementing Classes:
DwrContentResolver, ResourceStreamResolver

public interface ContentResolver

Defines a interface which allows a class to resolve content that should be included in the CombinedCachingServlet.


Method Summary
 String getContent(String path, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method will utilize whatever strategey the implementor requires to attain the requested content.
 void init(javax.servlet.ServletConfig servletConfig)
           
 

Method Detail

getContent

String getContent(String path,
                  javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
                  throws IOException,
                         javax.servlet.ServletException
This method will utilize whatever strategey the implementor requires to attain the requested content.

Parameters:
path - is the path to the requested content
request - an HttpServletRequest
response - an HttpServletResonse
Returns:
a string representing the content requested
Throws:
IOException
javax.servlet.ServletException

init

void init(javax.servlet.ServletConfig servletConfig)
          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException


Atlassian Cache Servlet is developed by Atlassian Software Systems.