com.purpletech.servlets
Class ImageServlet
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--com.purpletech.servlets.DefaultServlet
|
+--com.purpletech.servlets.ImageServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- GraphServlet
- public class ImageServlet
- extends DefaultServlet
- See Also:
- Serialized Form
|
Field Summary |
static boolean |
usePure
|
|
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
protected java.awt.Component |
getComponent(javax.servlet.http.HttpServletRequest req)
subclasses should override this method to return a Java AWT
Component which draws their image |
void |
init(javax.servlet.ServletConfig cfg)
|
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
usePure
public static final boolean usePure
- See Also:
- Constant Field Values
ImageServlet
public ImageServlet()
init
public void init(javax.servlet.ServletConfig cfg)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class javax.servlet.GenericServlet
javax.servlet.ServletException
doGet
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.io.IOException,
javax.servlet.ServletException
- Overrides:
doGet in class javax.servlet.http.HttpServlet
java.io.IOException
javax.servlet.ServletException
getComponent
protected java.awt.Component getComponent(javax.servlet.http.HttpServletRequest req)
throws javax.servlet.ServletException
- subclasses should override this method to return a Java AWT
Component which draws their image
javax.servlet.ServletException