public interface HttpRequest extends Request
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2020. All rights reserved.