Package org.elasticsearch.http.nio
Class NioHttpChannel
java.lang.Object
org.elasticsearch.nio.NioChannel
org.elasticsearch.nio.NioSocketChannel
org.elasticsearch.http.nio.NioHttpChannel
- All Implemented Interfaces:
Closeable,AutoCloseable,CloseableChannel,HttpChannel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCloseListener(ActionListener<Void> listener) voidsendResponse(HttpResponse response, ActionListener<Void> listener) toString()Methods inherited from class org.elasticsearch.nio.NioSocketChannel
addConnectListener, getContext, getLocalAddress, getRawChannel, getRemoteAddress, setContextMethods inherited from class org.elasticsearch.nio.NioChannel
addCloseListener, close, isOpenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.network.CloseableChannel
close, isOpenMethods inherited from interface org.elasticsearch.http.HttpChannel
getLocalAddress, getRemoteAddress
-
Constructor Details
-
NioHttpChannel
-
-
Method Details
-
sendResponse
- Specified by:
sendResponsein interfaceHttpChannel
-
addCloseListener
- Specified by:
addCloseListenerin interfaceCloseableChannel
-
toString
- Overrides:
toStringin classNioSocketChannel
-