public class XContextEmpty extends XContext
| 构造器和说明 |
|---|
XContextEmpty() |
attr, attrClear, attrSet, attrSet, current, file, getHandled, isMultipart, isMultipartFormData, output, outputAsHtml, outputAsJson, paramAsDouble, paramAsEntity, paramAsInt, paramAsLong, pathAsUpper, pathMap, protocolAsUpper, render, session, sessionId, sessionSet, sessionStateInit, setHandled, userAgentpublic static XContext create()
public long contentLength()
XContextcontentLength 在类中 XContextpublic String contentType()
XContextcontentType 在类中 XContextpublic String body() throws IOException
XContextbody 在类中 XContextIOExceptionpublic InputStream bodyAsStream() throws IOException
XContextbodyAsStream 在类中 XContextIOExceptionpublic String[] paramValues(String key)
XContextparamValues 在类中 XContextpublic int paramAsInt(String key)
paramAsInt 在类中 XContextpublic long paramAsLong(String key)
paramAsLong 在类中 XContextpublic double paramAsDouble(String key)
paramAsDouble 在类中 XContextpublic void contentType(String contentType)
XContextcontentType 在类中 XContextpublic void output(InputStream stream)
public OutputStream outputStream()
outputStream 在类中 XContextpublic void cookieRemove(String key)
XContextcookieRemove 在类中 XContextCopyright © 2019. All rights reserved.