Uses of Enum Class
com.sun.net.httpserver.SimpleFileServer.OutputLevel
Package
Description
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
-
Uses of SimpleFileServer.OutputLevel in com.sun.net.httpserver
Modifier and TypeClassDescriptionstatic enum
Describes the log message output level produced by the server when processing exchanges.Modifier and TypeMethodDescriptionstatic SimpleFileServer.OutputLevel
Returns the enum constant of this class with the specified name.static SimpleFileServer.OutputLevel[]
SimpleFileServer.OutputLevel.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic HttpServer
SimpleFileServer.createFileServer
(InetSocketAddress addr, Path rootDirectory, SimpleFileServer.OutputLevel outputLevel) Creates a file server that serves files from a given path.static Filter
SimpleFileServer.createOutputFilter
(OutputStream out, SimpleFileServer.OutputLevel outputLevel) Creates a post-processing Filter that prints log messages about exchanges.