public class DiffPicturesServlet extends javax.servlet.http.HttpServlet
leftDocId and rightDocId are requiredDiffPicturesaltExtension is special. If the pictures to compare are _not_ jpeg, png, or gif, _and_ if this
parameter is set, then the result picture will be of this kind. Useful when comparing 2 psd or tif files for example,
and the browser can't display themcommandline, xpath, fuzz, highlightColor, lowlightColor and repo are optional
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BUFFER_SIZE |
| Constructor and Description |
|---|
DiffPicturesServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
sendBlobResult(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Blob blob) |
protected void |
sendTextResponse(javax.servlet.http.HttpServletResponse resp,
String response) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected static final int BUFFER_SIZE
public DiffPicturesServlet()
protected 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 sendTextResponse(javax.servlet.http.HttpServletResponse resp, String response) throws IOException
IOExceptionprotected void sendBlobResult(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Blob blob) throws IOException
IOExceptionCopyright © 2018 Nuxeo. All rights reserved.