private void setupHttps() { String keyStoreLocation = "keystore.jks"; secure(keyStoreLocation, keyStoreLocation, null, null); }
public static void main(String[] args) { secure("deploy/keystore.jks", "password", null, null); get("/secureHello", (req, res) -> "Hello Secure World"); }