public class XContextEmpty extends XContext
| 构造器和说明 |
|---|
XContextEmpty() |
action, attr, attr, attrClear, attrMap, attrSet, attrSet, body, body, bodyAsBytes, close, commit, contentType, contentTypeNew, controller, cookieRemove, cookieSet, cookieSet, cookieSet, current, file, getHandled, getRendered, header, header, isMultipart, isMultipartFormData, output, outputAsHtml, outputAsJson, paramAsDecimal, paramAsDecimal, paramAsDouble, paramAsDouble, paramAsInt, paramAsInt, paramAsLong, paramAsLong, paramsAdd, paramSet, pathAsUpper, pathMap, protocolAsUpper, remoting, remotingSet, render, render, session, sessionClear, sessionId, sessionSet, sessionState, sessionStateInit, setHandled, setRendered, status, userAgentprotected Charset _charset
public static XContext create()
public long contentLength()
XContextcontentLength 在类中 XContextpublic String contentType()
XContextcontentType 在类中 XContextpublic 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.