Class EndPointProxyServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.springframework.extensions.webscripts.servlet.EndPointProxyServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class EndPointProxyServlet extends jakarta.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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Deprecated.
     
    Deprecated.
     

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
     
    protected void
    service(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)
    Deprecated.
     

    Methods inherited from class jakarta.servlet.http.HttpServlet

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

    Methods inherited from class jakarta.servlet.GenericServlet

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

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • EndPointProxyServlet

      public EndPointProxyServlet()
      Deprecated.
  • Method Details

    • init

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

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