@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, service
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void provide(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.