パッケージ jcifs.http
クラス Handler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- jcifs.http.Handler
-
- 直系の既知のサブクラス:
Handler
@Deprecated public class Handler extends URLStreamHandler
推奨されていません。NtlmHttpURLConnectionis broken by design.AURLStreamHandlerused 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 intDEFAULT_HTTP_PORT推奨されていません。The default HTTP port (80).
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 Handler(CIFSContext tc)推奨されていません。
-
メソッドの概要
すべてのメソッド staticメソッド インスタンス・メソッド concreteメソッド 推奨されていないメソッド 修飾子とタイプ メソッド 説明 protected intgetDefaultPort()推奨されていません。Returns the default HTTP port.protected URLConnectionopenConnection(URL url)推奨されていません。static voidsetURLStreamHandlerFactory(URLStreamHandlerFactory factory)推奨されていません。Sets the URL stream handler factory for the environment.-
クラスから継承されたメソッド java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
-
-
-
フィールドの詳細
-
DEFAULT_HTTP_PORT
public static final int DEFAULT_HTTP_PORT
推奨されていません。The default HTTP port (80).- 関連項目:
- 定数フィールド値
-
-
コンストラクタの詳細
-
Handler
public Handler(CIFSContext tc)
推奨されていません。- パラメータ:
tc- context to use
-
-
メソッドの詳細
-
setURLStreamHandlerFactory
public static void setURLStreamHandlerFactory(URLStreamHandlerFactory factory)
推奨されていません。Sets the URL stream handler factory for the environment. This allows specification of the factory used in creating underlying stream handlers. This can be called once per JVM instance.- パラメータ:
factory- The URL stream handler factory.
-
getDefaultPort
protected int getDefaultPort()
推奨されていません。Returns the default HTTP port.- オーバーライド:
getDefaultPortクラス内URLStreamHandler- 戻り値:
- An
intcontaining the default HTTP port.
-
openConnection
protected URLConnection openConnection(URL url) throws IOException
推奨されていません。- 定義:
openConnectionクラス内URLStreamHandler- 例外:
IOException
-
-