Interface IResourceServerConfiguration
-
- All Known Implementing Classes:
ResourceServerConfiguration
public interface IResourceServerConfigurationDefines the webserver resource interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDirectory()Get the directoryjava.lang.String[]getSupportedFileExtensions()Set the supported file extensionsjava.lang.String[]getWelcomeFiles()Set the welcome filesbooleanisDirectoryListingEnabled()Define if the directory listing is enabledbooleanisLocalDirectory()Define if the directory is localbooleanreadFromClasspath()Define if the directory should be read from the classpath
-
-
-
Method Detail
-
getDirectory
java.lang.String getDirectory()
Get the directory- Returns:
- the directory
-
isLocalDirectory
boolean isLocalDirectory()
Define if the directory is local- Returns:
- true if the directory is local
-
isDirectoryListingEnabled
boolean isDirectoryListingEnabled()
Define if the directory listing is enabled- Returns:
- true if it is enabled
-
readFromClasspath
boolean readFromClasspath()
Define if the directory should be read from the classpath- Returns:
- true if the directory should be read from the classpath
-
getWelcomeFiles
java.lang.String[] getWelcomeFiles()
Set the welcome files- Returns:
- the welcome files
-
getSupportedFileExtensions
java.lang.String[] getSupportedFileExtensions()
Set the supported file extensions- Returns:
- the supported file extensions
-
-