Module jcifs

Class Handler


public class Handler extends Handler
A URLStreamHandler used to provide NTLM authentication capabilities to the default HTTPS handler. This acts as a wrapper, handling authentication and passing control to the underlying stream handler.
  • Field Details

    • DEFAULT_HTTPS_PORT

      public static final int DEFAULT_HTTPS_PORT
      The default HTTPS port (443).
      See Also:
  • Constructor Details

    • Handler

      public Handler()
      Default constructor for SMB1 HTTPS URL handler.
  • Method Details

    • getDefaultPort

      protected int getDefaultPort()
      Returns the default HTTPS port.
      Overrides:
      getDefaultPort in class Handler
      Returns:
      An int containing the default HTTPS port.