Class NuxeoCmisBrowserBindingServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.chemistry.opencmis.server.shared.AbstractCmisHttpServlet
org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet
org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisBrowserBindingServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class NuxeoCmisBrowserBindingServlet extends org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet
Subclass NuxeoCmisBrowserBindingServlet to inject a virtual-hosted base URL if needed.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet

    org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet.CallUrl
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class org.apache.chemistry.opencmis.server.shared.AbstractCmisHttpServlet

    PARAM_CALL_CONTEXT_HANDLER, PARAM_CMIS_VERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Extracts the error from the exception.
    void
    printError(org.apache.chemistry.opencmis.commons.server.CallContext context, Exception ex, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    protected void
    service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     

    Methods inherited from class org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet

    addRepositoryResource, addRootResource, getErrorCode, init

    Methods inherited from class org.apache.chemistry.opencmis.server.shared.AbstractCmisHttpServlet

    checkCsrfToken, createContext, createLogMessage, getCallContextHandler, getCmisVersion, getServiceFactory, loadCallContextHandler, setBinding, setCmisVersion

    Methods inherited from class javax.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service

    Methods inherited from class javax.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • NuxeoCmisBrowserBindingServlet

      public NuxeoCmisBrowserBindingServlet()
  • Method Details

    • service

      protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      Overrides:
      service in class org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet
      Throws:
      javax.servlet.ServletException
      IOException
    • extractError

      protected NuxeoCmisErrorHelper.ErrorInfo extractError(Exception ex)
      Extracts the error from the exception.
      Parameters:
      ex - the exception
      Returns:
      the error info
      Since:
      7.1
    • printError

      public void printError(org.apache.chemistry.opencmis.commons.server.CallContext context, Exception ex, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Overrides:
      printError in class org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet