Class EndPointProxyServlet

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class EndPointProxyServlet
    extends javax.servlet.http.HttpServlet
    Deprecated.
    EndPoint HTTP Proxy Servlet. Provides the ability to submit a URL request via a configured end point such as a remote Alfresco Server. Makes use of the Connector framework so that appropriate authentication is automatically applied to the proxied request as applicable. This servlet accepts URIs of the following format: /proxy/[/uri]*[?[=]*] Where: - endpointid is the ID of a configured EndPoint model object to make a request against - url is the uri to call on the EndPoint URL e.g. /api/sites - argName is the name of a URL argument to append to the request - argValue is the value of URL argument E.g. /proxy/alfresco/api/sites?name=mysite&desc=description The proxy supports all valid HTTP methods.
    Author:
    kevinr
    See Also:
    EndPointProxyController, Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void init()
      Deprecated.
       
      protected void service​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
      Deprecated.
       
      • 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
    • Constructor Detail

      • EndPointProxyServlet

        public EndPointProxyServlet()
        Deprecated.
    • Method Detail

      • init

        public void init()
                  throws javax.servlet.ServletException
        Deprecated.
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
      • service

        protected void service​(javax.servlet.http.HttpServletRequest req,
                               javax.servlet.http.HttpServletResponse res)
                        throws javax.servlet.ServletException,
                               java.io.IOException
        Deprecated.
        Overrides:
        service in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        java.io.IOException