Created
March 19, 2020 07:38
-
-
Save vietj/9f9ab00638ea9592096d89509287742c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void customKeyManagerFactory() { | |
Vertx vertx = Vertx.vertx(); | |
vertx.createHttpServer(new HttpServerOptions().setKeyCertOptions(new KeyCertOptions() { | |
@Override | |
public KeyManagerFactory getKeyManagerFactory(Vertx vertx) throws Exception { | |
throw new UnsupportedOperationException("Implement me"); | |
} | |
@Override | |
public KeyCertOptions clone() { | |
throw new UnsupportedOperationException("Implement me"); | |
} | |
})).requestHandler(req -> { | |
}).listen(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment