public class ARCRecordingProxy extends AbstractRequestHandler implements ShutdownListener
Constructor and Description |
---|
ARCRecordingProxy() |
Modifier and Type | Method and Description |
---|---|
ARCCacheDirectory |
getArcCacheDir() |
URLtoARCCacher |
getCacher() |
long |
getExpiresMS() |
long |
getFakeExpiresMS() |
boolean |
handleRequest(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
Possibly handle an incoming HttpServletRequest, much like a normal
HttpServlet, but includes a return value.
|
void |
setArcCacheDir(ARCCacheDirectory arcCacheDir) |
void |
setCacher(URLtoARCCacher cacher) |
void |
setExpiresMS(long expiresMS) |
void |
setFakeExpiresMS(long fakeExpiresMS) |
void |
shutdown()
Called when the ServletContext is being destroyed.
|
getAccessPointPath, getBeanName, getInternalPort, getMapParam, getMapParamOrEmpty, getRequiredMapParam, getServletContext, registerPortListener, setAccessPointPath, setBeanName, setInternalPort, setServletContext, translateRequestPath, translateRequestPathQuery
public boolean handleRequest(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse) throws javax.servlet.ServletException, IOException
RequestHandler
handleRequest
in interface RequestHandler
httpRequest
- the incoming HttpServletRequesthttpResponse
- the HttpServletResponse to return data to the client.javax.servlet.ServletException
- for usual reasons.IOException
- for usual reasons.public ARCCacheDirectory getArcCacheDir()
public void setArcCacheDir(ARCCacheDirectory arcCacheDir)
arcCacheDir
- the arcCacheDir to setpublic URLtoARCCacher getCacher()
public void setCacher(URLtoARCCacher cacher)
cacher
- the cacher to setpublic long getExpiresMS()
public void setExpiresMS(long expiresMS)
expiresMS
- the expiresMS to setpublic long getFakeExpiresMS()
public void setFakeExpiresMS(long fakeExpiresMS)
fakeExpiresMS
- the fakeExpiresMS to setpublic void shutdown()
ShutdownListener
shutdown
in interface ShutdownListener
Copyright © 2005–2015 IIPC. All rights reserved.