uPortal 2.4.1
API Documentation

org.jasig.portal.serialize
Class ProxyWriter

java.lang.Object
  extended byorg.jasig.portal.serialize.ProxyWriter

public class ProxyWriter
extends java.lang.Object

This Class allows appending PROXY_REWRITE_PREFIX String in front of all the references to images, javascript files, etc.. that are on a remote location. This allows the browser while portal is running in https assume that these resources are secure resources(are referenced by https rather than http). This is because the resource URI insteadof http://www.abc.com/image.gif will be rewriten as as https://[portal address]/PROXY_REWRITE_PREFIX/www.abc.com/image.gif This class does the proxy rewrite in the following exceptional situations as well: 1. If the return code poting to the image is 3XX (the image refrence, refrences is a mapping to a diffrent location) In this case the final destination iddress n which the image or the resource is located is e and then the rewrite points to this location. 2. If the content of a channel is an include javascript file the file is rewriten to a location on a local virtual host and at the same time the image or other resources references are rewritten.

Since:
uPortal 2.2
Version:
$Revision: 1.10 $
Author:
Kazem Naderi

Constructor Summary
ProxyWriter()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyWriter

public ProxyWriter()

uPortal 2.4.1
API Documentation