Package org.omegazero.proxy.config
Class ProxyConfiguration
java.lang.Object
org.omegazero.common.config.JSONConfiguration
org.omegazero.proxy.config.ProxyConfiguration
- All Implemented Interfaces:
org.omegazero.common.config.Configuration
public class ProxyConfiguration
extends org.omegazero.common.config.JSONConfiguration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintorg.omegazero.common.config.ConfigObjectgetEngineConfigFor(Class<? extends HTTPEngine> cl) org.omegazero.common.config.ConfigObjectgetPluginConfigFor(String key) intintbooleanvoidprotected booleansetUnsupportedField(Field field, Object jsonObject) voidMethods inherited from class org.omegazero.common.config.JSONConfiguration
convertJSONArray, convertJSONObject, convertJSONValue, load
-
Field Details
-
TLS_AUTH_DEFAULT_NAME
- See Also:
-
-
Constructor Details
-
ProxyConfiguration
public ProxyConfiguration(byte[] fileData) -
ProxyConfiguration
-
-
Method Details
-
reloadTLSAuthData
- Throws:
GeneralSecurityExceptionIOException
-
setUnsupportedField
- Overrides:
setUnsupportedFieldin classorg.omegazero.common.config.JSONConfiguration
-
validateConfig
public void validateConfig() -
getBindAddresses
-
getBacklog
public int getBacklog() -
getPortsPlain
-
getPortsTls
-
getTlsAuthData
-
getTlsAuthReloadInterval
public int getTlsAuthReloadInterval() -
getConnectionIdleTimeout
public int getConnectionIdleTimeout() -
getErrdocFiles
-
getDefaultOutboundLocalAddressV4
-
getDefaultOutboundLocalAddressV6
-
createDefaultUpstreamServerInstance
- Throws:
IOException
-
getTrustedCertificates
-
isTrustAllCertificates
public boolean isTrustAllCertificates() -
getWorkerThreadCount
public int getWorkerThreadCount() -
getPluginConfigFor
-
getEngineConfigFor
-