You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/02/16 06:41:00 UTC

[jira] [Resolved] (CAMEL-16215) camel-http - Optimize isStatusCodeOk

     [ https://issues.apache.org/jira/browse/CAMEL-16215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-16215.
---------------------------------
    Resolution: Fixed

Also done for the other http components

> camel-http - Optimize isStatusCodeOk
> ------------------------------------
>
>                 Key: CAMEL-16215
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16215
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-http
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.9.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)