Allows access to request properties
| Type | Name and description |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)Obtains the value of an attribute |
java.util.Collection<java.lang.String> |
getAttributeNames()@return All of the attribute names |
java.lang.String |
getCharacterEncoding()@return The request character encoding |
java.lang.String |
getContentType()@return The request content type |
java.lang.String |
getContextPath()@return The context path |
java.lang.String |
getHeader(java.lang.String name)Obtains the value of a header |
java.util.Collection<java.lang.String> |
getHeaderNames()@return The header for the request |
java.util.Collection<java.lang.String> |
getHeaders(java.lang.String name)Obtains all the values for the give header |
java.lang.String |
getMethod()@return The request method |
java.lang.String |
getUri()@return The request URI |
Obtains the value of an attribute
name - The name of the attribute
Obtains the value of a header
name - The name of the header
Obtains all the values for the give header
name - The name of the header