Package jcifs.https

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.
    • Constructor Summary

      Constructors 
      Constructor Description
      Handler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int getDefaultPort()
      Returns the default HTTPS port.
      • Methods inherited from class java.net.URLStreamHandler

        equals, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_HTTPS_PORT

        public static final int DEFAULT_HTTPS_PORT
        The default HTTPS port (443).
        See Also:
        Constant Field Values
    • Constructor Detail

      • Handler

        public Handler()
    • Method Detail

      • getDefaultPort

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