|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.plugin.socket.server.http.server.MockHttpServer.TestSslEngineConfigurator
public static class MockHttpServer.TestSslEngineConfigurator
SslEngineConfigurator to setup MockHttpServer to work
with TestProtocolSocketFactory.
| Constructor Summary | |
|---|---|
MockHttpServer.TestSslEngineConfigurator()
|
|
| Method Summary | |
|---|---|
void |
configureSslEngine(SSLEngine engine)
Configures the SSLEngine. |
void |
init(SSLContext context)
Invoked to have this SslEngineConfigurator initialise itself. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockHttpServer.TestSslEngineConfigurator()
| Method Detail |
|---|
public void init(SSLContext context)
throws Exception
SslEngineConfiguratorSslEngineConfigurator initialise itself.
init in interface SslEngineConfiguratorcontext - SSLContext that will be used to create the
SSLEngine instances.
Exception - If fails to initialise (possibly because a protocol or cipher
is not supported).public void configureSslEngine(SSLEngine engine)
SslEngineConfigurator
Configures the SSLEngine.
It is anticipated that only a single instance will be create and therefore this method will be thread safe.
configureSslEngine in interface SslEngineConfiguratorengine - SSLEngine to configure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||