Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16215

camel-http - Optimize isStatusCodeOk

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.9.0
    • camel-http
    • None
    • Unknown

    Description

      As the http component uses this to know if status is okay within ranges 200..299 and so on, we can optimize it due it uses string split which uses regexp in older JDKs.

      We can be smarter and with ranges that dont need to be parsed each time, but initialized from the component.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: