|
Restlet Framework 2.2.1 Android |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.engine.ssl.SslContextFactory
public abstract class SslContextFactory
This is an abstract factory that produces configured and initialized
instances of SSLContext. Concrete implementations of SslContextFactory must
implement createSslContext()
, which should typically consist of:
SSLContext sslContext = SSLContext.getInstance(...); ... sslContext.init(..., ..., ...); return sslContext;
SSLContext
Constructor Summary | |
---|---|
SslContextFactory()
|
Method Summary | |
---|---|
abstract javax.net.ssl.SSLContext |
createSslContext()
Creates a configured and initialized SSLContext. |
abstract void |
init(Series<Parameter> parameters)
Initialize the factory with the given connector parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SslContextFactory()
Method Detail |
---|
public abstract javax.net.ssl.SSLContext createSslContext() throws java.lang.Exception
java.lang.Exception
public abstract void init(Series<Parameter> parameters)
parameters
- The connector parameters.
|
Restlet Framework 2.2.1 Android |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |