Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-2707

Allow the Http2ServerConnection to expose the stream identifier

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Core
    • None

      The Http2ServerConnection has a reference to the Http2StreamSourceChannel which has a reference to the HTTP/2 stream identifier. There is currently no way to get this identifier from the HttpServerExchange. If we expose it through the Http2ServerConnection, we could get the stream identifier from there.

      Example
      if (exchange.getConnection() instanceof Http2ServerConnection connection) {
          return connection.getStreamId();
      }
      

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: