It gives methods to modify the parameters list. It makes the request more flexible.
Its constructor takes a HttpServletRequest, which is the object to be wrapped.
The added methods are the following : public void addParameter(String key, Object value); public void addParameters(Hashtable table); public void removeParameter(String key);
Definition at line 62 of file OpenmisHttpServletRequest.java.
Public Member Functions | |
OpenmisHttpServletRequest (HttpServletRequest req) | |
String | getAuthType () |
Cookie[] | getCookies () |
long | getDateHeader (String arg0) |
String | getHeader (String arg0) |
Enumeration | getHeaders (String arg0) |
Enumeration | getHeaderNames () |
int | getIntHeader (String arg0) |
String | getMethod () |
String | getPathInfo () |
String | getPathTranslated () |
String | getContextPath () |
String | getQueryString () |
String | getRemoteUser () |
boolean | isUserInRole (String arg0) |
Principal | getUserPrincipal () |
String | getRequestedSessionId () |
String | getRequestURI () |
void | setRequestURI (String uri) |
StringBuffer | getRequestURL () |
String | getServletPath () |
HttpSession | getSession (boolean arg0) |
HttpSession | getSession () |
boolean | isRequestedSessionIdValid () |
boolean | isRequestedSessionIdFromCookie () |
boolean | isRequestedSessionIdFromURL () |
boolean | isRequestedSessionIdFromUrl () |
Object | getAttribute (String arg0) |
Enumeration | getAttributeNames () |
String | getCharacterEncoding () |
void | setCharacterEncoding (String arg0) throws UnsupportedEncodingException |
int | getContentLength () |
String | getContentType () |
ServletInputStream | getInputStream () throws IOException |
String | getParameter (String name) |
Enumeration | getParameterNames () |
String[] | getParameterValues (String arg0) |
Map | getParameterMap () |
String | getProtocol () |
String | getScheme () |
String | getServerName () |
int | getServerPort () |
BufferedReader | getReader () throws IOException |
String | getRemoteAddr () |
String | getRemoteHost () |
void | setAttribute (String arg0, Object arg1) |
void | removeAttribute (String arg0) |
void | addParameter (String key, Object value) |
void | addParameters (Hashtable table) |
void | removeParameter (String key) |
Locale | getLocale () |
Enumeration | getLocales () |
boolean | isSecure () |
RequestDispatcher | getRequestDispatcher (String arg0) |
String | getRealPath (String arg0) |
int | getRemotePort () |
String | getLocalName () |
String | getLocalAddr () |
int | getLocalPort () |