Class Http2ExchangeHandler
java.lang.Object
com.predic8.membrane.core.transport.http2.Http2ExchangeHandler
- All Implemented Interfaces:
Runnable
-
Constructor Summary
ConstructorsConstructorDescriptionHttp2ExchangeHandler(StreamInfo streamInfo, Transport transport, FrameSender sender, Settings peerSettings, PeerFlowControl peerFlowControl, Exchange exchange, boolean showSSLExceptions, String remoteAddr) -
Method Summary
Modifier and TypeMethodDescriptioncreateHeadersFrames(Message res, Header header, int streamId, com.twitter.hpack.Encoder encoder, Settings peerSettings, boolean isAtEof) voidrun()static voidwriteMessageBody(int streamId, StreamInfo streamInfo, FrameSender sender, Settings peerSettings, PeerFlowControl peerFlowControl, Message res) protected voidwriteResponse(Response res)
-
Constructor Details
-
Http2ExchangeHandler
public Http2ExchangeHandler(StreamInfo streamInfo, Transport transport, FrameSender sender, Settings peerSettings, PeerFlowControl peerFlowControl, Exchange exchange, boolean showSSLExceptions, String remoteAddr)
-
-
Method Details
-
run
public void run() -
writeResponse
- Throws:
Exception
-
writeMessageBody
public static void writeMessageBody(int streamId, StreamInfo streamInfo, FrameSender sender, Settings peerSettings, PeerFlowControl peerFlowControl, Message res) throws IOException - Throws:
IOException
-
createHeadersFrames
public static List<Frame> createHeadersFrames(Message res, Header header, int streamId, com.twitter.hpack.Encoder encoder, Settings peerSettings, boolean isAtEof) throws IOException - Throws:
IOException
-