public class XContextEmpty extends XContext
| 构造器和说明 |
|---|
XContextEmpty() |
attr, attrClear, attrSet, attrSet, close, commit, contentType, contentTypeNew, cookieRemove, cookieSet, cookieSet, current, file, getHandled, isMultipart, isMultipartFormData, output, outputAsHtml, outputAsJson, paramAsDouble, paramAsDouble, paramAsEntity, paramAsInt, paramAsInt, paramAsLong, paramAsLong, paramSet, pathAsUpper, pathMap, protocolAsUpper, remoting, remotingSet, render, render, session, sessionClear, sessionId, sessionSet, sessionState, sessionStateInit, setHandled, userAgentprotected Charset _charset
public 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 在类中 XContextprotected void contentTypeDoSet(String contentType)
contentTypeDoSet 在类中 XContextpublic void output(InputStream stream)
public OutputStream outputStream()
outputStream 在类中 XContextCopyright © 2020. All rights reserved.