public class UndertowFraction extends org.wildfly.swarm.config.Undertow<UndertowFraction> implements Fraction
org.wildfly.swarm.config.Undertow.UndertowResources| Constructor and Description |
|---|
UndertowFraction() |
| Modifier and Type | Method and Description |
|---|---|
static UndertowFraction |
createDefaultFraction()
Create the default, HTTP-only fraction.
|
static UndertowFraction |
createDefaultFraction(String path,
String password,
String alias)
Create the default HTTP and HTTPS fraction.
|
static UndertowFraction |
createDefaultFractionWithMonitor() |
static UndertowFraction |
createDefaultHTTPSOnlyFraction(String path,
String password,
String alias)
Create the default HTTPS-only fraction.
|
UndertowFraction |
enableHTTPS(String path,
String password,
String alias)
Enable HTTPS on this fraction.
|
void |
initialize(Container.InitContext initContext) |
void |
postInitialize(Container.PostInitContext initContext) |
addPropertyChangeListener, bufferCache, bufferCache, bufferCache, bufferCache, bufferCaches, defaultSecurityDomain, defaultSecurityDomain, defaultServer, defaultServer, defaultServletContainer, defaultServletContainer, defaultVirtualHost, defaultVirtualHost, filterConfiguration, filterConfiguration, filterConfiguration, filterConfiguration, getKey, handlerConfiguration, handlerConfiguration, handlerConfiguration, handlerConfiguration, instanceId, instanceId, removePropertyChangeListener, server, server, server, server, servers, servletContainer, servletContainer, servletContainer, servletContainer, servletContainers, statisticsEnabled, statisticsEnabled, subresourcesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsimpleNamepublic static UndertowFraction createDefaultFraction()
public static UndertowFraction createDefaultFractionWithMonitor()
public static UndertowFraction createDefaultFraction(String path, String password, String alias)
This default requires configuration for accessing a keystore.
The application also must include the management
fraction in its dependencies.
path - The keystore path.password - The keystore password.alias - The server certificate alias.enableHTTPS(String, String, String)public static UndertowFraction createDefaultHTTPSOnlyFraction(String path, String password, String alias)
This default inhibits the non-SSL HTTP endpoint, and only creates
the default HTTPS endpoint. The application also must include
the management fraction in its dependencies.
path - The keystore path.password - The keystore password.alias - The server certificate alias.enableHTTPS(String, String, String)public UndertowFraction enableHTTPS(String path, String password, String alias)
This will enable HTTPS of the fraction. The application also
must include the management fraction in its
dependencies.
path - The keystore path.password - The keystore password.alias - The server certificate alias.public void initialize(Container.InitContext initContext)
initialize in interface Fractionpublic void postInitialize(Container.PostInitContext initContext)
postInitialize in interface FractionCopyright © 2016 JBoss by Red Hat. All rights reserved.