public class HttpUrlHandler extends URLStreamHandler
Modifier and Type | Field and Description |
---|---|
static String |
HTTP
The Constant PROTOCOL.
|
Constructor and Description |
---|
HttpUrlHandler(Request request)
Instantiates a new HTTP URL handler.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getDefaultPort() |
protected URLConnection |
openConnection(URL url) |
equals, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
public static final String HTTP
public HttpUrlHandler(Request request)
request
- the requestprotected int getDefaultPort()
getDefaultPort
in class URLStreamHandler
protected URLConnection openConnection(URL url) throws IOException
openConnection
in class URLStreamHandler
IOException
Copyright © 2021. All rights reserved.