org.jasig.portlet.widget.servlet.mvc
Class ProxyView

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.view.AbstractView
              extended by org.jasig.portlet.widget.servlet.mvc.ProxyView
All Implemented Interfaces:
org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.View

public class ProxyView
extends org.springframework.web.servlet.view.AbstractView

ProxyView provides a View for proxying HTTP(s) resources. The view requires that the model provide a target url, and allows it to also specify user credentials. Future versions might include more configuration options.

Author:
Jen Bourey

Field Summary
static java.lang.String CREDENTIALS
           
static java.lang.String URL
           
 
Fields inherited from class org.springframework.web.servlet.view.AbstractView
DEFAULT_CONTENT_TYPE
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
ProxyView()
           
 
Method Summary
protected  void renderMergedOutputModel(java.util.Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.springframework.web.servlet.view.AbstractView
addStaticAttribute, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute, toString, writeToResponse
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

URL

public static final java.lang.String URL
See Also:
Constant Field Values

CREDENTIALS

public static final java.lang.String CREDENTIALS
See Also:
Constant Field Values
Constructor Detail

ProxyView

public ProxyView()
Method Detail

renderMergedOutputModel

protected void renderMergedOutputModel(java.util.Map model,
                                       javax.servlet.http.HttpServletRequest request,
                                       javax.servlet.http.HttpServletResponse response)
                                throws java.lang.Exception
Specified by:
renderMergedOutputModel in class org.springframework.web.servlet.view.AbstractView
Throws:
java.lang.Exception


Copyright © 2010 Jasig. All Rights Reserved.