info.sswap.api.servlet
Class ContentCacheHandler

java.lang.Object
  extended by info.sswap.api.servlet.ContentCacheHandler

public class ContentCacheHandler
extends java.lang.Object

Handler for HTTP requests for the content cache.

Author:
Blazej Bulka

Field Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKEN_PARAM

public static final java.lang.String TOKEN_PARAM
The name of the parameter in the query string that should contain the token

See Also:
Constant Field Values
Constructor Detail

ContentCacheHandler

public ContentCacheHandler()
Method Detail

get

public static final ContentCacheHandler get()
Accessor to the singleton instance

Returns:
the singleton instance

handleGet

public final void handleGet(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws javax.servlet.ServletException
Handles an HTTP GET request for the cache

Parameters:
request - the request
response - the response
Throws:
javax.servlet.ServletException


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.