public class ViewerControlServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static String |
ACTION
Request-parameter to pass actions.
|
static int |
CLOSE
Action used to notify the control servlet that the viewer window was closed.
|
static String |
DATA
Request-parameter to pass data required to perform the action.
|
static int |
ELEMENT_CHANGE
Action used to notify the control servlet that the user changed the displayed element.
|
static int |
PDFJS_VIEWER_DISPLAYMODE
Action used to get the render-mode for a pdfjs-viewer.
|
static String |
RENDER_TARGET
Request-parameter to signalize that an element should be marked for rendering.
|
static int |
ROTATE
Action used to notify the control servlet that the user rotated the document.
|
static int |
SAPVIEWER_DOWNLOAD
Action used to trogger a multi-element download from SAPViewer.
|
static int |
SAPVIEWER_ELEMENT_CHANGE
Action used to notify the control servlet that a new element was selected in SAP Viewer.
|
static int |
SAPVIEWER_GET_DOCINFO
Action used to keep sessions alive.
|
static int |
SAPVIEWER_KEEPALIVE
Action used to keep sessions alive.
|
static int |
SAPVIEWER_NEW_URL
Action used to notify the control servlet that the SAPViewer received a new URL.
|
static int |
SAPVIEWER_RESOURCES
Action used to get resources needed for SAPViewer.jsp.
|
static String |
SEND_PLAIN_ID
Request-parameter to decide whether to send plain ID or not.
|
Constructor and Description |
---|
ViewerControlServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Servlet's post-method.
|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final int ELEMENT_CHANGE
public static final int CLOSE
public static final int ROTATE
public static final int SAPVIEWER_NEW_URL
public static final int SAPVIEWER_RESOURCES
public static final int SAPVIEWER_DOWNLOAD
public static final int SAPVIEWER_KEEPALIVE
public static final int SAPVIEWER_GET_DOCINFO
public static final int PDFJS_VIEWER_DISPLAYMODE
public static final int SAPVIEWER_ELEMENT_CHANGE
public static final String ACTION
public static final String DATA
public static final String RENDER_TARGET
public static final String SEND_PLAIN_ID
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
req
- serlvet requestresp
- servlet responsejavax.servlet.ServletException
- servlet exceptionIOException
- IO exceptionHttpServlet.doPost(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.