public class Server extends Object
| Modifier and Type | Field and Description |
|---|---|
static URI |
BASE_URI |
static String |
CONTENT |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
static Server |
start()
Start SSL-secured HTTP test server.
|
void |
stop()
Stop SSL-secured HTTP test server.
|
public static final URI BASE_URI
public static final String CONTENT
public static Server start() throws IOException
IOException - in case there is an error while reading server key store or trust store.public void stop()
public static void main(String[] args) throws InterruptedException, IOException
InterruptedExceptionIOExceptionCopyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.