Validate the URI characters within a specific component. The component must be performed after escape encoding. Or it doesn't include escaped characters. @param component the characters sequence within the component @param generous those characters that are allowed within a component @return if tru
(char[] component, BitSet generous)
| 1832 | * @return if true, it's the correct URI character sequence |
| 1833 | */ |
| 1834 | protected boolean validate(char[] component, BitSet generous) { |
| 1835 | // validate each component by generous characters |
| 1836 | return validate(component, 0, -1, generous); |
| 1837 | } |
| 1838 | |
| 1839 | |
| 1840 | /** |