| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected URLConnection | |
| protected boolean | Returns: true if and only if they
are equal, false otherwise.the URL of the first host to compare u1, URL the URL of the second host to compare u2)Overrides java. Compares the host components of two URLs. |
| public URLConnection | openConnection(URL u)
Implements abstract java. Opens a connection to the object referenced by the
|
| public URLConnection | openConnection(URL u, Proxy p)
Overrides java. Same as openConnection(URL), except that the connection will be made through the specified proxy; Protocol handlers that do not support proxying will ignore the proxy parameter and make a normal connection. |
| protected void | parseURL(URL u, String spec, int start, int limit)
Overrides java. Parses the string representation of a |
| Handler | back to summary |
|---|---|
| public Handler() | |
| createFileURLConnection | back to summary |
|---|---|
| protected URLConnection createFileURLConnection(URL u, File file) | |
| hostsEqual | back to summary |
|---|---|
| protected boolean hostsEqual(URL u1, URL u2) Overrides java. Compares the host components of two URLs. | |
| openConnection | back to summary |
|---|---|
| public URLConnection openConnection(URL u) throws IOException Implements abstract java. Doc from java. Opens a connection to the object referenced by the
If for the handler's protocol (such as HTTP or JAR), there exists a public, specialized URLConnection subclass belonging to one of the following packages or one of their subpackages: java.lang, java.io, java.util, java.net, the connection returned will be of that subclass. For example, for HTTP an HttpURLConnection will be returned, and for JAR a JarURLConnection will be returned.
| |
| openConnection | back to summary |
|---|---|
| public URLConnection openConnection(URL u, Proxy p) throws IOException Overrides java. Doc from java. Same as openConnection(URL), except that the connection will be made through the specified proxy; Protocol handlers that do not support proxying will ignore the proxy parameter and make a normal connection. Calling this method preempts the system's default
| |
| parseURL | back to summary |
|---|---|
| protected void parseURL(URL u, String spec, int start, int limit) Overrides java. Doc from java. Parses the string representation of a
If there is any inherited context, then it has already been
copied into the
The | |