@WebServlet(name="FormPreviewImageServlet",
urlPatterns="/form/image/*",
asyncSupported=true)
public class FormPreviewImageServlet
extends javax.servlet.http.HttpServlet
http://localhost:8080/xima-formcycle/form/image?pid=1&type=thumbnailThis returns the thumbnail for a project with the #
Projekt.getId() of
1. Type can be one of
#CmnConst.FormPreviewImageParams.TYPE_THUMBNAIL or
#CmnConst.FormPreviewImageParams.TYPE_LARGE.| Constructor and Description |
|---|
FormPreviewImageServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
provide(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void provide(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.