1 16 17 package org.springframework.web.context.request; 18 19 import java.util.Locale ; 20 import java.util.Map ; 21 22 import javax.servlet.http.HttpServletRequest ; 23 24 30 public class ServletWebRequest extends ServletRequestAttributes implements WebRequest { 31 32 36 public ServletWebRequest(HttpServletRequest request) { 37 super(request); 38 } 39 40 public String getParameter(String paramName) { 41 return getRequest().getParameter(paramName); 42 } 43 44 public String [] getParameterValues(String paramName) { 45 return getRequest().getParameterValues(paramName); 46 } 47 48 public Map getParameterMap() { 49 return getRequest().getParameterMap(); 50 } 51 52 public Locale getLocale() { 53 return getRequest().getLocale(); 54 } 55 56 } 57 | Popular Tags |