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
FieldsModifier and TypeFieldDescriptionprotected RemoteConfigElementDeprecated.protected ConnectorServiceDeprecated.Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Field Details
-
config
Deprecated. -
connectorService
Deprecated.
-
-
Constructor Details
-
EndPointProxyServlet
public EndPointProxyServlet()Deprecated.
-
-
Method Details
-
init
public void init() throws jakarta.servlet.ServletExceptionDeprecated.- Overrides:
initin classjakarta.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:
servicein classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-