|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpRequest
Http interface definition.
Definition of access to the HTTP request attributes - namely the request headers and parameters. Method signatures are based on the servlet spec HttpServletRequest class.
| Method Summary | |
|---|---|
String |
getHeader(String name)
Get the named HTTP request header. |
String |
getParameter(String name)
Get the named HTTP request parameter from the request query string. |
Enumeration |
getParameterNames()
Returns an Enumeration of String objects containing the names of the parameters contained in this request. |
String[] |
getParameterValues(String name)
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist. |
| Method Detail |
|---|
String getHeader(String name)
name - The request header name.
String getParameter(String name)
name - The name of the required request parameter.
Enumeration getParameterNames()
String[] getParameterValues(String name)
name - String containing the name of the parameter whose value is
requested.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||