Uses of Class
java.net.URISyntaxException
| Package | Description |
|---|---|
| com.squareup.okhttp.internal | |
| java.net | |
| libcore.net | |
| org.apache.http.client.utils |
Helpers and utility classes for HttpClient.
|
-
Uses of URISyntaxException in com.squareup.okhttp.internal
Methods in com.squareup.okhttp.internal that throw URISyntaxException Modifier and Type Method Description URIPlatform. toUriLenient(URL url) -
Uses of URISyntaxException in java.net
Methods in java.net that throw URISyntaxException Modifier and Type Method Description URIURI. parseServerAuthority()Tries to parse the authority component of this URI to divide it into the host, port, and user-info.URIURL. toURI()Returns the URI equivalent to this URL.URIURL. toURILenient()Encodes this URL to the equivalent URI after escaping characters that are not permitted by URI.Constructors in java.net that throw URISyntaxException Constructor Description URI(String spec)Creates a new URI instance by parsingspec.URI(String scheme, String schemeSpecificPart, String fragment)Creates a new URI instance of the given unencoded component parts.URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment)Creates a new URI instance of the given unencoded component parts.URI(String scheme, String host, String path, String fragment)Creates a new URI instance of the given unencoded component parts.URI(String scheme, String authority, String path, String query, String fragment)Creates a new URI instance of the given unencoded component parts. -
Uses of URISyntaxException in libcore.net
Methods in libcore.net that throw URISyntaxException Modifier and Type Method Description StringUriCodec. validate(String uri, int start, int end, String name)Throws ifsis invalid according to this encoder.static voidUriCodec. validateSimple(String s, String legal)Throws ifscontains characters that are not letters, digits or inlegal. -
Uses of URISyntaxException in org.apache.http.client.utils
Methods in org.apache.http.client.utils that throw URISyntaxException Modifier and Type Method Description static URIURIUtils. createURI(String scheme, String host, int port, String path, String query, String fragment)Constructs aURIusing all the parameters.static URIURIUtils. rewriteURI(URI uri, HttpHost target)A convenience method forURIUtils.rewriteURI(URI, HttpHost, boolean)that always keeps the fragment.static URIURIUtils. rewriteURI(URI uri, HttpHost target, boolean dropFragment)A convenience method for creating a newURIwhose scheme, host and port are taken from the target host, but whose path, query and fragment are taken from the existing URI.