Generated by
JDiff

Class org.springframework.mock.web.MockHttpServletRequest

Documentation changed from old to new.

Changed Constructors
MockHttpServletRequest(ServletContext) Documentation changed from old to new.
Create a new {@code MockHttpServletRequest} with the supplied ServletContext.
MockHttpServletRequest(ServletContext, String, String) Documentation changed from old to new.
Create a new {@code MockHttpServletRequest} with the supplied ServletContext, {@code method}, and {@code requestURI}.
MockHttpServletRequest(String, String) Documentation changed from old to new.
Create a new {@code MockHttpServletRequest} with a default MockServletContext.
MockHttpServletRequest(void) Documentation changed from old to new.
Create a new {@code MockHttpServletRequest} with a default MockServletContext.
 

Added Methods
void setPreferredLocales(List<Locale>) Set the list of preferred locales, in descending order, effectively replacing any existing locales.
 

Changed Methods
void addParameters(Map) Documentation changed from old to new.
Adds all provided parameters without replacing any existing values.
void addPreferredLocale(Locale) Documentation changed from old to new.
Add a new preferred locale, before any existing locales.
void removeParameter(String) Documentation changed from old to new.
Remove already registered values for the specified HTTP parameter, if any.
void setParameters(Map) Documentation changed from old to new.
Sets all provided parameters replacing any existing values for the provided parameter names.
void addParameter(String, String) Documentation changed from old to new.
Add a single value for the specified HTTP parameter.
void addParameter(String, String[]) Documentation changed from old to new.
Add an array of values for the specified HTTP parameter.
void setParameter(String, String) Documentation changed from old to new.
Set a single value for the specified HTTP parameter.
void setParameter(String, String[]) Documentation changed from old to new.
Set an array of values for the specified HTTP parameter.