public class ServletServletRequest extends Object implements NativeRequest
| Constructor and Description |
|---|
ServletServletRequest(javax.servlet.http.HttpServletRequest req,
String tmpdir) |
ServletServletRequest(javax.servlet.http.HttpServletRequest req,
String tmpdir,
boolean multipart) |
| Modifier and Type | Method and Description |
|---|---|
List<Cookie> |
cookies() |
List<NativeUpload> |
files(String name) |
Optional<String> |
header(String name) |
List<String> |
headerNames() |
List<String> |
headers(String name) |
InputStream |
in() |
String |
ip() |
String |
method() |
List<String> |
paramNames() |
List<String> |
params(String name) |
String |
path() |
String |
protocol() |
boolean |
secure() |
<T> T |
upgrade(Class<T> type) |
ServletServletRequest |
with(ServletUpgrade upgrade) |
public ServletServletRequest(javax.servlet.http.HttpServletRequest req,
String tmpdir,
boolean multipart)
throws IOException
IOExceptionpublic ServletServletRequest(javax.servlet.http.HttpServletRequest req,
String tmpdir)
throws IOException
IOExceptionpublic ServletServletRequest with(ServletUpgrade upgrade)
public String method()
method in interface NativeRequestpublic String path()
path in interface NativeRequestpublic List<String> paramNames()
paramNames in interface NativeRequestpublic List<String> params(String name) throws Exception
params in interface NativeRequestExceptionpublic List<String> headers(String name)
headers in interface NativeRequestpublic Optional<String> header(String name)
header in interface NativeRequestpublic List<String> headerNames()
headerNames in interface NativeRequestpublic List<Cookie> cookies()
cookies in interface NativeRequestpublic List<NativeUpload> files(String name) throws IOException
files in interface NativeRequestIOExceptionpublic InputStream in() throws IOException
in in interface NativeRequestIOExceptionpublic String ip()
ip in interface NativeRequestpublic String protocol()
protocol in interface NativeRequestpublic boolean secure()
secure in interface NativeRequestpublic <T> T upgrade(Class<T> type) throws Exception
upgrade in interface NativeRequestExceptionCopyright © 2015. All rights reserved.