Class NettyH2StreamChannel
java.lang.Object
org.apache.dubbo.remoting.http12.netty4.h2.NettyH2StreamChannel
- All Implemented Interfaces:
H2StreamChannel,HttpChannel
-
Constructor Summary
ConstructorsConstructorDescriptionNettyH2StreamChannel(io.netty.handler.codec.http2.Http2StreamChannel http2StreamChannel, TripleConfig tripleConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()newOutputMessage(boolean endStream) writeHeader(HttpMetadata httpMetadata) writeMessage(HttpOutputMessage httpOutputMessage) writeResetFrame(long errorCode) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.remoting.http12.h2.H2StreamChannel
newOutputMessage
-
Constructor Details
-
NettyH2StreamChannel
public NettyH2StreamChannel(io.netty.handler.codec.http2.Http2StreamChannel http2StreamChannel, TripleConfig tripleConfig)
-
-
Method Details
-
writeHeader
- Specified by:
writeHeaderin interfaceHttpChannel
-
writeMessage
- Specified by:
writeMessagein interfaceHttpChannel
-
newOutputMessage
- Specified by:
newOutputMessagein interfaceH2StreamChannel
-
remoteAddress
- Specified by:
remoteAddressin interfaceHttpChannel
-
localAddress
- Specified by:
localAddressin interfaceHttpChannel
-
flush
public void flush()- Specified by:
flushin interfaceHttpChannel
-
writeResetFrame
- Specified by:
writeResetFramein interfaceH2StreamChannel
-