Uses of Class
dev.katsute.simplehttpserver.handler.file.FileOptions
-
Uses of FileOptions in dev.katsute.simplehttpserver.handler.file
Modifier and TypeMethodDescriptionfinal FileOptions
FileOptions.Builder.build()
Returns the builder as file options.Modifier and TypeMethodDescriptionfinal void
FileHandler.addDirectory
(File directory, FileOptions options) Adds a directory to the handler using the directory name from a set of file options.final void
FileHandler.addDirectory
(File directory, String directoryName, FileOptions options) Adds a directory to the handler using the directory name from a set of file options.final void
FileHandler.addFile
(File file, FileOptions options) Adds a file to the handler from a set ofFileOptions
s.final void
FileHandler.addFile
(File file, String fileName, FileOptions options) Adds a file to the handler with a set name from a set ofFileOptions
.final void
FileHandler.addFiles
(File[] files, FileOptions options) Adds multiple files to the handler from a set ofFileOptions
.final void
FileHandler.removeDirectory
(File directory, FileOptions options) Removes a directory from the handler with file options.final void
FileHandler.removeFile
(File file, FileOptions options) Removes a file from the handler with file options.