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 |
|---|---|
Map<String,Object> |
attributes() |
List<Cookie> |
cookies() |
List<NativeUpload> |
files() |
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() |
Optional<String> |
queryString() |
String |
rawPath() |
boolean |
secure() |
javax.servlet.http.HttpServletRequest |
servletRequest() |
void |
startAsync(Executor executor,
Runnable runnable) |
<T> T |
upgrade(Class<T> type) |
ServletServletRequest |
with(ServletUpgrade upgrade) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpushpublic ServletServletRequest(javax.servlet.http.HttpServletRequest req,
String tmpdir,
boolean multipart)
throws IOException
IOExceptionpublic ServletServletRequest(javax.servlet.http.HttpServletRequest req,
String tmpdir)
throws IOException
IOExceptionpublic javax.servlet.http.HttpServletRequest servletRequest()
public ServletServletRequest with(ServletUpgrade upgrade)
public String method()
method in interface NativeRequestpublic Optional<String> queryString()
queryString in interface NativeRequestpublic String path()
path in interface NativeRequestpublic String rawPath()
rawPath in interface NativeRequestpublic List<String> paramNames()
paramNames in interface NativeRequestpublic List<String> params(String name) throws Exception
params in interface NativeRequestExceptionpublic Map<String,Object> attributes()
attributes in interface NativeRequestpublic 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 List<NativeUpload> files() 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 NativeRequestExceptionpublic void startAsync(Executor executor, Runnable runnable)
startAsync in interface NativeRequestCopyright © 2019. All rights reserved.