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, toExternalFormpublic static final String HTTP
public HttpUrlHandler(Request request)
request - the requestprotected int getDefaultPort()
getDefaultPort in class URLStreamHandlerprotected URLConnection openConnection(URL url) throws IOException
openConnection in class URLStreamHandlerIOExceptionCopyright © 2021. All rights reserved.