Class GuicedUndertow
java.lang.Object
com.guicedee.guicedservlets.undertow.GuicedUndertow
public class GuicedUndertow
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description GuicedUndertow() -
Method Summary
Modifier and Type Method Description static io.undertow.Undertowboot(java.lang.String host, int port)static io.undertow.Undertowboot(java.lang.String host, int port, boolean ssl, java.lang.String serverKeystore, java.lang.String serverTruststore, java.lang.String sslKey, char[] sslPassword, java.lang.Class referenceClass, boolean http2)static io.undertow.Undertowboot(java.lang.String host, int port, boolean ssl, java.security.KeyStore serverKeystore, java.security.KeyStore serverTruststore, java.lang.String sslKey, char[] sslPassword, java.lang.Class referenceClass, boolean http2)io.undertow.UndertowbootMe()java.lang.StringgetHost()intgetPort()io.undertow.Undertow.BuildergetServer()java.lang.StringgetServerKeystore()java.lang.StringgetServerTruststoreLocation()java.lang.StringgetSslKeyLocation()java.security.KeyStoregetSslKeystore()java.lang.ClassgetSslStoreReferenceClass()char[]getStorePassword()java.security.KeyStoregetTrustKeystore()booleanisHttp2()booleanisSsl()static java.security.KeyStoreloadKeyStore(java.lang.Class referencePath, java.lang.String name, char[] password)GuicedUndertowsetHost(java.lang.String host)GuicedUndertowsetHttp2(boolean http2)GuicedUndertowsetPort(int port)voidsetServer(io.undertow.Undertow.Builder server)GuicedUndertowsetServerKeystore(java.lang.String serverKeystore)GuicedUndertowsetServerTruststoreLocation(java.lang.String serverTruststoreLocation)GuicedUndertowsetSsl(boolean ssl)GuicedUndertowsetSslKeyLocation(java.lang.String sslKeyLocation)GuicedUndertowsetSslKeystore(java.security.KeyStore sslKeystore)GuicedUndertowsetSSLStoresReferenceClass(java.lang.Class referenceClass)GuicedUndertowsetStorePassword(char[] storePassword)GuicedUndertowsetTrustKeystore(java.security.KeyStore trustKeystore)
-
Constructor Details
-
GuicedUndertow
public GuicedUndertow()
-
-
Method Details
-
boot
public static io.undertow.Undertow boot(java.lang.String host, int port, boolean ssl, java.lang.String serverKeystore, java.lang.String serverTruststore, java.lang.String sslKey, char[] sslPassword, java.lang.Class referenceClass, boolean http2) throws java.lang.Exception- Throws:
java.lang.Exception
-
bootMe
public io.undertow.Undertow bootMe() throws java.lang.Exception- Throws:
java.lang.Exception
-
loadKeyStore
public static java.security.KeyStore loadKeyStore(java.lang.Class referencePath, java.lang.String name, char[] password) throws java.lang.Exception- Throws:
java.lang.Exception
-
boot
public static io.undertow.Undertow boot(java.lang.String host, int port, boolean ssl, java.security.KeyStore serverKeystore, java.security.KeyStore serverTruststore, java.lang.String sslKey, char[] sslPassword, java.lang.Class referenceClass, boolean http2) throws java.lang.Exception- Throws:
java.lang.Exception
-
boot
public static io.undertow.Undertow boot(java.lang.String host, int port) throws java.lang.Exception- Throws:
java.lang.Exception
-
getServerKeystore
public java.lang.String getServerKeystore() -
setServerKeystore
-
getStorePassword
public char[] getStorePassword() -
setStorePassword
-
getSslStoreReferenceClass
public java.lang.Class getSslStoreReferenceClass() -
setSSLStoresReferenceClass
-
isHttp2
public boolean isHttp2() -
setHttp2
-
getHost
public java.lang.String getHost() -
setHost
-
getPort
public int getPort() -
setPort
-
isSsl
public boolean isSsl() -
setSsl
-
getSslKeyLocation
public java.lang.String getSslKeyLocation() -
setSslKeyLocation
-
getServerTruststoreLocation
public java.lang.String getServerTruststoreLocation() -
setServerTruststoreLocation
-
getSslKeystore
public java.security.KeyStore getSslKeystore() -
setSslKeystore
-
getTrustKeystore
public java.security.KeyStore getTrustKeystore() -
setTrustKeystore
-
getServer
public io.undertow.Undertow.Builder getServer() -
setServer
public void setServer(io.undertow.Undertow.Builder server)
-