Class ApplicationServer
java.lang.Object
is.galia.ApplicationServer
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes the instance with arbitrary defaults.ApplicationServer(Configuration config) Initializes the instance with defaults from aConfigurationobject. -
Method Summary
Modifier and TypeMethodDescriptionintintintintintbooleanbooleanbooleanbooleanvoidsetAcceptQueueLimit(int size) voidsetHTTPEnabled(boolean enabled) voidsetHTTPHost(String host) voidsetHTTPPort(int port) voidsetHTTPSEnabled(boolean enabled) voidsetHTTPSHost(String host) voidsetHTTPSKeyPassword(String password) voidsetHTTPSKeyStorePassword(String password) voidsetHTTPSKeyStorePath(String path) voidsetHTTPSKeyStoreType(String type) voidsetHTTPSPort(int port) voidsetIdleTimeout(Duration timeout) voidsetMaxThreads(int maxThreads) voidsetMinThreads(int minThreads) voidstart()Starts the HTTP and/or HTTPS servers.voidstop()
-
Constructor Details
-
ApplicationServer
public ApplicationServer()Initializes the instance with arbitrary defaults. -
ApplicationServer
Initializes the instance with defaults from aConfigurationobject.- Parameters:
config- Instance from which to obtain settings.
-
-
Method Details
-
getAcceptQueueLimit
public int getAcceptQueueLimit() -
getHTTPHost
-
getHTTPPort
public int getHTTPPort() -
getHTTPSHost
-
getHTTPSKeyPassword
-
getHTTPSKeyStorePassword
-
getHTTPSKeyStorePath
-
getHTTPSKeyStoreType
-
getHTTPSPort
public int getHTTPSPort() -
getIdleTimeout
-
getMaxThreads
public int getMaxThreads() -
getMinThreads
public int getMinThreads() -
isHTTPEnabled
public boolean isHTTPEnabled() -
isHTTPSEnabled
public boolean isHTTPSEnabled() -
isStarted
public boolean isStarted() -
isStopped
public boolean isStopped() -
setAcceptQueueLimit
public void setAcceptQueueLimit(int size) -
setHTTPEnabled
public void setHTTPEnabled(boolean enabled) -
setHTTPHost
-
setHTTPPort
public void setHTTPPort(int port) -
setHTTPSEnabled
public void setHTTPSEnabled(boolean enabled) -
setHTTPSHost
-
setHTTPSKeyPassword
-
setHTTPSKeyStorePassword
-
setHTTPSKeyStorePath
-
setHTTPSKeyStoreType
-
setHTTPSPort
public void setHTTPSPort(int port) -
setIdleTimeout
-
setMaxThreads
public void setMaxThreads(int maxThreads) -
setMinThreads
public void setMinThreads(int minThreads) -
start
-
stop
-