com.liferay.faces.bridge.container.liferay
Class LiferayPortletResponse
java.lang.Object
com.liferay.faces.bridge.container.liferay.LiferayPortletResponse
public class LiferayPortletResponse
- extends Object
- Author:
- Neil Griffin
|
Method Summary |
javax.portlet.PortletURL |
createRenderURL()
|
void |
sendRedirect(String url)
The Liferay ActionResponseImpl.sendRedirect(String) method throws exceptions under some circumstances that occur
during the execution of the JSF lifecycle, so this method is necessary in order to bypass all those exceptions
and to call the ActionResponseImpl.sendRedirect.setRedirectLocation(String) method reflectively in order to have
the redirect work. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiferayPortletResponse
public LiferayPortletResponse(javax.portlet.PortletResponse portletResponse)
createRenderURL
public javax.portlet.PortletURL createRenderURL()
sendRedirect
public void sendRedirect(String url)
throws IOException
- The Liferay ActionResponseImpl.sendRedirect(String) method throws exceptions under some circumstances that occur
during the execution of the JSF lifecycle, so this method is necessary in order to bypass all those exceptions
and to call the ActionResponseImpl.sendRedirect.setRedirectLocation(String) method reflectively in order to have
the redirect work.
- Throws:
IOException
Copyright © 2014 Liferay, Inc.. All Rights Reserved.