|
|||||||||
| 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.location.LocThumbnailServlet
public final class LocThumbnailServlet
Servlet to serve dynamic location thumbnail icon (ie with crosshairs). This expects two parameters, x and y, specifying the pixel coordinates of the centre of the crosshairs, ie where the exhibit is.
If the parameters are missing or out of bounds then the thumbnail is produced without crosshairs, possibly by redirection to the original (source) raw thumbnail image.
The image produced is with the type indicated by DYN_MAP_IMG_TYPE, in an efficient (small), indexed format.
Altered thumbnails may be cached, possibly with SoftReferences.
| Field Summary | |
|---|---|
private static long |
classLoadTime
Creation/load time of this class. |
private static long |
serialVersionUID
Unique Serialisation class ID generated by http://random.hd.org/. |
| Constructor Summary | |
|---|---|
LocThumbnailServlet()
|
|
| 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 creation time of this class. |
| 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 classLoadTime
private static final long serialVersionUID
| Constructor Detail |
|---|
public LocThumbnailServlet()
| 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.60.69 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||