Package jcifs.smb1.https
Class Handler
- java.lang.Object
-
- java.net.URLStreamHandler
-
- jcifs.smb1.http.Handler
-
- jcifs.smb1.https.Handler
-
public class Handler extends Handler
AURLStreamHandler
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 Summary
Fields Modifier and Type Field Description static int
DEFAULT_HTTPS_PORT
The default HTTPS port (443
).-
Fields inherited from class jcifs.smb1.http.Handler
DEFAULT_HTTP_PORT
-
-
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 jcifs.smb1.http.Handler
openConnection, setURLStreamHandlerFactory
-
Methods inherited from class java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
-
-
-
Field Detail
-
DEFAULT_HTTPS_PORT
public static final int DEFAULT_HTTPS_PORT
The default HTTPS port (443
).- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultPort
protected int getDefaultPort()
Returns the default HTTPS port.- Overrides:
getDefaultPort
in classHandler
- Returns:
- An
int
containing the default HTTPS port.
-
-