|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.sswap.api.servlet.ContentCacheHandler
public class ContentCacheHandler
Handler for HTTP requests for the content cache.
| Field Summary | |
|---|---|
private static ContentCacheHandler |
instance
A singleton instance of this class |
static java.lang.String |
TOKEN_PARAM
The name of the parameter in the query string that should contain the token |
| Constructor Summary | |
|---|---|
ContentCacheHandler()
|
|
| Method Summary | |
|---|---|
static ContentCacheHandler |
get()
Accessor to the singleton instance |
void |
handleGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles an HTTP GET request for the cache |
private void |
sendError(javax.servlet.http.HttpServletResponse response,
int status,
java.lang.String errMsg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TOKEN_PARAM
private static final ContentCacheHandler instance
| Constructor Detail |
|---|
public ContentCacheHandler()
| Method Detail |
|---|
public static final ContentCacheHandler get()
public final void handleGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException
request - the requestresponse - the response
javax.servlet.ServletException
private void sendError(javax.servlet.http.HttpServletResponse response,
int status,
java.lang.String errMsg)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||