1 5 6 package org.exoplatform.commons.map; 7 8 import javax.portlet.PortletRequest; 9 import java.util.Enumeration ; 10 11 16 public class RequestParameterValuesMap extends AbstractMap 17 { 18 private PortletRequest p_request; 19 20 public RequestParameterValuesMap( PortletRequest request ) 21 { 22 p_request = request; 23 } 24 25 protected Object getAttribute( String name ) 26 { 27 return p_request.getParameterValues( name ); 28 } 29 30 protected void setAttribute( String name, Object value ) 31 { 32 throw new UnsupportedOperationException (); 33 } 34 35 protected void removeAttribute( String name ) 36 { 37 throw new UnsupportedOperationException (); 38 } 39 40 protected Enumeration getAttributeNames() 41 { 42 return p_request.getParameterNames(); 43 } 44 } 45 | Popular Tags |