@Inherited @Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface JUnitHttpServer
JUnitHttpServer class.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
basicAuth
whether or not to use basic auth
|
String |
basicAuthFile
the basic auth property file (defaults to target/test-classes/realm.properties)
|
boolean |
https
whether or not to use HTTPS (defaults to HTTP)
|
String |
keyPassword
the key password
|
String |
keystore
the location of the keystore if using HTTPS (defaults to target/test-classes/JUnitHttpServer.keystore)
|
String |
keystorePassword
the keystore password
|
int |
port
the port to listen on
|
String |
resource
the directory from which to serve test files
|
String[] |
vhosts
the list of virtual hosts to respond to, defaults to "localhost"
|
Webapp[] |
webapps
zero or more webapps to include, with contexts
|
public abstract String resource
public abstract String[] vhosts
public abstract String basicAuthFile
public abstract String keystore
public abstract String keystorePassword
public abstract String keyPassword
public abstract Webapp[] webapps
Copyright © 2018. All rights reserved.