public class ImageChartServlet extends BaseInfoServlet
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ImageChartServlet.CacheElement |
| Modifier and Type | Field and Description |
|---|---|
private static long |
CACHE_PURGE_INTERVAL |
private java.util.Map<java.lang.String,ImageChartServlet.CacheElement> |
cachedImages |
private long |
lastCachePurgeTime |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
ImageChartServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
private byte[] |
getImageData(java.lang.String imageInfo,
javax.servlet.http.HttpServletRequest request) |
private void |
tryCachePurge() |
getIntRequestParameterdoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprivate static final long serialVersionUID
private static final long CACHE_PURGE_INTERVAL
private long lastCachePurgeTime
private final java.util.Map<java.lang.String,ImageChartServlet.CacheElement> cachedImages
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
doGet in class javax.servlet.http.HttpServletjava.io.IOExceptionprivate byte[] getImageData(java.lang.String imageInfo,
javax.servlet.http.HttpServletRequest request)
throws java.io.IOException
java.io.IOExceptionprivate void tryCachePurge()