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

java.lang.Object
  extended by com.liferay.faces.bridge.context.url.BridgeURLBaseImpl
      extended by com.liferay.faces.bridge.context.url.BridgeResponseURLImpl
All Implemented Interfaces:
BridgeResponseURL, BridgeURL
Direct Known Subclasses:
BridgeActionURLImpl, BridgeRedirectURLImpl

public abstract class BridgeResponseURLImpl
extends BridgeURLBaseImpl
implements BridgeResponseURL

Author:
Neil Griffin

Field Summary
 
Fields inherited from class com.liferay.faces.bridge.context.url.BridgeURLBaseImpl
bridgeConfig, bridgeContext, PORTLET_ACTION, PORTLET_RENDER, PORTLET_RESOURCE, RELATIVE_PATH_PREFIX, url
 
Constructor Summary
BridgeResponseURLImpl(String url, String currentFacesViewId, BridgeContext bridgeContext)
           
 
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.
 
Methods inherited from class com.liferay.faces.bridge.context.url.BridgeURLBaseImpl
_toString, _toString, getContextRelativePath, getParameter, getParameterMap, getParameterNames, getPortletPhase, getSchemeSpecificPart, getURI, getViewIdParameterName, isAbsolute, isEscaped, isExternal, isFacesViewTarget, isHierarchical, isOpaque, isPathRelative, isPortletScheme, isRelative, isSecure, isSelfReferencing, matchPathAndExtension, removeParameter, setParameter, setParameter, setPortletModeParameter, setRenderParameters, setSecure, setSecureParameter, setSelfReferencing, setWindowStateParameter, toBaseURL, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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

BridgeResponseURLImpl

public BridgeResponseURLImpl(String url,
                             String currentFacesViewId,
                             BridgeContext bridgeContext)
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.


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