portlets.compoze.groupware
Class EmbeddedImageServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
portlets.compoze.groupware.EmbeddedImageServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class EmbeddedImageServlet
- extends javax.servlet.http.HttpServlet
- implements java.io.Serializable
This class is a servlet that writes an embedded image.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
DEFAULT_EMBEDDED_IMAGE_SERVLET_NAME
|
static java.lang.String |
IMAGE_INDEX
This represents the request parameter for the image index (required). |
static java.lang.String |
MESSAGE_ID
This represents the request parameter for the message id (required). |
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles a get request for an attachment. |
static java.lang.String |
getEmbeddedImageServletName(javax.servlet.http.HttpServletRequest request)
Constructs the servlet name for the EmbeddedImageServlet . |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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 |
DEFAULT_EMBEDDED_IMAGE_SERVLET_NAME
public static final java.lang.String DEFAULT_EMBEDDED_IMAGE_SERVLET_NAME
- See Also:
- Constant Field Values
MESSAGE_ID
public static final java.lang.String MESSAGE_ID
- This represents the request parameter for the message id (required).
- See Also:
- Constant Field Values
IMAGE_INDEX
public static final java.lang.String IMAGE_INDEX
- This represents the request parameter for the image index (required).
- See Also:
- Constant Field Values
EmbeddedImageServlet
public EmbeddedImageServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Handles a get request for an attachment.
- Parameters:
request
- the requestresponse
- the response
- Throws:
javax.servlet.ServletException
java.io.IOException
getEmbeddedImageServletName
public static java.lang.String getEmbeddedImageServletName(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException,
java.io.IOException
- Constructs the servlet name for the
EmbeddedImageServlet
.
- Parameters:
request
- the request
- Returns:
- servletName the response
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.