1 9 package org.jboss.portal.portlet.impl; 10 11 import java.util.Enumeration ; 12 import java.util.Map ; 13 14 import javax.portlet.PortletPreferences; 15 import javax.portlet.RenderRequest; 16 import javax.servlet.http.HttpServletRequest ; 17 18 import org.jboss.portal.server.PortalRequest; 19 import org.jboss.portal.server.PortalResponse; 20 import org.jboss.portal.server.Window; 21 import org.jboss.portal.server.WindowContext; 22 import org.jboss.portal.server.user.UserContext; 23 24 28 public class RenderRequestImpl extends PortletRequestImpl implements RenderRequest 29 { 30 31 public RenderRequestImpl( 32 UserContext userContext, 33 PortletPreferences preferences, 34 Window window, 35 WindowContext windowContext, 36 PortalRequest req, 37 PortalResponse resp, 38 HttpServletRequest dreq) 39 { 40 super(userContext, preferences, window, windowContext, req, resp, dreq); 41 preferences = null; 42 } 43 44 46 public String getParameter(String name) 47 { 48 return instanceCtx.getParameters().getParameter(name); 49 } 50 51 public Enumeration getParameterNames() 52 { 53 return instanceCtx.getParameters().getParameterNames(); 54 } 55 56 public String [] getParameterValues(String name) 57 { 58 return instanceCtx.getParameters().getParameterValues(name); 59 } 60 61 public Map getParameterMap() 62 { 63 return instanceCtx.getParameters().getParameterMap(); 64 } 65 } 66 | Popular Tags |