More evolution friendly BodyHandler API

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: 11
    • Component/s: core-libs

      This issue has been filed to capture an accepted proposal that arose during JEP review on
      http://mail.openjdk.java.net/pipermail/net-dev/2018-April/011314.html

      ---

      A carrier type for the initial response information ( to be passed to the BodyHandler API ) is more friendly to future evolution, if more information is required, such as the protocol version.

      Something along the lines of:

      ResponseInfo {
        int statusCode() {... }
        HttpHeaders responseHeaders { ... }
        HttpClient.Version version() { ... }
      }

            Assignee:
            Michael McMahon
            Reporter:
            Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: