public class HTTPProxyServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
HTTPProxyServlet() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createProxyUrl(java.lang.String url)
Construct a "proxied" URL
Note: the "proxied" URL is a relative url - it is assumed that the servlet path is /proxy
|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public static java.lang.String createProxyUrl(java.lang.String url)
url
- the URL to proxyCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.