Class NioContext


  • public class NioContext
    extends java.lang.Object
    Context when creating resources for a NIO-based connection.
    Since:
    5.5.0
    See Also:
    ByteBufferFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      NioContext​(NioParams nioParams, javax.net.ssl.SSLEngine sslEngine)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      NioParams getNioParams()
      NIO params.
      javax.net.ssl.SSLEngine getSslEngine()
      SSLEngine for SSL/TLS connection.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • nioParams

        private final NioParams nioParams
      • sslEngine

        private final javax.net.ssl.SSLEngine sslEngine
    • Constructor Detail

      • NioContext

        NioContext​(NioParams nioParams,
                   javax.net.ssl.SSLEngine sslEngine)
    • Method Detail

      • getNioParams

        public NioParams getNioParams()
        NIO params.
        Returns:
      • getSslEngine

        public javax.net.ssl.SSLEngine getSslEngine()
        SSLEngine for SSL/TLS connection. Null for plain connection.
        Returns: