ExtendedRequest
instead.public interface Request extends InboundHeaders
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Deprecated.
Returns the value of the named attribute as an
Object , or null if no attribute of the
given name exists. |
java.lang.String |
getCookieValue(java.lang.String name)
Deprecated.
Returns the value for the cookie with the given name, or
null if the cookie does not exist. |
java.util.Enumeration |
getParameterNames()
Deprecated.
Returns an
Enumeration of String objects containing the names of the parameters
contained in this request. |
java.lang.String[] |
getParameterValues(java.lang.String name)
Deprecated.
Returns an array of
String objects containing all of the values the given request parameter has, or
null if the parameter does not exist. |
java.lang.String |
getRemoteUser()
Deprecated.
Returns the login of the user making this request, if the user has been authenticated, or
null if
the user has not been authenticated. |
java.lang.String |
getRequestURI()
Deprecated.
Returns the part of this request's URL from the protocol name up to the query string in the first line of the
HTTP request.
|
getHeader, getHeaderType
java.lang.String getRequestURI()
java.lang.String getRemoteUser()
null
if
the user has not been authenticated.java.util.Enumeration getParameterNames()
Enumeration
of String
objects containing the names of the parameters
contained in this request. If the request has no parameters, the method returns an empty Enumeration
or null
.Enumeration
of String
objects containing the names of the parameters
contained in this request.java.lang.String[] getParameterValues(java.lang.String name)
String
objects containing all of the values the given request parameter has, or
null
if the parameter does not exist. If the parameter has a single value, the array has a length of
1.name
- The name of the attribute.null
if the input name does not exist.java.lang.Object getAttribute(java.lang.String name)
Object
, or null
if no attribute of the
given name exists.name
- The name of the attribute to return.null
if no attribute with the given input name
exists.java.lang.String getCookieValue(java.lang.String name)
null
if the cookie does not exist.name
- The name of the cookienull
if the cookie does not exist.