|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.sswap.api.servlet.CacheHandler
public class CacheHandler
Handler for HTTP requests for the cache (e.g., polling for RRGs). The cache-related requests are forwarded to this class by AbstractSSWAPServlet
| Field Summary | |
|---|---|
static java.lang.String |
EXECUTION_STATUS_HEADER
|
static java.lang.String |
POLLING_INTERVAL_HEADER
The name of the HTTP field in the response to the polling request that should contain the suggested polling interval (in milliseconds) |
static java.lang.String |
TOKEN_PARAM
The name of the parameter in the query string that should contain the token |
| Constructor Summary | |
|---|---|
CacheHandler()
|
|
| Method Summary | |
|---|---|
static CacheHandler |
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 |
| 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
public static final java.lang.String POLLING_INTERVAL_HEADER
public static final java.lang.String EXECUTION_STATUS_HEADER
| Constructor Detail |
|---|
public CacheHandler()
| Method Detail |
|---|
public static final CacheHandler 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||