- java.lang.Object
-
- org.redkale.net.Context
-
- org.redkale.net.http.HttpContext
-
public class HttpContext extends Context
HTTP服务的上下文对象详情见: https://redkale.org
- 作者:
- zhangjx
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
HttpContext.HttpContextConfig
protected static class
HttpContext.UriPathNode
-
从类继承的嵌套类/接口 org.redkale.net.Context
Context.ContextConfig
-
-
字段概要
字段 修饰符和类型 字段 说明 protected ConcurrentHashMap<Class,Creator>
asyncHandlerCreators
protected boolean
lazyHeader
protected String
localHeader
protected String
localParameter
protected SecureRandom
random
protected String
remoteAddrHeader
protected String[]
remoteAddrHeaders
protected HttpRpcAuthenticator
rpcAuthenticator
protected AnyValue
rpcAuthenticatorConfig
-
从类继承的字段 org.redkale.net.Context
aliveTimeoutSeconds, bufferCapacity, charset, dispatcher, jsonFactory, logger, maxBody, maxConns, maxHeader, nodeid, protobufFactory, readTimeoutSeconds, resourceFactory, serverAddress, serverStartTime, sslBuilder, sslContext, workExecutor, writeTimeoutSeconds
-
-
构造器概要
构造器 构造器 说明 HttpContext(HttpContext.HttpContextConfig config)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected String
createSessionid()
protected <H extends CompletionHandler>
Creator<H>loadAsyncHandlerCreator(Class<H> handlerClass)
protected void
updateReadIOThread(AsyncConnection conn, AsyncIOThread ioReadThread)
protected void
updateWriteIOThread(AsyncConnection conn, AsyncIOThread ioWriteThread)
-
从类继承的方法 org.redkale.net.Context
execute, executeDispatch, getAliveTimeoutSeconds, getBufferCapacity, getCharset, getJsonConvert, getLogger, getMaxBody, getMaxConns, getMaxHeader, getNodeid, getProtobufConvert, getReadTimeoutSeconds, getResourceFactory, getServerAddress, getServerStartTime, getSSLBuilder, getSSLContext, getWriteTimeoutSeconds, updateServerAddress
-
-
-
-
字段详细资料
-
random
protected final SecureRandom random
-
asyncHandlerCreators
protected final ConcurrentHashMap<Class,Creator> asyncHandlerCreators
-
remoteAddrHeader
protected final String remoteAddrHeader
-
remoteAddrHeaders
protected final String[] remoteAddrHeaders
-
localHeader
protected final String localHeader
-
localParameter
protected final String localParameter
-
rpcAuthenticator
protected final HttpRpcAuthenticator rpcAuthenticator
-
rpcAuthenticatorConfig
protected final AnyValue rpcAuthenticatorConfig
-
lazyHeader
protected final boolean lazyHeader
-
-
构造器详细资料
-
HttpContext
public HttpContext(HttpContext.HttpContextConfig config)
-
-
方法详细资料
-
updateReadIOThread
protected void updateReadIOThread(AsyncConnection conn, AsyncIOThread ioReadThread)
- 覆盖:
updateReadIOThread
在类中Context
-
updateWriteIOThread
protected void updateWriteIOThread(AsyncConnection conn, AsyncIOThread ioWriteThread)
- 覆盖:
updateWriteIOThread
在类中Context
-
createSessionid
protected String createSessionid()
-
loadAsyncHandlerCreator
protected <H extends CompletionHandler> Creator<H> loadAsyncHandlerCreator(Class<H> handlerClass)
-
-