パッケージ jcifs.smb1.http

クラス Handler

  • 直系の既知のサブクラス:
    Handler

    public class Handler
    extends URLStreamHandler
    A 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.
    • フィールドの詳細

      • DEFAULT_HTTP_PORT

        public static final int DEFAULT_HTTP_PORT
        The default HTTP port (80).
        関連項目:
        定数フィールド値
    • コンストラクタの詳細

      • Handler

        public Handler()
    • メソッドの詳細

      • 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 int containing the default HTTP port.