org.springframework.extensions.webscripts.servlet
Class EndPointProxyServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.springframework.extensions.webscripts.servlet.EndPointProxyServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Deprecated.
public class EndPointProxyServlet
- extends javax.servlet.http.HttpServlet
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:
- Serialized Form
Method Summary |
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 |
config
protected RemoteConfigElement config
- Deprecated.
connectorService
protected ConnectorService connectorService
- Deprecated.
EndPointProxyServlet
public EndPointProxyServlet()
- Deprecated.
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,
IOException
- Deprecated.
- Overrides:
service
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2009 SpringSource, Inc. All Rights Reserved.