Class NettyHttp2ReverseServer
java.lang.Object
org.apache.kafka.common.network.netty.NettyHttp2ReverseServer
A simple HTTP/2 server that reverses the connected streams.
After the first message is received, the stream is registered to the Selector.
Requests will be sent back to the client on the same stream.
-
Constructor Details
-
NettyHttp2ReverseServer
public NettyHttp2ReverseServer()
-
-
Method Details
-
stop
public void stop()Stop all the connections and wait for them to close before returning. -
selector
public org.apache.kafka.common.network.netty.NettyHttp2Selector selector() -
activeStreamIds
-
address
Return the address on which the server is listening.
-