public class HttpContext extends Context
详情见: http://redkale.org
| 限定符和类型 | 字段和说明 |
|---|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.String |
createSessionid() |
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, submitpublic 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)
protected java.lang.String createSessionid()
protected WatchFactory getWatchFactory()
protected java.util.concurrent.ExecutorService getExecutor()
protected ObjectPool<Response> getResponsePool()