Annotation Type JUnitHttpServer
-
@Inherited @Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface JUnitHttpServer
JUnitHttpServer class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
basicAuth
whether or not to use basic authString
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 passwordString
keystore
the location of the keystore if using HTTPS (defaults to target/test-classes/JUnitHttpServer.keystore)String
keystorePassword
the keystore passwordint
port
the port to listen onString
resource
the directory from which to serve test filesString[]
vhosts
the list of virtual hosts to respond to, defaults to "localhost"Webapp[]
webapps
zero or more webapps to include, with contexts
-
-
-
Element Detail
-
resource
String resource
the directory from which to serve test files- Default:
- "target/test-classes"
-
-
-
vhosts
String[] vhosts
the list of virtual hosts to respond to, defaults to "localhost"- Default:
- {"localhost", "127.0.0.1", "::1", "[0000:0000:0000:0000:0000:0000:0000:0001]"}
-
-
-
basicAuthFile
String basicAuthFile
the basic auth property file (defaults to target/test-classes/realm.properties)- Default:
- "target/test-classes/realm.properties"
-
-
-
keystore
String keystore
the location of the keystore if using HTTPS (defaults to target/test-classes/JUnitHttpServer.keystore)- Default:
- "target/test-classes/JUnitHttpServer.keystore"
-
-
-
keystorePassword
String keystorePassword
the keystore password- Default:
- "opennms"
-
-
-
keyPassword
String keyPassword
the key password- Default:
- "opennms"
-
-
-
webapps
Webapp[] webapps
zero or more webapps to include, with contexts- Default:
- {}
-
-