模块 org.redkale
程序包 org.redkale.net

类 Context

  • 直接已知子类:
    HttpContext, SncpContext

    public class Context
    extends Object
    服务器上下文对象

    详情见: https://redkale.org

    作者:
    zhangjx
    • 字段详细资料

      • serverStartTime

        protected final long serverStartTime
      • nodeid

        protected final String nodeid
      • sslBuilder

        protected final SSLBuilder sslBuilder
      • sslContext

        protected final SSLContext sslContext
      • bufferCapacity

        protected final int bufferCapacity
      • logger

        protected final Logger logger
      • maxConns

        protected int maxConns
      • maxHeader

        protected int maxHeader
      • maxBody

        protected int maxBody
      • aliveTimeoutSeconds

        protected int aliveTimeoutSeconds
      • readTimeoutSeconds

        protected int readTimeoutSeconds
      • writeTimeoutSeconds

        protected int writeTimeoutSeconds
      • charset

        protected Charset charset
    • 方法详细资料

      • executeDispatch

        protected final void executeDispatch​(Request request,
                                             Response response)
      • updateServerAddress

        protected void updateServerAddress​(InetSocketAddress addr)
      • getSSLBuilder

        public SSLBuilder getSSLBuilder()
      • getSSLContext

        public SSLContext getSSLContext()
      • getMaxConns

        public int getMaxConns()
      • getMaxHeader

        public int getMaxHeader()
      • getMaxBody

        public int getMaxBody()
      • getServerStartTime

        public long getServerStartTime()
      • getNodeid

        public String getNodeid()
      • getCharset

        public Charset getCharset()
      • getBufferCapacity

        public int getBufferCapacity()
      • getLogger

        public Logger getLogger()
      • getAliveTimeoutSeconds

        public int getAliveTimeoutSeconds()
      • getReadTimeoutSeconds

        public int getReadTimeoutSeconds()
      • getWriteTimeoutSeconds

        public int getWriteTimeoutSeconds()