public class Handler extends URLStreamHandler
URLStreamHandler used to provide NTLM authentication
capabilities to the default HTTP handler. This acts as a wrapper,
handling authentication and passing control to the underlying
stream handler.| 修飾子とタイプ | フィールドと説明 |
|---|---|
static int |
DEFAULT_HTTP_PORT
The default HTTP port (
80). |
| コンストラクタと説明 |
|---|
Handler() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected int |
getDefaultPort()
Returns the default HTTP port.
|
protected URLConnection |
openConnection(URL url) |
static void |
setURLStreamHandlerFactory(URLStreamHandlerFactory factory)
Sets the URL stream handler factory for the environment.
|
equals, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic static final int DEFAULT_HTTP_PORT
80).public static void setURLStreamHandlerFactory(URLStreamHandlerFactory factory)
factory - The URL stream handler factory.protected int getDefaultPort()
getDefaultPort クラス内 URLStreamHandlerint containing the default HTTP port.protected URLConnection openConnection(URL url) throws IOException
openConnection クラス内 URLStreamHandlerIOExceptionCopyright © 2016. All rights reserved.