|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.hd.d.pg2k.webSvr.virtualHosts.AlohaEarth.AlohaEarthMapServlet
public final class AlohaEarthMapServlet
Servlet to serve dynamic Aloha Earth map image. This expects to be able to collect parameters with a AEParams object.
If the parameters are missing or out of bounds then a default image is produced.
The image produced is with the type indicated by DYN_MAP_IMG_TYPE, in an efficient (small), indexed format.
Images may be cached, possibly with SoftReference, though any such cache may need to be cleared when the exhibit set or meta data changes.
| Field Summary | |
|---|---|
private static long |
serialVersionUID
Unique Serialisation class ID generated by http://random.hd.org/. |
| Constructor Summary | |
|---|---|
AlohaEarthMapServlet()
|
|
| Method Summary | |
|---|---|
void |
doAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Respond to a GET/HEAD request for the content served by this servlet. |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Respond to a GET request for the content served by this servlet. |
void |
doHead(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Respond to a HEAD request for the content served by this servlet. |
protected long |
getLastModified(javax.servlet.http.HttpServletRequest request)
Have the last-modified date be the AEP unchanged-since timestamp. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doOptions, doPost, doPut, doTrace, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
| Constructor Detail |
|---|
public AlohaEarthMapServlet()
| Method Detail |
|---|
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
doGet in class javax.servlet.http.HttpServletrequest - The servlet request we are processingresponse - The servlet response we are producing
java.io.IOException - if an input/output error occurs
javax.servlet.ServletException - if a servlet error occurs
public void doHead(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
doHead in class javax.servlet.http.HttpServletrequest - The servlet request we are processingresponse - The servlet response we are producing
java.io.IOException - if an input/output error occurs
javax.servlet.ServletException - if a servlet error occurs
public void doAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
request - The servlet request we are processingresponse - The servlet response we are producing
java.io.IOException - if an input/output error occurs
javax.servlet.ServletException - if a servlet error occursprotected long getLastModified(javax.servlet.http.HttpServletRequest request)
getLastModified in class javax.servlet.http.HttpServlet
|
DHD Multimedia Gallery V1.53.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||