Class Http2Stream

All Implemented Interfaces:
AutoCloseable

public class Http2Stream extends HttpStreamBase
An HttpStream represents a single HTTP/2 specific Http Request/Response.
  • Method Details

    • resetStream

      public void resetStream(Http2ClientConnection.Http2ErrorCode errorCode)
      Reset the HTTP/2 stream. Note that if the stream closes before this async call is fully processed, the RST_STREAM frame will not be sent.
      Parameters:
      errorCode - aws_http2_error_code. Reason to reset the stream.