|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectHttpServlet
com.compoze.domino.AttachmentServlet
public class AttachmentServlet
This class is a servlet that writes an attachment. The servlet expects
that an Http session variable called AttachmentServlet.SESSION
containing the
com.compoze.domino.Session
object.
The servlet also expects that two request parameters be set. The AttachmentServlet.DOCUMENT_ID
parameter must contain the ID of the message which has the attachment
to serve. The AttachmentServlet.ATTACHMENT_INDEX
parameter must contain the
name of the index of the attachment to serve.
Field Summary | |
---|---|
static java.lang.String |
ATTACHMENT_INDEX
This represents the request parameter for the attachment index (required). |
static java.lang.String |
DOCUMENT_ID
This represents the request parameter for the message id (required). |
static java.lang.String |
SESSION
This represents the Http session attribute name to store the Session . |
static java.lang.String |
SESSION_NAME
This represents the Http session attribute name that stores the Session . |
Constructor Summary | |
---|---|
AttachmentServlet()
|
Method Summary | |
---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SESSION
Session
.
To override this value, pass SESSION_NAME
in the request.
Session
,
Constant Field Valuespublic static final java.lang.String SESSION_NAME
Session
.
Overrides the default session name.
SESSION
,
Session
,
Constant Field Valuespublic static final java.lang.String ATTACHMENT_INDEX
public static final java.lang.String DOCUMENT_ID
Constructor Detail |
---|
public AttachmentServlet()
Method Detail |
---|
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
ServletException
java.io.IOException
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |