1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.container.url.impl;
18
19 import javax.servlet.http.HttpServletRequest;
20 import javax.servlet.http.HttpServletResponse;
21
22 import org.apache.pluto.core.impl.PortletURLImpl;
23 import org.apache.pluto.om.window.PortletWindow;
24
25 /***
26 * Jetspeed extension of the Pluto PortalURLImpl providing support for session url rewriting
27 * when cookies are disabled.
28 *
29 * @author <a href="mailto:ate@douma.nu">Ate Douma</a>
30 * @version $Id: JetspeedPortletURL.java 516448 2007-03-09 16:25:47Z ate $
31 */
32 public class JetspeedPortletURL extends PortletURLImpl
33 {
34 public JetspeedPortletURL(PortletWindow portletWindow, HttpServletRequest servletRequest, HttpServletResponse servletResponse, boolean isAction)
35 {
36 super(portletWindow, servletRequest, servletResponse, isAction);
37 }
38
39 public String toString()
40 {
41 return servletResponse.encodeURL(super.toString());
42 }
43 }