public final class Request extends Object
HttpServletRequest class.| Modifier and Type | Method and Description |
|---|---|
<T> Try<T> |
fromJson(Class<T> type)
Parses an object from the json stream in the HTTP request
|
<T> Try<T> |
fromJson(String charsetName,
Class<T> type)
Parses an object from the json stream in the HTTP request
|
Option<String> |
getPathInfo()
Get the path info as specified in the URI.
|
javax.servlet.http.HttpServletRequest |
request()
Get the wrapped
HttpServletRequest |
public javax.servlet.http.HttpServletRequest request()
HttpServletRequestpublic Option<String> getPathInfo()
public <T> Try<T> fromJson(Class<T> type)
T - The return typetype - The type to parseCopyright © 2016, Peter Nerg Apache License v2.0