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/15 17:52:00 UTC
[jira] [Created] (CAMEL-16215) camel-http - Optimize isStatusCodeOk
Claus Ibsen created CAMEL-16215:
-----------------------------------
Summary: 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
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)