public class UndertowFraction extends Undertow<UndertowFraction> implements Fraction<UndertowFraction>
Undertow.UndertowResources
Constructor and Description |
---|
UndertowFraction() |
addPropertyChangeListener, applicationSecurityDomain, applicationSecurityDomain, applicationSecurityDomain, applicationSecurityDomain, applicationSecurityDomains, bufferCache, bufferCache, bufferCache, bufferCache, bufferCaches, byteBufferPool, byteBufferPool, byteBufferPool, byteBufferPool, byteBufferPools, 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, subresources
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyDefaults
public static UndertowFraction createDefaultFraction()
public UndertowFraction applyDefaults()
Fraction
applyDefaults
in interface Fraction<UndertowFraction>
Fraction.applyDefaults(boolean)
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 enableHTTPS(String path, String keystorePassword, String keyPassword, String alias)
This will enable HTTPS of the fraction. The application also
must include the management
fraction in its
dependencies.
path
- The keystore path.keystorePassword
- The keystore password.keyPassword
- The key password inside the keystore.alias
- The server certificate alias.public UndertowFraction enableAJP()
public UndertowFraction onlyHTTPS()
public String keystorePassword()
public String keyPassword()
public String keystorePath()
public String alias()
public boolean isOnlyHTTPS()
public boolean isEnableAJP()
public UndertowFraction removeHttpListenersFromDefaultServer()
public UndertowFraction httpPort(int httpPort)
public int httpPort()
public UndertowFraction httpsPort(int httpsPort)
public int httpsPort()
public UndertowFraction ajpPort(int ajpPort)
public int ajpPort()
Copyright © 2020 JBoss by Red Hat. All rights reserved.