Class NioHttpServerChannel

java.lang.Object
org.elasticsearch.nio.NioChannel
org.elasticsearch.nio.NioServerSocketChannel
org.elasticsearch.http.nio.NioHttpServerChannel
All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.common.network.CloseableChannel, org.elasticsearch.http.HttpServerChannel

public class NioHttpServerChannel extends org.elasticsearch.nio.NioServerSocketChannel implements org.elasticsearch.http.HttpServerChannel
  • Constructor Summary

    Constructors
    Constructor
    Description
    NioHttpServerChannel​(ServerSocketChannel serverSocketChannel)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addCloseListener​(org.elasticsearch.action.ActionListener<Void> listener)
     
     

    Methods inherited from class org.elasticsearch.nio.NioServerSocketChannel

    addBindListener, getContext, getLocalAddress, getRawChannel, setContext

    Methods inherited from class org.elasticsearch.nio.NioChannel

    addCloseListener, close, isOpen

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.elasticsearch.common.network.CloseableChannel

    close, isOpen

    Methods inherited from interface org.elasticsearch.http.HttpServerChannel

    getLocalAddress
  • Constructor Details

    • NioHttpServerChannel

      public NioHttpServerChannel(ServerSocketChannel serverSocketChannel)
  • Method Details

    • addCloseListener

      public void addCloseListener(org.elasticsearch.action.ActionListener<Void> listener)
      Specified by:
      addCloseListener in interface org.elasticsearch.common.network.CloseableChannel
    • toString

      public String toString()
      Overrides:
      toString in class org.elasticsearch.nio.NioServerSocketChannel