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

Add ability to bind to specific local address to HTTP client

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 11, 12
    • Fix Version/s: tbd
    • Component/s: core-libs

      Description

      Currently there is no way to specify a local address when the HTTP client creates client sockets. This would be useful on multi-homed devices when a specific interface must be used.

      The address could be set for simplicity at the HttpClient level rather than for specific HttpRequests.

        Attachments

          Activity

            People

            Assignee:
            michaelm Michael McMahon
            Reporter:
            michaelm Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: