A B C D E F G H I J L M N P Q R S U V W 
All Classes All Packages

A

ACCESS - com.github.toolarium.jwebserver.logger.VerboseLevel
 
ACCESS_CONSOLE - com.github.toolarium.jwebserver.logger.VerboseLevel
 
AccessLogHttpHandler - Class in com.github.toolarium.jwebserver.logger.access
The access log handler utility
addHandler(IWebServerConfiguration, HttpHandler) - Static method in class com.github.toolarium.jwebserver.handler.auth.BasicAuthenticationHttpHandler
Add basic authentication
addHandler(IWebServerConfiguration, HttpHandler) - Static method in class com.github.toolarium.jwebserver.logger.access.AccessLogHttpHandler
Add basic authentication
addHandler(IWebServerConfiguration, HttpHandler, String, IdentityManager) - Static method in class com.github.toolarium.jwebserver.handler.auth.BasicAuthenticationHttpHandler
Add basic authentication
addHandler(IWebServerConfiguration, RoutingHandler) - Static method in class com.github.toolarium.jwebserver.handler.health.HealthHttpHandler
Add basic authentication
addHandler(IWebServerConfiguration, RoutingHandler) - Static method in class com.github.toolarium.jwebserver.handler.resource.ResourceHandler
Add basic authentication

B

BasicAuthenticationHttpHandler - Class in com.github.toolarium.jwebserver.handler.auth
Basic authentication utility
BUILD_TIMESTAMP - Static variable in class com.github.toolarium.jwebserver.Version
The build timestamp

C

ClassPathResourceManager - Class in com.github.toolarium.jwebserver.handler.resource
Classpath resource manager to handle resource with missing slash
ClassPathResourceManager(IWebServerConfiguration, ClassLoader, String) - Constructor for class com.github.toolarium.jwebserver.handler.resource.ClassPathResourceManager
Constructor for ClassPathResourceManager
ColoredStackTraceWriter - Class in com.github.toolarium.jwebserver.logger.ansi
Implemends a colored stack trace writer
ColoredStackTraceWriter(CommandLine.Help.ColorScheme) - Constructor for class com.github.toolarium.jwebserver.logger.ansi.ColoredStackTraceWriter
Constructor for ColoredStackTraceWriter
com.github.toolarium.jwebserver - package com.github.toolarium.jwebserver
 
com.github.toolarium.jwebserver.config - package com.github.toolarium.jwebserver.config
 
com.github.toolarium.jwebserver.handler.auth - package com.github.toolarium.jwebserver.handler.auth
 
com.github.toolarium.jwebserver.handler.health - package com.github.toolarium.jwebserver.handler.health
 
com.github.toolarium.jwebserver.handler.resource - package com.github.toolarium.jwebserver.handler.resource
 
com.github.toolarium.jwebserver.logger - package com.github.toolarium.jwebserver.logger
 
com.github.toolarium.jwebserver.logger.access - package com.github.toolarium.jwebserver.logger.access
 
com.github.toolarium.jwebserver.logger.ansi - package com.github.toolarium.jwebserver.logger.ansi
 
com.github.toolarium.jwebserver.logger.logback - package com.github.toolarium.jwebserver.logger.logback
 
COMPONENT_ID - Static variable in class com.github.toolarium.jwebserver.Version
The component id
createAccessLogAppender(String, String) - Method in class com.github.toolarium.jwebserver.logger.logback.LogbackUtil
Create logger with an own appender
createAccessLogAppender(String, String, Integer, String, String) - Method in class com.github.toolarium.jwebserver.logger.logback.LogbackUtil
Create logger with an own appender
createLogAppender(String, String, String, Integer, boolean, FileSize, FileSize) - Method in class com.github.toolarium.jwebserver.logger.logback.LogbackUtil
Create logger with an own appender
createLogAppender(String, String, String, Integer, boolean, String, String) - Method in class com.github.toolarium.jwebserver.logger.logback.LogbackUtil
Create logger with an own appender

D

DESCRIPTION - Static variable in class com.github.toolarium.jwebserver.Version
The description
detachAppender(String) - Method in class com.github.toolarium.jwebserver.logger.logback.LogbackUtil
Detach appender

E

enableVerbose() - Method in class com.github.toolarium.jwebserver.logger.logback.LogbackUtil
Enable verbose mode

F

formatArrayAsString(String[]) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Format an array as string

G

getAccessLogFilePattern() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
The access log file pattern, e.g.
getAccessLogFilePattern() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getAccessLogFormatString() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Get access log format string:
getAccessLogFormatString() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getBasicAuthentication() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Get the basic authentication: user:password
getBasicAuthentication() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getColorScheme() - Method in class com.github.toolarium.jwebserver.logger.LifecycleLogger
Get the color schema
getConfiguration() - Method in class com.github.toolarium.jwebserver.JWebServer
Get the configuration
getDirectory() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Get the directory
getDirectory() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getHealthPath() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Get the health path
getHealthPath() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getHostname() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Get the hostname
getHostname() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getInstance() - Static method in class com.github.toolarium.jwebserver.logger.logback.LogbackUtil
Get the instance
getIoThreads() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Get the number of I/O threads
getIoThreads() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getLogger(String) - Method in class com.github.toolarium.jwebserver.logger.logback.LogbackUtil
Get logback logger instance
getPort() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Get the port
getPort() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getResource(String) - Method in class com.github.toolarium.jwebserver.handler.resource.ClassPathResourceManager
 
getResource(String) - Method in class com.github.toolarium.jwebserver.handler.resource.PathResourceManager
 
getResourcePath() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Get the resource path
getResourcePath() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getSupportedFileExtensions() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Set the supported file extensions
getSupportedFileExtensions() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getVerboseLevel() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Get the verbose level
getVerboseLevel() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getVersion() - Static method in class com.github.toolarium.jwebserver.Version
Get the version number
getWebserverName() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Get the webserver name
getWebserverName() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getWelcomeFiles() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Set the welcome files
getWelcomeFiles() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
getWorkerThreads() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Get the number of working threads
getWorkerThreads() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
GROUP_ID - Static variable in class com.github.toolarium.jwebserver.Version
The group id

H

handleRequest(HttpServerExchange) - Method in class com.github.toolarium.jwebserver.handler.health.HealthHttpHandler
 
handleRequest(HttpServerExchange) - Method in class com.github.toolarium.jwebserver.handler.resource.RedirectDirectoryHandler
 
hasBasicAuthentication() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Define if the resource has basic authentication
hasBasicAuthentication() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
hasError() - Method in class com.github.toolarium.jwebserver.JWebServer
Check if there are any errors
hasHealthCheck() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Define if the server support health
hasHealthCheck() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
HealthHttpHandler - Class in com.github.toolarium.jwebserver.handler.health
Implements the health handler
HealthHttpHandler() - Constructor for class com.github.toolarium.jwebserver.handler.health.HealthHttpHandler
 

I

INFO - com.github.toolarium.jwebserver.logger.VerboseLevel
 
IS_RELEASE_VERSION - Static variable in class com.github.toolarium.jwebserver.Version
Define if it is a release version
isDirectoryListingEnabled() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Define if the directory listing is enabled
isDirectoryListingEnabled() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
isLocalDirectory() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Define if the directory is local
isLocalDirectory() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
isRunning() - Method in class com.github.toolarium.jwebserver.JWebServer
Check if the server is running
IWebServerConfiguration - Interface in com.github.toolarium.jwebserver.config
Defines the webserver configuration interface

J

JWebServer - Class in com.github.toolarium.jwebserver
The jwebserver.
JWebServer() - Constructor for class com.github.toolarium.jwebserver.JWebServer
Constructor for JWebServer

L

LICENSE - Static variable in class com.github.toolarium.jwebserver.Version
The license
LICENSE_ORGANISATION - Static variable in class com.github.toolarium.jwebserver.Version
The license organisation
LifecycleLogger - Class in com.github.toolarium.jwebserver.logger
The startup logger
LifecycleLogger() - Constructor for class com.github.toolarium.jwebserver.logger.LifecycleLogger
Constructor
LifecycleLogger(CommandLine.Help.ColorScheme) - Constructor for class com.github.toolarium.jwebserver.logger.LifecycleLogger
Constructor
LogbackUtil - Class in com.github.toolarium.jwebserver.logger.logback
Logback utitlity
logMessage(String) - Method in class com.github.toolarium.jwebserver.logger.access.Slf4jAccessLogReceiver
 
logMessage(String) - Method in class com.github.toolarium.jwebserver.logger.access.StdoutAccessLogReceiver
 

M

main(String[]) - Static method in class com.github.toolarium.jwebserver.JWebServer
The main class
main(String[]) - Static method in class com.github.toolarium.jwebserver.Version
Main class to print build / version information
MAJOR_NUMBER - Static variable in class com.github.toolarium.jwebserver.Version
The major number
MemoryIdentityManager - Class in com.github.toolarium.jwebserver.handler.auth
A memory identity manager
MemoryIdentityManager(Map<String, char[]>) - Constructor for class com.github.toolarium.jwebserver.handler.auth.MemoryIdentityManager
Constructor for MemoryIdentityManager
MINOR_NUMBER - Static variable in class com.github.toolarium.jwebserver.Version
The minor number

N

NONE - com.github.toolarium.jwebserver.logger.VerboseLevel
 

P

PACKAGE - Static variable in class com.github.toolarium.jwebserver.Version
The package
parseStringArray(String) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Parse the string array
PathResourceManager - Class in com.github.toolarium.jwebserver.handler.resource
Path resource manager
PathResourceManager(IWebServerConfiguration, Path, long) - Constructor for class com.github.toolarium.jwebserver.handler.resource.PathResourceManager
Constructor for PathResourceManager
preapreThrowable(Throwable) - Method in class com.github.toolarium.jwebserver.logger.LifecycleLogger
Convert a Throwable to a String , with message and stack traces extracted and colored according to ColorScheme.
prepareResourcePath(IWebServerConfiguration) - Method in class com.github.toolarium.jwebserver.logger.LifecycleLogger
Prepare the resource path
prepareServerStartup(IWebServerConfiguration, List<Undertow.ListenerInfo>) - Method in class com.github.toolarium.jwebserver.logger.LifecycleLogger
Get server message
printServerStartup(IWebServerConfiguration, List<Undertow.ListenerInfo>) - Method in class com.github.toolarium.jwebserver.logger.LifecycleLogger
Print server startup
PROJECT_NAME - Static variable in class com.github.toolarium.jwebserver.Version
The project name
PROJECT_TYPE - Static variable in class com.github.toolarium.jwebserver.Version
The project type

Q

QUALIFIER - Static variable in class com.github.toolarium.jwebserver.Version
The version qualifier

R

readFromClasspath() - Method in interface com.github.toolarium.jwebserver.config.IWebServerConfiguration
Define if the directory should be read from the classpath
readFromClasspath() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
 
readProperties() - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Read the configuration from the classpath
RedirectDirectoryHandler - Class in com.github.toolarium.jwebserver.handler.resource
Redirect directory handler
RedirectDirectoryHandler(IWebServerConfiguration, HttpHandler) - Constructor for class com.github.toolarium.jwebserver.handler.resource.RedirectDirectoryHandler
Constructor for RedirectDirHandler
ResourceHandler - Class in com.github.toolarium.jwebserver.handler.resource
Basic authentication utility
REVISION_NUMBER - Static variable in class com.github.toolarium.jwebserver.Version
The revision number
run() - Method in class com.github.toolarium.jwebserver.JWebServer
 

S

SCM_NUMBER - Static variable in class com.github.toolarium.jwebserver.Version
The source management number
setAccessLogFilePattern(String) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the access log file pattern
setAccessLogFormatString(String) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the access log format string
setBasicAuthentication(String) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Define if basic authentication is enabled
setConfiguration(IWebServerConfiguration) - Method in class com.github.toolarium.jwebserver.JWebServer
Get the configuration
setDirectory(String) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the directory
setDirectory(String, Boolean) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the directory
setDirectoryListingEnabled(Boolean) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Define if the directory listing is enabled
setHealthPath(String) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the health path
setHostname(String) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the host name
setIoThreads(Integer) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the I/O threads
setPort(Integer) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the port
setResourcePath(String) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the resource path
setSupportedFileExtensions(String) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the supported file extensions
setSupportedFileExtensions(String[]) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the supported file extensions
setVerboseLevel(VerboseLevel) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the verbose level
setWebserverName(String) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the webserver name
setWelcomeFiles(String) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the welcome files
setWelcomeFiles(String[]) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the welcome files
setWorkerThreads(Integer) - Method in class com.github.toolarium.jwebserver.config.WebServerConfiguration
Set the worker threads
SLASH - Static variable in class com.github.toolarium.jwebserver.handler.resource.ResourceHandler
SLASH
Slf4jAccessLogReceiver - Class in com.github.toolarium.jwebserver.logger.access
The slf4j access log receiver
Slf4jAccessLogReceiver(Logger) - Constructor for class com.github.toolarium.jwebserver.logger.access.Slf4jAccessLogReceiver
Constructor for Slf4jAccessLogReceiver
start() - Method in class com.github.toolarium.jwebserver.JWebServer
Stop the server
StdoutAccessLogReceiver - Class in com.github.toolarium.jwebserver.logger.access
Implements a standard out access log receiver
StdoutAccessLogReceiver() - Constructor for class com.github.toolarium.jwebserver.logger.access.StdoutAccessLogReceiver
 
stop() - Method in class com.github.toolarium.jwebserver.JWebServer
Stop the server

U

URL - Static variable in class com.github.toolarium.jwebserver.Version
The url of the project

V

valueOf(String) - Static method in enum com.github.toolarium.jwebserver.logger.VerboseLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.toolarium.jwebserver.logger.VerboseLevel
Returns an array containing the constants of this enum type, in the order they are declared.
VERBOSE - com.github.toolarium.jwebserver.logger.VerboseLevel
 
VerboseLevel - Enum in com.github.toolarium.jwebserver.logger
Defines the verbose level
verify(Account) - Method in class com.github.toolarium.jwebserver.handler.auth.MemoryIdentityManager
 
verify(Credential) - Method in class com.github.toolarium.jwebserver.handler.auth.MemoryIdentityManager
 
verify(String, Credential) - Method in class com.github.toolarium.jwebserver.handler.auth.MemoryIdentityManager
 
Version - Class in com.github.toolarium.jwebserver
The version class
Version() - Constructor for class com.github.toolarium.jwebserver.Version
 
VERSION - Static variable in class com.github.toolarium.jwebserver.Version
The full version number

W

WebServerConfiguration - Class in com.github.toolarium.jwebserver.config
Define the webserver configuration
WebServerConfiguration() - Constructor for class com.github.toolarium.jwebserver.config.WebServerConfiguration
Constructor for WebServerConfiguration
WebServerConfiguration(IWebServerConfiguration) - Constructor for class com.github.toolarium.jwebserver.config.WebServerConfiguration
Constructor for WebServerConfiguration
write(String, int, int) - Method in class com.github.toolarium.jwebserver.logger.ansi.ColoredStackTraceWriter
 
A B C D E F G H I J L M N P Q R S U V W 
All Classes All Packages