public class UndertowFraction extends org.wildfly.swarm.config.Undertow<UndertowFraction> implements org.wildfly.swarm.spi.api.Fraction
org.wildfly.swarm.config.Undertow.UndertowResourcesAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>org.wildfly.swarm.spi.api.Fraction.InitContext, org.wildfly.swarm.spi.api.Fraction.PostInitContext| Constructor and Description |
|---|
UndertowFraction() |
| Modifier and Type | Method and Description |
|---|---|
static UndertowFraction |
createDefaultAJPOnlyFraction()
Create the default AJP-only fraction.
|
static UndertowFraction |
createDefaultAndEnableAJPFraction()
Create the default HTTP and AJP fraction.
|
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 |
createDefaultHTTPSOnlyFraction(String path,
String password,
String alias)
Create the default HTTPS-only fraction.
|
UndertowFraction |
enableAJP()
Enable AJP on this fraction.
|
UndertowFraction |
enableHTTPS(String path,
String password,
String alias)
Enable HTTPS on this fraction.
|
void |
initialize(org.wildfly.swarm.spi.api.Fraction.InitContext initContext) |
void |
postInitialize(org.wildfly.swarm.spi.api.Fraction.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, subresourcesclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitsimpleNamepublic static UndertowFraction createDefaultFraction()
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 createDefaultAndEnableAJPFraction()
enableAJP()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 static UndertowFraction createDefaultAJPOnlyFraction()
This default inhibits the HTTP endpoint, and only creates the default AJP endpoint.
enableAJP()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 UndertowFraction enableAJP()
public void initialize(org.wildfly.swarm.spi.api.Fraction.InitContext initContext)
initialize in interface org.wildfly.swarm.spi.api.Fractionpublic void postInitialize(org.wildfly.swarm.spi.api.Fraction.PostInitContext initContext)
postInitialize in interface org.wildfly.swarm.spi.api.FractionCopyright © 2016 JBoss by Red Hat. All rights reserved.