public class MqSolonContext
extends org.noear.solon.core.handle.ContextEmpty
| 构造器和说明 |
|---|
MqSolonContext(MqMessageReceivedImpl message) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
asyncComplete() |
void |
asyncStart(long timeout,
org.noear.solon.core.handle.ContextAsyncListener listener) |
boolean |
asyncSupported() |
InputStream |
bodyAsStream() |
void |
close() |
protected void |
commit() |
long |
contentLength() |
String |
contentType() |
void |
contentType(String contentType) |
void |
headerAdd(String key,
String val) |
String |
headerOfResponse(String name) |
void |
headerSet(String key,
String val) |
boolean |
isMultipart() |
String |
method() |
void |
output(byte[] bytes) |
void |
output(InputStream stream) |
void |
outputAsFile(org.noear.solon.core.handle.DownloadedFile file) |
void |
outputAsFile(File file) |
OutputStream |
outputStream() |
String |
protocol() |
String |
queryString() |
String |
remoteIp() |
int |
remotePort() |
Object |
request() |
Object |
response() |
URI |
uri() |
String |
url() |
contentCharset, contentTypeDoSet, cookie, cookie, cookieMap, cookieSet, create, filesDelete, filesMap, flush, headerMap, headersMap, isSecure, paramMap, paramsMap, redirect, request, response, session, sessionAsDouble, sessionAsDouble, sessionAsInt, sessionAsInt, sessionAsLong, sessionAsLong, sessionClear, sessionId, sessionOrDefault, sessionRemove, sessionSet, status, statusDoSetaccept, action, asyncStart, attr, attr, attrClear, attrMap, attrOrDefault, attrSet, attrSet, autoMultipart, autoMultipart, body, body, bodyAsBytes, bodyNew, bodyNew, charset, contentLength, contentTypeNew, controller, cookieOrDefault, cookieRemove, cookieSet, cookieSet, cookieSet, current, file, files, forward, getHandled, getLocale, getRendered, header, header, headerOrDefault, headerValues, ip, isFormUrlencoded, 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 MqSolonContext(MqMessageReceivedImpl message) throws IOException
IOExceptionpublic Object request()
request 在类中 org.noear.solon.core.handle.ContextEmptypublic String remoteIp()
remoteIp 在类中 org.noear.solon.core.handle.ContextEmptypublic int remotePort()
remotePort 在类中 org.noear.solon.core.handle.ContextEmptypublic boolean isMultipart()
isMultipart 在类中 org.noear.solon.core.handle.Contextpublic String method()
method 在类中 org.noear.solon.core.handle.ContextEmptypublic String protocol()
protocol 在类中 org.noear.solon.core.handle.ContextEmptypublic URI uri()
uri 在类中 org.noear.solon.core.handle.ContextEmptypublic String url()
url 在类中 org.noear.solon.core.handle.ContextEmptypublic long contentLength()
contentLength 在类中 org.noear.solon.core.handle.ContextEmptypublic String contentType()
contentType 在类中 org.noear.solon.core.handle.ContextEmptypublic String queryString()
queryString 在类中 org.noear.solon.core.handle.ContextEmptypublic InputStream bodyAsStream() throws IOException
bodyAsStream 在类中 org.noear.solon.core.handle.ContextEmptyIOExceptionpublic Object response()
response 在类中 org.noear.solon.core.handle.ContextEmptypublic void contentType(String contentType)
contentType 在类中 org.noear.solon.core.handle.Contextpublic void headerSet(String key, String val)
headerSet 在类中 org.noear.solon.core.handle.ContextEmptypublic void headerAdd(String key, String val)
headerAdd 在类中 org.noear.solon.core.handle.ContextEmptypublic String headerOfResponse(String name)
headerOfResponse 在类中 org.noear.solon.core.handle.ContextEmptypublic OutputStream outputStream()
outputStream 在类中 org.noear.solon.core.handle.ContextEmptypublic void output(byte[] bytes)
output 在类中 org.noear.solon.core.handle.ContextEmptypublic void output(InputStream stream)
output 在类中 org.noear.solon.core.handle.ContextEmptypublic void outputAsFile(File file) throws IOException
outputAsFile 在类中 org.noear.solon.core.handle.ContextEmptyIOExceptionpublic void outputAsFile(org.noear.solon.core.handle.DownloadedFile file)
throws IOException
outputAsFile 在类中 org.noear.solon.core.handle.ContextEmptyIOExceptionprotected void commit()
throws IOException
IOExceptionpublic boolean asyncSupported()
asyncSupported 在类中 org.noear.solon.core.handle.ContextEmptypublic void asyncStart(long timeout,
org.noear.solon.core.handle.ContextAsyncListener listener)
asyncStart 在类中 org.noear.solon.core.handle.ContextEmptypublic void asyncComplete()
asyncComplete 在类中 org.noear.solon.core.handle.ContextEmptypublic void close()
throws IOException
close 在类中 org.noear.solon.core.handle.ContextEmptyIOExceptionCopyright © 2024. All rights reserved.