|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.URLStreamHandler
jcifs.http.Handler
public class Handler
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.
Field Summary | |
---|---|
static int |
DEFAULT_HTTP_PORT
The default HTTP port ( 80 ). |
Constructor Summary | |
---|---|
Handler()
|
Method Summary | |
---|---|
protected int |
getDefaultPort()
Returns the default HTTP port. |
protected java.net.URLConnection |
openConnection(java.net.URL url)
|
static void |
setURLStreamHandlerFactory(java.net.URLStreamHandlerFactory factory)
Sets the URL stream handler factory for the environment. |
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 |
---|
public static final int DEFAULT_HTTP_PORT
80
).
Constructor Detail |
---|
public Handler()
Method Detail |
---|
public static void setURLStreamHandlerFactory(java.net.URLStreamHandlerFactory factory)
factory
- The URL stream handler factory.protected int getDefaultPort()
getDefaultPort
in class java.net.URLStreamHandler
int
containing the default HTTP port.protected java.net.URLConnection openConnection(java.net.URL url) throws java.io.IOException
openConnection
in class java.net.URLStreamHandler
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |