@groovy.transform.CompileStatic interface Request
Allows access to request properties
Type Params | Return Type | Name and description |
---|---|---|
|
abstract java.lang.Object |
getAttribute(java.lang.String name) Obtains the value of an attribute |
|
abstract java.util.Collection<java.lang.String> |
getAttributeNames()
|
|
abstract java.lang.String |
getCharacterEncoding()
|
|
abstract java.lang.String |
getContentType()
|
|
abstract java.lang.String |
getContextPath()
|
|
abstract java.lang.String |
getHeader(java.lang.String name) Obtains the value of a header |
|
abstract java.util.Collection<java.lang.String> |
getHeaderNames()
|
|
abstract java.util.Collection<java.lang.String> |
getHeaders(java.lang.String name) Obtains all the values for the give header |
|
abstract java.lang.String |
getMethod()
|
|
abstract java.lang.String |
getUri()
|
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