public interface Request
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getBody()
Get the body.
|
java.util.List<Cookie> |
getCookies()
Get the cookies.
|
java.lang.String |
getHeader(java.lang.String name)
Get the first value of the header with the specified name.
|
java.util.List<java.lang.String> |
getHeaders(java.lang.String name)
Get the value list of the header with the specified name.
|
java.lang.String |
getMethod()
Get the method of the request.
|
java.lang.String |
getParameter(java.lang.String name)
Get the first value of the parameter with the specified name.
|
java.util.List<java.lang.String> |
getParameters(java.lang.String name)
Get the value list of the parameter with the specified name.
|
java.lang.String |
getUri()
Get the URI of the request.
|
java.lang.String getMethod()
java.lang.String getUri()
java.lang.String getHeader(java.lang.String name)
name
- The name.java.util.List<java.lang.String> getHeaders(java.lang.String name)
name
- The name.java.util.List<Cookie> getCookies()
java.io.InputStream getBody()
java.lang.String getParameter(java.lang.String name)
name
- The name.java.util.List<java.lang.String> getParameters(java.lang.String name)
name
- The name.