Package org.elasticsearch.http.nio
Class NioHttpServerChannel
java.lang.Object
org.elasticsearch.nio.NioChannel
org.elasticsearch.nio.NioServerSocketChannel
org.elasticsearch.http.nio.NioHttpServerChannel
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,CloseableChannel,HttpServerChannel
public class NioHttpServerChannel extends NioServerSocketChannel implements HttpServerChannel
-
Constructor Summary
Constructors Constructor Description NioHttpServerChannel(java.nio.channels.ServerSocketChannel serverSocketChannel) -
Method Summary
Modifier and Type Method Description voidaddCloseListener(ActionListener<java.lang.Void> listener)java.lang.StringtoString()Methods inherited from class org.elasticsearch.nio.NioServerSocketChannel
addBindListener, getContext, getLocalAddress, getRawChannel, setContext
-
Constructor Details
-
NioHttpServerChannel
public NioHttpServerChannel(java.nio.channels.ServerSocketChannel serverSocketChannel)
-
-
Method Details
-
addCloseListener
- Specified by:
addCloseListenerin interfaceCloseableChannel
-
toString
public java.lang.String toString()- Overrides:
toStringin classNioServerSocketChannel
-