|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nesscomputing.httpserver.testing.LocalHttpService
public class LocalHttpService
Helper class for unit tests to spin up a local http service.
| Constructor Summary | |
|---|---|
LocalHttpService(org.eclipse.jetty.server.Handler handler)
Deprecated. Use forHandler(Handler). |
|
| Method Summary | |
|---|---|
static LocalHttpService |
forHandler(org.eclipse.jetty.server.Handler handler)
|
static LocalHttpService |
forSecureHandler(org.eclipse.jetty.server.Handler handler,
String login,
String password)
|
static LocalHttpService |
forSecureSSLHandler(org.eclipse.jetty.server.Handler handler,
String login,
String password)
|
static LocalHttpService |
forSSLClientSSLServerHandler(org.eclipse.jetty.server.Handler handler,
String truststore,
String truststorePassword,
String keystore,
String keystorePassword,
String keystoreType)
|
static LocalHttpService |
forSSLHandler(org.eclipse.jetty.server.Handler handler)
|
String |
getHost()
|
int |
getPort()
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated public LocalHttpService(org.eclipse.jetty.server.Handler handler)
forHandler(Handler).
| Method Detail |
|---|
public static LocalHttpService forHandler(org.eclipse.jetty.server.Handler handler)
public static LocalHttpService forSecureHandler(org.eclipse.jetty.server.Handler handler,
String login,
String password)
public static LocalHttpService forSSLHandler(org.eclipse.jetty.server.Handler handler)
public static LocalHttpService forSecureSSLHandler(org.eclipse.jetty.server.Handler handler,
String login,
String password)
public static LocalHttpService forSSLClientSSLServerHandler(org.eclipse.jetty.server.Handler handler,
String truststore,
String truststorePassword,
String keystore,
String keystorePassword,
String keystoreType)
public void start()
public void stop()
public String getHost()
public int getPort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||