Class UndertowServer
java.lang.Object
org.junit.rules.ExternalResource
org.wildfly.elytron.web.undertow.common.UndertowServer
- All Implemented Interfaces:
org.junit.rules.TestRule
public abstract class UndertowServer
extends org.junit.rules.ExternalResource
- Author:
- Darran Lofthouse
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Stringprotected final intprotected final Supplier<SSLContext> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUndertowServer(Supplier<SSLContext> serverSslContext, int port, String contextRoot) protectedUndertowServer(Supplier<SSLContext> serverSslContext, int port, String contextRoot, String path) -
Method Summary
Methods inherited from class org.junit.rules.ExternalResource
after, apply, before
-
Field Details
-
serverSslContext
-
port
protected final int port -
contextRoot
-
path
-
-
Constructor Details
-
UndertowServer
-
UndertowServer
protected UndertowServer(Supplier<SSLContext> serverSslContext, int port, String contextRoot, String path)
-
-
Method Details
-
createUri
- Throws:
URISyntaxException
-
createUri
- Throws:
URISyntaxException
-
createUri
- Throws:
URISyntaxException
-
forceShutdown
public void forceShutdown() -
getContextRoot
-