org.jasig.portal
Class HttpProxyServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.jasig.portal.HttpProxyServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class HttpProxyServlet
extends javax.servlet.http.HttpServlet

Proxy embedded content such as images for portal sessions. When portal is running over ssl, HttpProxyServlet can be used to deliver insecure content such as images over ssl to avoid mixed content in the browser window.

Since:
uPortal 2.2
Version:
1.0
Author:
Drew Mazurek (drew.mazurek@yale.edu), Susan Bramhall (susan.bramhall@yale.edu)
See Also:
Serialized Form

Field Summary
private static org.apache.commons.logging.Log log
           
 
Constructor Summary
HttpProxyServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Returns content retreived from location following context (Path Info) If no content found returns 404
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log
Constructor Detail

HttpProxyServlet

public HttpProxyServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
Returns content retreived from location following context (Path Info) If no content found returns 404

Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException