com.liferay.faces.bridge.context.url
Class BridgeRedirectURLWrapper

java.lang.Object
  extended by com.liferay.faces.bridge.context.url.BridgeURLWrapper
      extended by com.liferay.faces.bridge.context.url.BridgeRedirectURLWrapper
All Implemented Interfaces:
BridgeRedirectURL, BridgeResponseURL, BridgeURL, javax.faces.FacesWrapper<BridgeRedirectURL>

public abstract class BridgeRedirectURLWrapper
extends BridgeURLWrapper
implements BridgeRedirectURL, javax.faces.FacesWrapper<BridgeRedirectURL>

Author:
Neil Griffin

Constructor Summary
BridgeRedirectURLWrapper()
           
 
Method Summary
 void applyToResponse(javax.portlet.StateAwareResponse stateAwareResponse)
          Convenience method that applies the parameters found in this URL to the specified StateAwareResponse by calling methods such as StateAwareResponse.setPortletMode(javax.portlet.PortletMode) and StateAwareResponse.setWindowState(javax.portlet.WindowState), etc.
abstract  BridgeRedirectURL getWrapped()
           
 
Methods inherited from class com.liferay.faces.bridge.context.url.BridgeURLWrapper
getContextRelativePath, getParameter, getParameterMap, getParameterNames, getPortletPhase, isAbsolute, isEscaped, isExternal, isFacesViewTarget, isHierarchical, isOpaque, isPathRelative, isPortletScheme, isSecure, isSelfReferencing, removeParameter, setParameter, setParameter, setSecure, setSelfReferencing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.faces.bridge.context.url.BridgeURL
getContextRelativePath, getParameter, getParameterMap, getParameterNames, getPortletPhase, isAbsolute, isEscaped, isExternal, isFacesViewTarget, isHierarchical, isOpaque, isPathRelative, isPortletScheme, isSecure, isSelfReferencing, removeParameter, setParameter, setParameter, setSecure, setSelfReferencing, toString
 

Constructor Detail

BridgeRedirectURLWrapper

public BridgeRedirectURLWrapper()
Method Detail

applyToResponse

public void applyToResponse(javax.portlet.StateAwareResponse stateAwareResponse)
                     throws javax.portlet.PortletModeException,
                            javax.portlet.WindowStateException
Description copied from interface: BridgeResponseURL
Convenience method that applies the parameters found in this URL to the specified StateAwareResponse by calling methods such as StateAwareResponse.setPortletMode(javax.portlet.PortletMode) and StateAwareResponse.setWindowState(javax.portlet.WindowState), etc.

Specified by:
applyToResponse in interface BridgeResponseURL
Parameters:
stateAwareResponse - The current response.
Throws:
javax.portlet.PortletModeException - If Bridge.PORTLET_MODE_PARAMETER has an invalid value.
javax.portlet.WindowStateException - If Bridge.PORTLET_WINDOWSTATE_PARAMETER has an invalid value.

getWrapped

public abstract BridgeRedirectURL getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<BridgeRedirectURL>
Specified by:
getWrapped in class BridgeURLWrapper


Copyright © 2014 Liferay, Inc.. All Rights Reserved.