cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessio Soldano <asold...@redhat.com>
Subject Re: Performance issue with Content-ID computation of multipart MTOM/XOP messages
Date Mon, 14 Jul 2014 08:32:08 GMT
On 14/07/14 09:54, Alessio Soldano wrote:
> 2) if that's required, would you mind me trying to add some 
> preliminary checks to avoid the URL generation when that's clearly 
> going to raise an exception (for instance by parsing the string using 
> a pre-computed regular expression) ?
Apache Commons UrlValidator [1] might be a solution for this, btw.

[1] 
http://commons.apache.org/proper/commons-validator/apidocs/src-html/org/apache/commons/validator/routines/UrlValidator.html

-- 
Alessio Soldano
Web Service Lead, JBoss


Mime
View raw message