public class VertxHttpContext
extends org.noear.solon.core.handle.Context
| 限定符和类型 | 方法和说明 |
|---|---|
InputStream |
bodyAsStream() |
long |
contentLength() |
String |
contentType() |
protected void |
contentTypeDoSet(String contentType) |
org.noear.solon.core.NvMap |
cookieMap() |
void |
cookieSet(String name,
String val,
String domain,
String path,
int maxAge) |
List<org.noear.solon.core.handle.UploadedFile> |
files(String name) |
void |
flush() |
void |
headerAdd(String name,
String val) |
org.noear.solon.core.NvMap |
headerMap() |
void |
headerSet(String name,
String val) |
String |
ip() |
String |
method() |
void |
output(byte[] bytes) |
void |
output(InputStream stream) |
OutputStream |
outputStream() |
String |
param(String name) |
String |
param(String name,
String def) |
org.noear.solon.core.NvMap |
paramMap() |
Map<String,List<String>> |
paramsMap() |
String[] |
paramValues(String name) |
String |
path() |
String |
protocol() |
String |
queryString() |
void |
redirect(String url) |
void |
redirect(String url,
int code) |
Object |
request() |
Object |
response() |
int |
status() |
protected void |
statusDoSet(int status) |
URI |
uri() |
String |
url() |
accept, action, attr, attr, attrClear, attrMap, attrSet, attrSet, autoMultipart, autoMultipart, body, body, bodyAsBytes, bodyNew, bodyNew, charset, close, commit, contentType, contentTypeNew, controller, cookie, cookie, cookieRemove, cookieSet, cookieSet, cookieSet, current, file, forward, getHandled, getLocale, getRendered, header, header, isMultipart, isMultipartFormData, output, output, outputAsFile, outputAsFile, outputAsHtml, outputAsJson, paramAsBean, paramAsDecimal, paramAsDecimal, paramAsDouble, paramAsDouble, paramAsInt, paramAsInt, paramAsLong, paramAsLong, paramsAdd, paramSet, pathAsUpper, pathMap, pathNew, pathNew, protocolAsUpper, realIp, remoting, remotingSet, render, render, renderAndReturn, session, session, sessionAsDouble, sessionAsDouble, sessionAsInt, sessionAsInt, sessionAsLong, sessionAsLong, sessionClear, sessionId, sessionRemove, sessionSet, sessionState, setHandled, setLocale, setRendered, status, statusSet, userAgentpublic Object request()
request 在类中 org.noear.solon.core.handle.Contextpublic String ip()
ip 在类中 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 String path()
path 在类中 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 contentType()
contentType 在类中 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 String[] paramValues(String name)
paramValues 在类中 org.noear.solon.core.handle.Contextpublic String param(String name, String def)
param 在类中 org.noear.solon.core.handle.Contextpublic 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 List<org.noear.solon.core.handle.UploadedFile> files(String name) throws Exception
files 在类中 org.noear.solon.core.handle.ContextExceptionpublic 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 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 void cookieSet(String name, String val, String domain, String path, int maxAge)
cookieSet 在类中 org.noear.solon.core.handle.Contextpublic void redirect(String url)
redirect 在类中 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.ContextIOExceptionCopyright © 2022. All rights reserved.