Package com.avoka.fc.core.servlet
Class AttachmentViewServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.avoka.fc.core.servlet.AttachmentViewServlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
Provide an attachments download servlet for users reviewing their attachments. Security is provide via the attachmentKey reference.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doGet
(HttpServletRequest request, HttpServletResponse response) Handle a get method to retrieve the users attachment.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
-
Field Details
-
SERVLET_PATH
The attachment servlet path.- See Also:
-
ID_PARAM
The attachmentKey request parameter.- See Also:
-
-
Constructor Details
-
AttachmentViewServlet
public AttachmentViewServlet()
-
-
Method Details
-
doGet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException Handle a get method to retrieve the users attachment.- Overrides:
doGet
in classHttpServlet
- Parameters:
request
- the servlet requestresponse
- the servlet response- Throws:
IOException
ServletException
-