public class VxHttpContext extends WebContextBase
_filesMap| 构造器和说明 |
|---|
VxHttpContext(io.vertx.core.http.HttpServerRequest request,
io.vertx.core.http.HttpServerResponse response) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
asyncComplete() |
void |
asyncStart(long timeout,
org.noear.solon.core.handle.ContextAsyncListener listener) |
boolean |
asyncSupported() |
InputStream |
bodyAsStream() |
void |
close() |
long |
contentLength() |
protected void |
contentTypeDoSet(String contentType) |
org.noear.solon.core.NvMap |
cookieMap() |
void |
cookieSet(String name,
String val,
String domain,
String path,
int maxAge) |
Map<String,List<org.noear.solon.core.handle.UploadedFile>> |
filesMap() |
void |
flush() |
void |
headerAdd(String name,
String val) |
org.noear.solon.core.NvMap |
headerMap() |
String |
headerOfResponse(String name) |
void |
headerSet(String name,
String val) |
Map<String,List<String>> |
headersMap() |
protected List<org.noear.solon.core.handle.ContextAsyncListener> |
innerAsyncListeners() |
protected void |
innerCommit() |
protected io.vertx.core.http.HttpServerRequest |
innerGetRequest() |
protected io.vertx.core.http.HttpServerResponse |
innerGetResponse() |
protected boolean |
innerIsAsync() |
boolean |
isSecure() |
String |
method() |
void |
output(byte[] bytes) |
void |
output(InputStream stream) |
OutputStream |
outputStream() |
org.noear.solon.core.NvMap |
paramMap() |
Map<String,List<String>> |
paramsMap() |
String |
protocol() |
String |
queryString() |
void |
redirect(String url,
int code) |
String |
remoteIp() |
int |
remotePort() |
Object |
request() |
Object |
response() |
int |
status() |
protected void |
statusDoSet(int status) |
URI |
uri() |
String |
url() |
contentCharset, contentType, filesDelete, outputAsFile, outputAsFile, session, sessionAsDouble, sessionAsDouble, sessionAsInt, sessionAsInt, sessionAsLong, sessionAsLong, sessionClear, sessionId, sessionOrDefault, sessionRemove, sessionSetaccept, action, asyncStart, attr, attr, attrClear, attrMap, attrOrDefault, attrSet, attrSet, autoMultipart, autoMultipart, body, body, bodyAsBytes, bodyNew, bodyNew, charset, contentLength, contentType, contentTypeNew, controller, cookie, cookie, cookieOrDefault, cookieRemove, cookieSet, cookieSet, cookieSet, current, file, files, forward, getHandled, getLocale, getRendered, header, header, headerOrDefault, headerValues, ip, isFormUrlencoded, isMultipart, isMultipartFormData, mainHandler, output, output, outputAsHtml, outputAsJson, param, param, paramAsBean, paramAsDecimal, paramAsDecimal, paramAsDouble, paramAsDouble, paramAsInt, paramAsInt, paramAsLong, paramAsLong, paramOrDefault, paramsAdd, paramSet, paramValues, path, pathAsLower, pathAsUpper, pathMap, pathNew, pathNew, protocolAsUpper, realIp, redirect, remoting, remotingSet, render, render, renderAndReturn, session, session, sessionState, setHandled, setLocale, setRendered, status, statusSet, userAgentpublic VxHttpContext(io.vertx.core.http.HttpServerRequest request,
io.vertx.core.http.HttpServerResponse response)
protected io.vertx.core.http.HttpServerRequest innerGetRequest()
protected io.vertx.core.http.HttpServerResponse innerGetResponse()
protected boolean innerIsAsync()
protected List<org.noear.solon.core.handle.ContextAsyncListener> innerAsyncListeners()
public Object request()
request 在类中 org.noear.solon.core.handle.Contextpublic String remoteIp()
remoteIp 在类中 org.noear.solon.core.handle.Contextpublic int remotePort()
remotePort 在类中 org.noear.solon.core.handle.Contextpublic String method()
method 在类中 org.noear.solon.core.handle.Contextpublic String protocol()
protocol 在类中 org.noear.solon.core.handle.Contextpublic URI uri()
uri 在类中 org.noear.solon.core.handle.Contextpublic boolean isSecure()
isSecure 在类中 org.noear.solon.core.handle.Contextpublic String url()
url 在类中 org.noear.solon.core.handle.Contextpublic long contentLength()
contentLength 在类中 org.noear.solon.core.handle.Contextpublic String queryString()
queryString 在类中 org.noear.solon.core.handle.Contextpublic InputStream bodyAsStream() throws IOException
bodyAsStream 在类中 org.noear.solon.core.handle.ContextIOExceptionpublic org.noear.solon.core.NvMap paramMap()
paramMap 在类中 org.noear.solon.core.handle.Contextpublic Map<String,List<String>> paramsMap()
paramsMap 在类中 org.noear.solon.core.handle.Contextpublic Map<String,List<org.noear.solon.core.handle.UploadedFile>> filesMap() throws IOException
filesMap 在类中 org.noear.solon.core.handle.ContextIOExceptionpublic org.noear.solon.core.NvMap cookieMap()
cookieMap 在类中 org.noear.solon.core.handle.Contextpublic org.noear.solon.core.NvMap headerMap()
headerMap 在类中 org.noear.solon.core.handle.Contextpublic Map<String,List<String>> headersMap()
headersMap 在类中 org.noear.solon.core.handle.Contextpublic Object response()
response 在类中 org.noear.solon.core.handle.Contextprotected void contentTypeDoSet(String contentType)
contentTypeDoSet 在类中 org.noear.solon.core.handle.Contextpublic void output(byte[] bytes)
output 在类中 org.noear.solon.core.handle.Contextpublic void output(InputStream stream)
output 在类中 org.noear.solon.core.handle.Contextpublic OutputStream outputStream() throws IOException
outputStream 在类中 org.noear.solon.core.handle.ContextIOExceptionpublic void headerSet(String name, String val)
headerSet 在类中 org.noear.solon.core.handle.Contextpublic void headerAdd(String name, String val)
headerAdd 在类中 org.noear.solon.core.handle.Contextpublic String headerOfResponse(String name)
headerOfResponse 在类中 org.noear.solon.core.handle.Contextpublic void cookieSet(String name, String val, String domain, String path, int maxAge)
cookieSet 在类中 org.noear.solon.core.handle.Contextpublic void redirect(String url, int code)
redirect 在类中 org.noear.solon.core.handle.Contextpublic int status()
status 在类中 org.noear.solon.core.handle.Contextprotected void statusDoSet(int status)
statusDoSet 在类中 org.noear.solon.core.handle.Contextpublic void flush()
throws IOException
flush 在类中 org.noear.solon.core.handle.ContextIOExceptionpublic void close()
throws IOException
close 在类中 org.noear.solon.core.handle.ContextIOExceptionpublic boolean asyncSupported()
asyncSupported 在类中 org.noear.solon.core.handle.Contextpublic void asyncStart(long timeout,
org.noear.solon.core.handle.ContextAsyncListener listener)
asyncStart 在类中 org.noear.solon.core.handle.Contextpublic void asyncComplete()
throws IOException
asyncComplete 在类中 org.noear.solon.core.handle.ContextIOExceptionprotected void innerCommit()
throws IOException
innerCommit 在类中 WebContextBaseIOExceptionCopyright © 2024. All rights reserved.