Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8201312

More evolution friendly BodyHandler API

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • 11
    • 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() { ... }
      }

            michaelm Michael McMahon
            chegar Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: