public class VtiIfHeaderAction extends HttpServlet implements VtiAction
VtiIfHeaderAction is used for merging between client document version and server document version.
Constructor and Description |
---|
VtiIfHeaderAction() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(HttpServletRequest req,
HttpServletResponse resp)
Getting server version of document for merging.
|
protected void |
doPut(HttpServletRequest req,
HttpServletResponse resp)
Saving of client version of document while merging.
|
void |
execute(HttpServletRequest request,
HttpServletResponse response)
Merge between client document version and server document version.
|
void |
setHandler(MethodHandler handler)
MethodHandler setter
|
doDelete, doHead, doOptions, doPost, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
public void setHandler(MethodHandler handler)
MethodHandler setter
handler
- MethodHandler
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
Getting server version of document for merging.
doGet
in class HttpServlet
req
- HTTP requestresp
- HTTP responseServletException
IOException
protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
Saving of client version of document while merging.
doPut
in class HttpServlet
req
- HTTP requestresp
- HTTP responseServletException
IOException
public void execute(HttpServletRequest request, HttpServletResponse response)
Merge between client document version and server document version.
Copyright © 2005–2017 Alfresco Software. All rights reserved.