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

HttpHeaders.allValues should return unmodifiable List as per JavaDoc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Introduced In Build:
      b108

      Description

      JavaDoc states :-

      List<String> allValues(String name)
      Returns an unmodifiable List of all of the values of the given named header. Always returns a List, which may be empty if the header is not present.
      Parameters:
      name - the header name
      Returns:
      a List of String values

        Attachments

          Activity

            People

            Assignee:
            vaibhav Vaibhav Choudhary
            Reporter:
            vaibhav Vaibhav Choudhary
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: