Interface IApplicationServerConfiguration
- All Superinterfaces:
ISavableConfigurationAspect,ISslServerConfiguration,IStorableConfiguration<IApplicationServerConfiguration>
- All Known Subinterfaces:
IApplicationConfiguration
public interface IApplicationServerConfiguration
extends ISslServerConfiguration, IStorableConfiguration<IApplicationServerConfiguration>
REST Server Configuration
- Author:
- I-D Media AG
-
Method Summary
Modifier and TypeMethodDescriptionlongGet the max size of a zip file to avoid ZIP BOMB attacks which attack the zip file extract algorythm and not the simple file size itself@NotNull StringGet the netty resource leak detector@org.jetbrains.annotations.NotNull intGet the Server Port@org.jetbrains.annotations.NotNull intGet MINA Service Port NumberMethods inherited from interface com.idmedia.translationstudio.api.configuration.ISavableConfigurationAspect
saveToDiskMethods inherited from interface com.idmedia.translationstudio.api.configuration.ISslServerConfiguration
getCertificatePassword, getKeystoreFile, getKeystorePassword, getKeystoreType, getLocalCertificateFile, getLocalKeyFile, getSslAlgorithm, getSslProtocolMethods inherited from interface com.idmedia.translationstudio.api.configuration.IStorableConfiguration
createClone, isEmpty, saveToDisk, toXml
-
Method Details
-
getServicePort
@NotNull @org.jetbrains.annotations.NotNull int getServicePort()Get MINA Service Port Number- Returns:
- Port or -1
-
getServerPort
@NotNull @org.jetbrains.annotations.NotNull int getServerPort()Get the Server Port- Returns:
- Port or -1
-
getResourceLeakDetectorLevel
Get the netty resource leak detector- Returns:
-
getMaxZipFileSize
long getMaxZipFileSize()Get the max size of a zip file to avoid ZIP BOMB attacks which attack the zip file extract algorythm and not the simple file size itself- Returns:
-