|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.protocol.https.HttpsURLStreamHandlerFactory
public class HttpsURLStreamHandlerFactory
The class HttpsURLStreamHandlerFactory implements an URLStreamHandlerFactory
for HTTPS URLs. It can be registered with the java.net
APIs
via
URL.setURLStreamHandlerFactory(new HttpsURLStreamHandlerFactory());The
setURLStreamHandlerFactory()
call can be executed only
once per Java VM invocation. In order to allow you to use additional
custom protocols this factory class allows you to register them with it.
Other methods for registering HTTPS URLs are described in the companion
document.
Note that there is a separate document describing the use of HTTPS
with iSaSiLk in more detail, it is called https.html
and
provided in your iSaSiLk installation directory.
HttpsURLConnection
,
Handler
Constructor Summary | |
---|---|
HttpsURLStreamHandlerFactory()
Create a new HttpsURLStreamHandlerFactory(). |
Method Summary | |
---|---|
void |
addHandler(java.lang.String protocol,
java.net.URLStreamHandler handler)
Add an additional URLStreamHandler. |
java.net.URLStreamHandler |
createURLStreamHandler(java.lang.String protocol)
Return a URLStreamHandler for the given protocol or null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpsURLStreamHandlerFactory()
Method Detail |
---|
public java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
createURLStreamHandler
in interface java.net.URLStreamHandlerFactory
public void addHandler(java.lang.String protocol, java.net.URLStreamHandler handler)
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |