public class HttpContext extends Context
详情见: http://www.redkale.org
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.lang.String |
contextPath |
protected java.security.SecureRandom |
random |
bsonFactory, bufferCapacity, bufferPool, charset, executor, jsonFactory, logger, maxbody, prepare, readTimeoutSecond, responsePool, serverStartTime, watch, writeTimeoutSecond| 构造器和说明 |
|---|
HttpContext(long serverStartTime,
java.util.logging.Logger logger,
java.util.concurrent.ExecutorService executor,
int bufferCapacity,
ObjectPool<java.nio.ByteBuffer> bufferPool,
ObjectPool<Response> responsePool,
int maxbody,
java.nio.charset.Charset charset,
java.net.InetSocketAddress address,
PrepareServlet prepare,
WatchFactory watch,
int readTimeoutSecond,
int writeTimeoutSecond,
java.lang.String contextPath) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.String |
createSessionid() |
java.lang.String |
getContextPath() |
protected java.util.concurrent.ExecutorService |
getExecutor() |
protected ObjectPool<Response> |
getResponsePool() |
protected WatchFactory |
getWatchFactory() |
getBsonConvert, getBufferCapacity, getBufferSupplier, getCharset, getJsonConvert, getLogger, getMaxbody, getReadTimeoutSecond, getServerAddress, getServerStartTime, getWriteTimeoutSecond, offerBuffer, pollBuffer, submitprotected final java.lang.String contextPath
protected final java.security.SecureRandom random
public HttpContext(long serverStartTime,
java.util.logging.Logger logger,
java.util.concurrent.ExecutorService executor,
int bufferCapacity,
ObjectPool<java.nio.ByteBuffer> bufferPool,
ObjectPool<Response> responsePool,
int maxbody,
java.nio.charset.Charset charset,
java.net.InetSocketAddress address,
PrepareServlet prepare,
WatchFactory watch,
int readTimeoutSecond,
int writeTimeoutSecond,
java.lang.String contextPath)
public java.lang.String getContextPath()
protected java.lang.String createSessionid()
protected WatchFactory getWatchFactory()
protected java.util.concurrent.ExecutorService getExecutor()
protected ObjectPool<Response> getResponsePool()