protected boolean prevalidate(final String component,final BitSet disallowed){
  if (component == null) {
    return false;
  }
  final char[] target=component.toCharArray();
  for (int i=0; i < target.length; i++) {
    if (disallowed.get(target[i])) {
      return false;
    }
  }
  return true;
}

protected boolean prevalidate ( final String component , final BitSet disallowed ) { if ( component == null ) { return false ; } final char [ ] target = component . toCharArray ( ) ; for ( int i = 0 ; i < target . length ; i ++ ) { if ( disallowed . get ( target [ i ] ) ) { return false ; } } return true ; }
pre - validate the unescaped uri string within a specific component .
