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

HttpClientConnection should use equalToString and prefix header constants

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 2.0.0.Beta1, 1.4.22.Final
    • 1.4.21.Final
    • Core
    • None

      Function equalToString(String) is more efficient than equals(HttpString) as it does not require an additional object allocation.
      Prefix header constants to make clear we are dealing with a header, not with some other constant such as CLOSE_REQ, CLOSED.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              frapex Frank de Jong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: