public class HttpsServer extends Object
responseContent
on each request.
Use keyStore(String, String)
and trustStore(String, String)
to set, appropriately, the server key
store and trust storeConstructor and Description |
---|
HttpsServer() |
Modifier and Type | Method and Description |
---|---|
HttpsServer |
keyStore(String keystore,
String keyStorePassword) |
HttpsServer |
start(int httpsPort,
String httpsHostname) |
void |
stop() |
HttpsServer |
trustStore(String keystore,
String keyStorePassword) |
public HttpsServer keyStore(String keystore, String keyStorePassword)
public HttpsServer trustStore(String keystore, String keyStorePassword)
public HttpsServer start(int httpsPort, String httpsHostname)
public void stop()
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.