Internal utility method to determine if the given scheme should use semicolons (;) for query separator instead of ampersand (&)
(String scheme)
| 572 | * semicolons (;) for query separator instead of ampersand (&) |
| 573 | */ |
| 574 | boolean isSocketScheme(String scheme) { |
| 575 | for (String p : URIHelper.SOCKET_SCHEMES) { |
| 576 | if (p.equals(scheme)) { |
| 577 | return true; |
| 578 | } |
| 579 | } |
| 580 | return false; |
| 581 | } |
| 582 | |
| 583 | /** |
| 584 | * Verifies the scheme contains only valid characters as per the URN |