Index

A B C D E F G H I J K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACCEPT_LANGUAGE - Enum constant in enum class io.mangoo.enums.Header
 
ACCOUNT_NAME - Enum constant in enum class io.mangoo.enums.Required
 
addAttribute(String, Object) - Method in class io.mangoo.routing.bindings.Request
Adds an attribute to the internal attributes map
addChannel(WebSocketChannel) - Method in class io.mangoo.services.WebSocketService
Adds a new channel to the manager
addConnection(ServerSentEventConnection) - Method in class io.mangoo.services.ServerSentEventService
Adds a new connection to the manager
addContent(String, Object) - Method in class io.mangoo.templating.TemplateContext
 
addFile(InputStream) - Method in class io.mangoo.routing.bindings.Form
Adds a file as an InputStream to the form
addRoute(MangooRoute) - Static method in class io.mangoo.routing.Router
Adds a new route to the router
addStatusCode(int) - Method in class io.mangoo.models.Metrics
 
addValue(String, String) - Method in class io.mangoo.routing.bindings.Validator
 
addValueList(String, String) - Method in class io.mangoo.routing.bindings.Form
Adds an item to the value list
ADMIN_COOKIE_NAME - Enum constant in enum class io.mangoo.enums.Default
 
AdminController - Class in io.mangoo.admin
Controller class for administrative area
AdminController(Crypto, Config, Cache, CacheProvider) - Constructor for class io.mangoo.admin.AdminController
 
AdminFilter - Class in io.mangoo.admin
 
AdminFilter() - Constructor for class io.mangoo.admin.AdminFilter
 
adminPath() - Method in enum class io.mangoo.enums.Template
 
ALGORITHM - Enum constant in enum class io.mangoo.enums.Required
 
andBinaryContent(byte[]) - Method in class io.mangoo.routing.Response
Sends binary content to the client skipping rendering
andBinaryFile(Path) - Method in class io.mangoo.routing.Response
Sends a binary file to the client skipping rendering
andBody(String) - Method in class io.mangoo.routing.Response
Sets the body of the response.
andCharset(String) - Method in class io.mangoo.routing.Response
Sets a specific charset to the response
andContent(String, Object) - Method in class io.mangoo.routing.Response
Adds a value to the template that can be accessed using ${name} in the template
andContent(Map<String, Object>) - Method in class io.mangoo.routing.Response
Adds a content map to the content rendered in the template.
andContentType(String) - Method in class io.mangoo.routing.Response
Sets a specific content type to use for the response.
andCookie(Cookie) - Method in class io.mangoo.routing.Response
Adds a Cookie to the response which is passed to the client
andEmptyBody() - Method in class io.mangoo.routing.Response
Disables template rendering, sending an empty body in the response
andEndResponse() - Method in class io.mangoo.routing.Response
Tells a filter that the response ends and that the request handler should not execute further filters by sending the current response to the client.
andHeader(HttpString, String) - Method in class io.mangoo.routing.Response
Adds a header to the request response.
andHeader(String, String) - Method in class io.mangoo.routing.Response
Adds a header to the request response.
andHeaders(Map<HttpString, String>) - Method in class io.mangoo.routing.Response
Adds a header map to the response.
andJsonBody(Object) - Method in class io.mangoo.routing.Response
Converts a given Object to JSON and passing it to the response.
andJsonBody(String) - Method in class io.mangoo.routing.Response
Sets a given JSON string as body.
andTemplate(String) - Method in class io.mangoo.routing.Response
Sets a specific template to use for the response
andTextBody(String) - Method in class io.mangoo.routing.Response
Sets the body of the response.
andUnrenderedBody() - Method in class io.mangoo.routing.Response
Sets the content of a given file placed in the template folder in /templates/CONTROLLER_NAME/METHOD_NAME.body as body without rendering the file in the template engine
anyOf(Http...) - Static method in class io.mangoo.routing.On
Creates a new RequestRoute for a given list of HTTP request methods
Application - Class in io.mangoo.core
Main class that starts all components of a mangoo I/O application
APPLICATION - Enum constant in enum class io.mangoo.enums.CacheName
 
APPLICATION_ADMIN_ENABLE - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_ADMIN_ENABLE - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_ADMIN_HEALTH_ENABLE - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_ADMIN_HEALTH_ENABLE - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_ADMIN_HEALTH_HEADER - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_ADMIN_HEALTH_TOKEN - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_ADMIN_PASSWORD - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_ADMIN_SECRET - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_ADMIN_USERNAME - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_CONFIG - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_CONTROLLER - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_CONTROLLER - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_HEADERS_CONTENTSECURITYPOLICY - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_HEADERS_FEATUREPOLICY - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_HEADERS_REFERERPOLICY - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_HEADERS_SERVER - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_HEADERS_XCONTENTTYPEOPTIONS - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_HEADERS_XFRAMEOPTIONS - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_HEADERS_XSSPROTECTION - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_LANGUAGE - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_LANGUAGE - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_MODE - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_NAME - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_PRIVATEKEY - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_PUBLICKEY - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_SECRET - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_TEMPLATEENGINE - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_TEMPLATEENGINE - Enum constant in enum class io.mangoo.enums.Key
 
APPLICATION_THREADPOOL - Enum constant in enum class io.mangoo.enums.Default
 
APPLICATION_THREADPOOL - Enum constant in enum class io.mangoo.enums.Key
 
applicationInitialized() - Method in interface io.mangoo.interfaces.MangooBootstrap
Executed after config is loaded and Google Guice injector is initialized
applicationStarted() - Method in interface io.mangoo.interfaces.MangooBootstrap
Executed after the application is completely started
applicationStopped() - Method in interface io.mangoo.interfaces.MangooBootstrap
Executed after forcible signal of JVM shutdown has been sent
at() - Element in annotation interface io.mangoo.annotations.Run
Schedules a method either at a given rate (e.g.
attachment(Path) - Method in class io.mangoo.email.Mail
Adds a file as attachment to the mail
Attachment - Class in io.mangoo.routing
 
Attachment() - Constructor for class io.mangoo.routing.Attachment
 
attachments(List<Path>) - Method in class io.mangoo.email.Mail
Adds a list of files as attachment to the mail
AUTH - Enum constant in enum class io.mangoo.enums.CacheName
 
authenticate(Form) - Method in class io.mangoo.admin.AdminController
 
Authentication - Class in io.mangoo.routing.bindings
Convenient class for handling authentication
Authentication() - Constructor for class io.mangoo.routing.bindings.Authentication
 
AUTHENTICATION - Enum constant in enum class io.mangoo.enums.Binding
 
AUTHENTICATION_COOKIE_EXPIRES - Enum constant in enum class io.mangoo.enums.Default
 
AUTHENTICATION_COOKIE_EXPIRES - Enum constant in enum class io.mangoo.enums.Key
 
AUTHENTICATION_COOKIE_NAME - Enum constant in enum class io.mangoo.enums.Default
 
AUTHENTICATION_COOKIE_NAME - Enum constant in enum class io.mangoo.enums.Key
 
AUTHENTICATION_COOKIE_REMEMBER_EXPIRES - Enum constant in enum class io.mangoo.enums.Default
 
AUTHENTICATION_COOKIE_REMEMBER_EXPIRES - Enum constant in enum class io.mangoo.enums.Key
 
AUTHENTICATION_COOKIE_SECRET - Enum constant in enum class io.mangoo.enums.Key
 
AUTHENTICATION_COOKIE_SECURE - Enum constant in enum class io.mangoo.enums.Default
 
AUTHENTICATION_COOKIE_SECURE - Enum constant in enum class io.mangoo.enums.Key
 
AUTHENTICATION_COOKIE_TOKEN_EXPIRES - Enum constant in enum class io.mangoo.enums.Default
 
AUTHENTICATION_COOKIE_TOKEN_EXPIRES - Enum constant in enum class io.mangoo.enums.Key
 
AUTHENTICATION_LOCK - Enum constant in enum class io.mangoo.enums.Default
 
AUTHENTICATION_LOCK - Enum constant in enum class io.mangoo.enums.Key
 
AUTHENTICATION_REDIRECT - Enum constant in enum class io.mangoo.enums.Key
 
AuthenticationHandler - Class in io.mangoo.routing.handlers
 
AuthenticationHandler(Config) - Constructor for class io.mangoo.routing.handlers.AuthenticationHandler
 
AUTHENTICITY - Enum constant in enum class io.mangoo.enums.ClaimKey
 
AUTHENTICITY - Enum constant in enum class io.mangoo.enums.Default
 

B

badRequest() - Method in enum class io.mangoo.enums.Template
 
badRequestPath() - Method in enum class io.mangoo.enums.Template
 
BaseModel - Class in io.mangoo.persistence
 
BaseModel() - Constructor for class io.mangoo.persistence.BaseModel
 
bcc(String...) - Method in class io.mangoo.email.Mail
Sets one or more BCC address
BCC - Enum constant in enum class io.mangoo.enums.Required
 
BCCS - Enum constant in enum class io.mangoo.enums.Required
 
BinaryHandler - Class in io.mangoo.routing.handlers
 
BinaryHandler() - Constructor for class io.mangoo.routing.handlers.BinaryHandler
 
Bind - Class in io.mangoo.routing
 
Binding - Enum Class in io.mangoo.enums
 
bitLength(byte[]) - Static method in class io.mangoo.utils.ByteUtils
Calculates the bit length of a given byte array
bitLength(String) - Static method in class io.mangoo.utils.ByteUtils
Calculates the bit length of a given string
build() - Method in class io.mangoo.crypto.totp.TOTPBuilder
Build a Time-based One-time Password TOTP using the current system time (current time in milliseconds since the UNIX epoch).
build() - Static method in class io.mangoo.routing.Attachment
 
build(long) - Method in class io.mangoo.crypto.totp.TOTPBuilder
Build a Time-based One-time Password TOTP using an arbitrary time.
BUNDLE_NAME - Enum constant in enum class io.mangoo.enums.Default
 
BYTES - Enum constant in enum class io.mangoo.enums.Required
 
ByteUtils - Class in io.mangoo.utils
 

C

cache() - Method in class io.mangoo.admin.AdminController
 
Cache - Interface in io.mangoo.cache
 
CACHE_CLUSTER_ENABLE - Enum constant in enum class io.mangoo.enums.Default
 
CACHE_CLUSTER_ENABLE - Enum constant in enum class io.mangoo.enums.Key
 
CACHE_CLUSTER_URL - Enum constant in enum class io.mangoo.enums.Key
 
CACHE_PROVIDER - Enum constant in enum class io.mangoo.enums.Required
 
CacheImpl - Class in io.mangoo.cache
 
CacheImpl(Cache<String, Object>) - Constructor for class io.mangoo.cache.CacheImpl
 
CacheName - Enum Class in io.mangoo.enums
Contains the names of the used caches
cachePath() - Method in enum class io.mangoo.enums.Template
 
CacheProvider - Class in io.mangoo.cache
 
CacheProvider(Config) - Constructor for class io.mangoo.cache.CacheProvider
 
cause() - Method in record class io.mangoo.models.Source
Returns the value of the cause record component.
cc(String...) - Method in class io.mangoo.email.Mail
Sets one or more CC address
CC - Enum constant in enum class io.mangoo.enums.Required
 
CCS - Enum constant in enum class io.mangoo.enums.Required
 
CHANNEL - Enum constant in enum class io.mangoo.enums.Required
 
CHARSET - Enum constant in enum class io.mangoo.enums.Required
 
ClaimKey - Enum Class in io.mangoo.enums
 
CLASS - Enum constant in enum class io.mangoo.enums.Required
 
clear() - Method in interface io.mangoo.cache.Cache
Clears the complete cache by invalidating all entries
clear() - Method in class io.mangoo.cache.CacheImpl
 
clear() - Method in class io.mangoo.routing.bindings.Session
Clears the complete session
close() - Method in class io.mangoo.cache.CacheProvider
Closes all caches
close(String) - Method in class io.mangoo.services.ServerSentEventService
Closes all connections for a given URI resource
close(String) - Method in class io.mangoo.services.WebSocketService
Closes all connections for a given URI resource
closeQuietly(Closeable) - Static method in class io.mangoo.utils.MangooUtils
Closes a closeable without throwing an exception
CodecUtils - Class in io.mangoo.utils
 
Config - Class in io.mangoo.core
Main configuration class for all properties configured in 'config.props'
Config() - Constructor for class io.mangoo.core.Config
 
Config(String) - Constructor for class io.mangoo.core.Config
 
CONFIG - Enum constant in enum class io.mangoo.enums.Required
 
CONFIG_PATH - Enum constant in enum class io.mangoo.enums.Default
 
CONFIGURATION_FILE - Enum constant in enum class io.mangoo.enums.Default
 
connected(ServerSentEventConnection, String) - Method in class io.mangoo.routing.handlers.ServerSentEventHandler
 
CONNECTION - Enum constant in enum class io.mangoo.enums.Required
 
CONNECTOR_AJP_HOST - Enum constant in enum class io.mangoo.enums.Key
 
CONNECTOR_AJP_PORT - Enum constant in enum class io.mangoo.enums.Key
 
CONNECTOR_HTTP_HOST - Enum constant in enum class io.mangoo.enums.Key
 
CONNECTOR_HTTP_PORT - Enum constant in enum class io.mangoo.enums.Key
 
content() - Method in record class io.mangoo.models.Source
Returns the value of the content record component.
CONTENT - Enum constant in enum class io.mangoo.enums.Required
 
CONTENT_DISPOSITION - Enum constant in enum class io.mangoo.enums.Header
 
CONTENT_SECURITY_POLICY - Enum constant in enum class io.mangoo.enums.Header
 
CONTENT_TYPE - Enum constant in enum class io.mangoo.enums.Default
 
CONTENT_TYPE - Enum constant in enum class io.mangoo.enums.Header
 
CONTENT_TYPE - Enum constant in enum class io.mangoo.enums.Required
 
controller(Class<?>) - Static method in class io.mangoo.routing.Bind
Creates a new controller route for binding multiple routes
CONTROLLER_CLASS - Enum constant in enum class io.mangoo.enums.Required
 
CONTROLLER_INSTANCE - Enum constant in enum class io.mangoo.enums.Required
 
CONTROLLER_METHOD - Enum constant in enum class io.mangoo.enums.Required
 
CONTROLLER_NAME - Enum constant in enum class io.mangoo.enums.Required
 
ControllerRoute - Class in io.mangoo.routing.routes
 
ControllerRoute(Class<?>) - Constructor for class io.mangoo.routing.routes.ControllerRoute
Creates a new set of routes bind to a given controller class
COOKIE - Enum constant in enum class io.mangoo.enums.Header
 
COOKIE - Enum constant in enum class io.mangoo.enums.Required
 
copyMap(Map<String, String>) - Static method in class io.mangoo.utils.MangooUtils
Copies a given map to a new map instance
CORS_ALLOWORIGIN - Enum constant in enum class io.mangoo.enums.Default
 
CORS_ALLOWORIGIN - Enum constant in enum class io.mangoo.enums.Key
 
CORS_ENABLE - Enum constant in enum class io.mangoo.enums.Default
 
CORS_ENABLE - Enum constant in enum class io.mangoo.enums.Key
 
CORS_HEADERS_ALLOWCREDENTIALS - Enum constant in enum class io.mangoo.enums.Default
 
CORS_HEADERS_ALLOWCREDENTIALS - Enum constant in enum class io.mangoo.enums.Key
 
CORS_HEADERS_ALLOWHEADERS - Enum constant in enum class io.mangoo.enums.Default
 
CORS_HEADERS_ALLOWHEADERS - Enum constant in enum class io.mangoo.enums.Key
 
CORS_HEADERS_ALLOWMETHODS - Enum constant in enum class io.mangoo.enums.Default
 
CORS_HEADERS_ALLOWMETHODS - Enum constant in enum class io.mangoo.enums.Key
 
CORS_HEADERS_EXPOSEHEADERS - Enum constant in enum class io.mangoo.enums.Default
 
CORS_HEADERS_EXPOSEHEADERS - Enum constant in enum class io.mangoo.enums.Key
 
CORS_HEADERS_MAXAGE - Enum constant in enum class io.mangoo.enums.Default
 
CORS_HEADERS_MAXAGE - Enum constant in enum class io.mangoo.enums.Key
 
CORS_URLPATTERN - Enum constant in enum class io.mangoo.enums.Default
 
CORS_URLPATTERN - Enum constant in enum class io.mangoo.enums.Key
 
CorsHandler - Class in io.mangoo.routing.handlers
 
CorsHandler(Config) - Constructor for class io.mangoo.routing.handlers.CorsHandler
 
countAll(Class<T>) - Method in interface io.mangoo.persistence.Datastore
Counts all objected of a mapped Morphia class
countAll(Class<T>) - Method in class io.mangoo.persistence.DatastoreImpl
 
create() - Static method in class io.mangoo.routing.bindings.Authentication
 
create() - Static method in class io.mangoo.routing.bindings.Flash
 
create() - Static method in class io.mangoo.routing.bindings.Session
 
createSecret() - Static method in class io.mangoo.utils.TotpUtils
Generates a 64 byte (512 bit) secret
CRON - Enum constant in enum class io.mangoo.enums.Required
 
CronTask - Class in io.mangoo.scheduler
Proxy class for executing scheduled cron tasks
CronTask(Class<?>, String, String) - Constructor for class io.mangoo.scheduler.CronTask
 
Crypto - Class in io.mangoo.crypto
Convenient class for encryption and decryption
Crypto(Config) - Constructor for class io.mangoo.crypto.Crypto
 
CRYPTO - Enum constant in enum class io.mangoo.enums.Required
 

D

DATA - Enum constant in enum class io.mangoo.enums.ClaimKey
 
DATA - Enum constant in enum class io.mangoo.enums.Required
 
Datastore - Interface in io.mangoo.persistence
 
DATASTORE - Enum constant in enum class io.mangoo.enums.Required
 
DatastoreImpl - Class in io.mangoo.persistence
 
DatastoreImpl(Config, EventBusService) - Constructor for class io.mangoo.persistence.DatastoreImpl
 
DatastoreImpl(String) - Constructor for class io.mangoo.persistence.DatastoreImpl
 
DatastoreListener - Class in io.mangoo.persistence
 
DatastoreListener() - Constructor for class io.mangoo.persistence.DatastoreListener
 
DatastoreProvider - Class in io.mangoo.persistence
 
DateUtils - Class in io.mangoo.utils
Utility class for converting between Date, LocalDateTime and LocalDate
decrypt(byte[], PrivateKey) - Method in class io.mangoo.crypto.Crypto
Decrypt text using private key
decrypt(String) - Method in class io.mangoo.crypto.Crypto
Decrypts a given encrypted text using the application secret property (application.secret) as key
decrypt(String, String) - Method in class io.mangoo.crypto.Crypto
Decrypts a given encrypted text using the given key
decrypt(String, PrivateKey) - Method in class io.mangoo.crypto.Crypto
Decrypt Base64 encoded text using private key
Default - Enum Class in io.mangoo.enums
Default application values
DEFAULT - Enum constant in enum class io.mangoo.enums.Template
 
DEFAULT_DIGITS - Static variable in class io.mangoo.crypto.totp.TOTPBuilder
The default number of digits the TOTP value contains.
DEFAULT_TEMPLATES_DIR - Enum constant in enum class io.mangoo.enums.Default
 
DEFAULT_TIME_STEP - Static variable in class io.mangoo.crypto.totp.TOTPBuilder
The default time step size in milliseconds (30000 milliseconds == 30 seconds).
DEFAULT_WINDOW - Static variable in class io.mangoo.crypto.totp.TOTPValidator
The default window verification size.
defaultWindow() - Static method in class io.mangoo.crypto.totp.TOTPValidator
Returns a new TOTPValidator instance initialized with the TOTPValidator.DEFAULT_WINDOW verification size.
delete() - Method in class io.mangoo.persistence.events.DeleteEvent
 
delete() - Static method in class io.mangoo.routing.On
Creates a new RequestRoute for an HTTP DELETE request
delete(Object) - Method in interface io.mangoo.persistence.Datastore
Deletes a mapped Morphia object in MongoDB
delete(Object) - Method in class io.mangoo.persistence.DatastoreImpl
 
DELETE - Enum constant in enum class io.mangoo.enums.Http
 
deleteAll(Class<T>) - Method in interface io.mangoo.persistence.Datastore
Deletes all mapped Morphia objects of a given class
deleteAll(Class<T>) - Method in class io.mangoo.persistence.DatastoreImpl
 
deleteAsync(Object) - Method in interface io.mangoo.persistence.Datastore
Deletes a mapped Morphia object to MongoDB asynchronously
deleteAsync(Object) - Method in class io.mangoo.persistence.DatastoreImpl
 
deleteEvent(DeleteEvent) - Method in class io.mangoo.persistence.DatastoreListener
 
DeleteEvent - Class in io.mangoo.persistence.events
 
DeleteEvent(Datastore) - Constructor for class io.mangoo.persistence.events.DeleteEvent
 
deserializeFromBase64(String) - Static method in class io.mangoo.utils.CodecUtils
Deserializes a given Base64 encoded data string into an object
DEV - Enum constant in enum class io.mangoo.enums.Mode
 
digits() - Method in class io.mangoo.crypto.totp.TOTP
Returns the number of digits of this TOTP.
digits(int) - Method in class io.mangoo.crypto.totp.TOTPBuilder
Returns this TOTPBuilder instance initialized with the specified digits.
DIGITS - Enum constant in enum class io.mangoo.enums.Required
 
discard() - Method in class io.mangoo.routing.bindings.Form
Discards the complete form
dispatch(Class<?>, String) - Method in class io.mangoo.routing.handlers.DispatcherHandler
 
DispatcherHandler - Class in io.mangoo.routing.handlers
Main class for dispatching a request to the request chain.
DispatcherHandler() - Constructor for class io.mangoo.routing.handlers.DispatcherHandler
 
DOMAIN_NAME - Enum constant in enum class io.mangoo.enums.Validation
 
DOMAIN_NAME_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
DOUBLE - Enum constant in enum class io.mangoo.enums.Binding
 
DOUBLE_PRIMITIVE - Enum constant in enum class io.mangoo.enums.Binding
 
dropDatabase() - Method in interface io.mangoo.persistence.Datastore
Drops all data in MongoDB on the connected database
dropDatabase() - Method in class io.mangoo.persistence.DatastoreImpl
 

E

EHCACHE - Enum constant in enum class io.mangoo.enums.Required
 
EMAIL - Enum constant in enum class io.mangoo.enums.Validation
 
EMAIL_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
ENCODING - Enum constant in enum class io.mangoo.enums.Default
 
encrypt(byte[], PublicKey) - Method in class io.mangoo.crypto.Crypto
Encrypt a text using public key
encrypt(String) - Method in class io.mangoo.crypto.Crypto
Encrypts a given plain text using the application secret property (application.secret) as key Encryption is done by using AES and CBC Cipher and a key length of 256 bit
encrypt(String, String) - Method in class io.mangoo.crypto.Crypto
Encrypts a given plain text using the given key Encryption is done by using AES and CBC Cipher and a key length of 256 bit
encrypt(String, PublicKey) - Method in class io.mangoo.crypto.Crypto
Encrypt a text using public key.
ENCRYPTED_TEXT - Enum constant in enum class io.mangoo.enums.Required
 
ensureCaps() - Method in interface io.mangoo.persistence.Datastore
Ensure capped DBCollections for Entity(s)
ensureCaps() - Method in class io.mangoo.persistence.DatastoreImpl
 
ensureIndexes() - Method in interface io.mangoo.persistence.Datastore
Ensures (creating if necessary) the indexes found during class mapping (using @Indexed, @Indexes)
ensureIndexes() - Method in class io.mangoo.persistence.DatastoreImpl
 
equals(Object) - Method in class io.mangoo.crypto.totp.TOTP
 
equals(Object) - Method in record class io.mangoo.models.Source
Indicates whether some other object is "equal to" this one.
EVENT - Enum constant in enum class io.mangoo.enums.Required
 
EVENT_BUS_SERVICE - Enum constant in enum class io.mangoo.enums.Required
 
EVENT_CALLBACK - Enum constant in enum class io.mangoo.enums.Required
 
EVENT_LISTENER - Enum constant in enum class io.mangoo.enums.Required
 
EventBusService - Class in io.mangoo.services
 
EventBusService() - Constructor for class io.mangoo.services.EventBusService
 
EXACT_MATCH - Enum constant in enum class io.mangoo.enums.Validation
 
EXACT_MATCH_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
ExceptionHandler - Class in io.mangoo.routing.handlers
 
ExceptionHandler() - Constructor for class io.mangoo.routing.handlers.ExceptionHandler
 
exchangeEvent(HttpServerExchange, ExchangeCompletionListener.NextListener) - Method in class io.mangoo.routing.listeners.MetricsListener
 
exec(List) - Method in class io.mangoo.templating.methods.I18nMethod
 
exec(List) - Method in class io.mangoo.templating.methods.LocationMethod
 
exec(List) - Method in class io.mangoo.templating.methods.PrettyTimeMethod
 
exec(List) - Method in class io.mangoo.templating.methods.RouteMethod
 
execute(Request, Response) - Method in class io.mangoo.admin.AdminFilter
 
execute(Request, Response) - Method in interface io.mangoo.interfaces.filters.OncePerRequestFilter
 
execute(Request, Response) - Method in interface io.mangoo.interfaces.filters.PerRequestFilter
 
expectDomainName(String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid Domain name
expectDomainName(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid Domain name
expectEmail(String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid email address
expectEmail(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid email address
expectExactMatch(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates two fields to exactly (case-sensitive) match
expectExactMatch(String, String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates two fields to exactly (case-sensitive) match
expectFalse(String, boolean) - Method in class io.mangoo.routing.bindings.Validator
Validates a given value to be false
expectFalse(String, boolean, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given value to be false
expectIpv4(String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid IPv4 address
expectIpv4(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid IPv4 address
expectIpv6(String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid IPv6 address
expectIpv6(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid IPv6 address
expectMatch(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates two fields to (case-insensitive) match
expectMatch(String, String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates two fields to (case-insensitive) match
expectMatch(String, String, List<String>) - Method in class io.mangoo.routing.bindings.Validator
Validates a list of value to (case-sensitive) match
expectMatch(String, List<String>) - Method in class io.mangoo.routing.bindings.Validator
Validates a list of given values to (case-sensitive) match
expectMaxLength(String, double) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a maximum length
expectMaxLength(String, double, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a maximum length
expectMaxValue(String, double) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a maximum value
expectMaxValue(String, double, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a maximum value
expectMinLength(String, double) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a minimum length
expectMinLength(String, double, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a minimum length
expectMinValue(String, double) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a minimum value
expectMinValue(String, double, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a minimum value
expectNotNull(String, Object) - Method in class io.mangoo.routing.bindings.Validator
Validates a given object to be not null
expectNotNull(String, Object, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given object to be not null
expectNull(String, Object) - Method in class io.mangoo.routing.bindings.Validator
Validates a given object to be null
expectNull(String, Object, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given object to be null
expectNumeric(String) - Method in class io.mangoo.routing.bindings.Validator
Validates that a given field has a numeric value
expectNumeric(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates that a given field has a numeric value
expectRangeLength(String, int, int) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be in a certain range length
expectRangeLength(String, int, int, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be in a certain range length
expectRangeValue(String, int, int) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be in a certain range value
expectRangeValue(String, int, int, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be in a certain range value
expectRegex(String, Pattern) - Method in class io.mangoo.routing.bindings.Validator
Validates a field by a given regular expression pattern It is required to pass a pre-compiled pattern, e.g.
expectRegex(String, Pattern, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field by a given regular expression pattern It is required to pass a pre-compiled pattern, e.g.
expectTrue(String, boolean) - Method in class io.mangoo.routing.bindings.Validator
Validates a given value to be true
expectTrue(String, boolean, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given value to be true
expectUrl(String) - Method in class io.mangoo.routing.bindings.Validator
Validates field to be a valid URL
expectUrl(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates field to be a valid URL
expectValue(String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to be present with a value
expectValue(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to be present with a value
EXPIRES - Enum constant in enum class io.mangoo.enums.Required
 

F

FallbackHandler - Class in io.mangoo.routing.handlers
 
FallbackHandler() - Constructor for class io.mangoo.routing.handlers.FallbackHandler
 
FALSE - Enum constant in enum class io.mangoo.enums.Validation
 
FALSE_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
FEATURE_POLICY - Enum constant in enum class io.mangoo.enums.Header
 
FILE - Enum constant in enum class io.mangoo.enums.Required
 
fileResource() - Static method in class io.mangoo.routing.Bind
Create a new FileResource route
FileRoute - Class in io.mangoo.routing.routes
 
FileRoute() - Constructor for class io.mangoo.routing.routes.FileRoute
 
FILES_FOLDER - Enum constant in enum class io.mangoo.enums.Default
 
FILES_PATH - Enum constant in enum class io.mangoo.enums.Default
 
FILTER_METHOD - Enum constant in enum class io.mangoo.enums.Default
 
FilterWith - Annotation Interface in io.mangoo.annotations
Filter annotation for request and controller filter
findAll(Class<T>) - Method in interface io.mangoo.persistence.Datastore
Retrieves a list of mapped Morphia objects from MongoDB
findAll(Class<T>) - Method in class io.mangoo.persistence.DatastoreImpl
 
findById(String, Class<T>) - Method in interface io.mangoo.persistence.Datastore
Retrieves a mapped Morphia object from MongoDB.
findById(String, Class<T>) - Method in class io.mangoo.persistence.DatastoreImpl
 
Flash - Class in io.mangoo.routing.bindings
 
Flash() - Constructor for class io.mangoo.routing.bindings.Flash
 
FLASH - Enum constant in enum class io.mangoo.enums.Binding
 
FLASH_COOKIE_NAME - Enum constant in enum class io.mangoo.enums.Default
 
FLASH_COOKIE_NAME - Enum constant in enum class io.mangoo.enums.Key
 
FLASH_COOKIE_SECRET - Enum constant in enum class io.mangoo.enums.Key
 
FLOAT - Enum constant in enum class io.mangoo.enums.Binding
 
FLOAT_PRIMITIVE - Enum constant in enum class io.mangoo.enums.Binding
 
forbidden() - Method in enum class io.mangoo.enums.Template
 
forbiddenPath() - Method in enum class io.mangoo.enums.Template
 
Form - Class in io.mangoo.routing.bindings
 
Form() - Constructor for class io.mangoo.routing.bindings.Form
 
FORM - Enum constant in enum class io.mangoo.enums.Binding
 
FORM - Enum constant in enum class io.mangoo.enums.ClaimKey
 
FormHandler - Class in io.mangoo.routing.handlers
 
FormHandler() - Constructor for class io.mangoo.routing.handlers.FormHandler
 
from(String) - Method in class io.mangoo.email.Mail
Sets the FROM address
from(String) - Static method in enum class io.mangoo.enums.HmacShaAlgorithm
 
from(String, String) - Method in class io.mangoo.email.Mail
Sets the FROM address and name
FROM - Enum constant in enum class io.mangoo.enums.Required
 
fromJson(String) - Static method in class io.mangoo.utils.JsonUtils
Converts a given Json string to an JSONPath ReadContext
fromJson(String, Class<T>) - Static method in class io.mangoo.utils.JsonUtils
Converts a given Json string to given Class
fromString(String) - Static method in enum class io.mangoo.enums.Binding
 

G

generateKeyPair() - Method in class io.mangoo.crypto.Crypto
Generate key which contains a pair of private and public key using 4096 bytes
get() - Method in class io.mangoo.cache.CacheProvider
 
get() - Method in class io.mangoo.persistence.DatastoreProvider
 
get() - Static method in class io.mangoo.routing.On
Creates a new RequestRoute for an HTTP GET request
get(Key, Object...) - Method in class io.mangoo.i18n.Messages
Returns a localized value for a given key stored in messages_xx.properties and passing the given arguments
get(String) - Method in interface io.mangoo.cache.Cache
Retrieves an object from the caches and converts it to a given class
get(String) - Method in class io.mangoo.cache.CacheImpl
 
get(String) - Method in class io.mangoo.i18n.Messages
Returns a localized value for a given key stored in messages_xx.properties
get(String) - Method in class io.mangoo.routing.bindings.Flash
Retrieves a specific value from the flash
get(String) - Method in class io.mangoo.routing.bindings.Session
Retrieves a specific value from the session
get(String) - Method in class io.mangoo.routing.bindings.Validator
Retrieves a form value corresponding to the name of the form element
get(String, Object...) - Method in class io.mangoo.i18n.Messages
Returns a localized value for a given key stored in messages_xx.properties and passing the given arguments
GET - Enum constant in enum class io.mangoo.enums.Http
 
getAcceptLanguage() - Method in class io.mangoo.routing.bindings.Request
Retrieves the clients accepted languages
getAlgorithm() - Method in enum class io.mangoo.enums.HmacShaAlgorithm
 
getAllConfigurations() - Method in class io.mangoo.core.Config
 
getAndDecrementCounter(String) - Method in interface io.mangoo.cache.Cache
Decrements a counter with a given key If the counter did not exist, it will be created and the decremented
getAndDecrementCounter(String) - Method in class io.mangoo.cache.CacheImpl
 
getAndIncrementCounter(String) - Method in interface io.mangoo.cache.Cache
Increments a cache counter with a given key If the counter did not exist, it will be created and the incremented
getAndIncrementCounter(String) - Method in class io.mangoo.cache.CacheImpl
 
getApplicationAdminHealthToken() - Method in class io.mangoo.core.Config
 
getApplicationAdminPassword() - Method in class io.mangoo.core.Config
 
getApplicationAdminSecret() - Method in class io.mangoo.core.Config
 
getApplicationAdminUsername() - Method in class io.mangoo.core.Config
 
getApplicationController() - Method in class io.mangoo.core.Config
 
getApplicationLanguage() - Method in class io.mangoo.core.Config
 
getApplicationName() - Method in class io.mangoo.core.Config
 
getApplicationPublicKey() - Method in class io.mangoo.core.Config
 
getApplicationSecret() - Method in class io.mangoo.core.Config
 
getApplicationTemplateEngine() - Method in class io.mangoo.core.Config
 
getAttachmentKey() - Static method in class io.mangoo.utils.RequestUtils
 
getAttribute(String) - Method in class io.mangoo.routing.bindings.Request
Returns an object attribute from a given key
getAttributeAsString(String) - Method in class io.mangoo.routing.bindings.Request
Returns an object attribute from a given key
getAttributes() - Method in class io.mangoo.routing.bindings.Request
 
getAuthentication() - Method in class io.mangoo.routing.Attachment
 
getAuthentication() - Method in class io.mangoo.routing.bindings.Request
 
getAuthenticationCookieName() - Method in class io.mangoo.core.Config
 
getAuthenticationCookieRememberExpires() - Method in class io.mangoo.core.Config
 
getAuthenticationCookieSecret() - Method in class io.mangoo.core.Config
 
getAuthenticationCookieTokenExpires() - Method in class io.mangoo.core.Config
 
getAuthenticationLock() - Method in class io.mangoo.core.Config
 
getAvgRequestTime() - Method in class io.mangoo.models.Metrics
 
getBinaryContent() - Method in class io.mangoo.routing.Response
 
getBinaryFileName() - Method in class io.mangoo.routing.Response
 
getBody() - Method in class io.mangoo.routing.Attachment
 
getBody() - Method in class io.mangoo.routing.bindings.Request
 
getBody() - Method in class io.mangoo.routing.Response
 
getBodyAsJsonMap() - Method in class io.mangoo.routing.bindings.Request
 
getBodyAsJsonPath() - Method in class io.mangoo.routing.bindings.Request
 
getBoolean(Key) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key constant (e.g.
getBoolean(Key, boolean) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key constant (e.g.
getBoolean(String) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key
getBoolean(String) - Method in class io.mangoo.routing.bindings.Form
Retrieves an optional boolean value corresponding to the name of the form element 0 maps to false 1 maps to true "true" maps to true "false" maps to false
getBoolean(String, boolean) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key
getCache(CacheName) - Method in class io.mangoo.cache.CacheProvider
Retrieves a cache by its name from the cache pool
getCache(String) - Method in class io.mangoo.cache.CacheProvider
Retrieves a cache by its name from the cache pool
getCacheClusterUrl() - Method in class io.mangoo.core.Config
 
getCacheStatistics() - Method in class io.mangoo.cache.CacheProvider
Returns a map containing cache names and cache statistics
getChannels(String) - Method in class io.mangoo.services.WebSocketService
Retrieves all channels under a given URL
getCharset() - Method in class io.mangoo.routing.bindings.Request
Returns the request charset.
getCharset() - Method in class io.mangoo.routing.Response
 
getClassAnnotations() - Method in class io.mangoo.routing.Attachment
 
getConnections(String) - Method in class io.mangoo.services.ServerSentEventService
Retrieves all connection resources under a given URL
getConnectorAjpHost() - Method in class io.mangoo.core.Config
 
getConnectorAjpPort() - Method in class io.mangoo.core.Config
 
getConnectorHttpHost() - Method in class io.mangoo.core.Config
 
getConnectorHttpPort() - Method in class io.mangoo.core.Config
 
getContent() - Method in class io.mangoo.routing.Response
 
getContent() - Method in class io.mangoo.templating.TemplateContext
 
getContentLength() - Method in class io.mangoo.routing.bindings.Request
 
getContentType() - Method in class io.mangoo.routing.Response
 
getControllerAndMethod() - Method in class io.mangoo.routing.Attachment
 
getControllerClass() - Method in class io.mangoo.routing.Attachment
 
getControllerClass() - Method in class io.mangoo.routing.routes.ControllerRoute
 
getControllerClass() - Method in class io.mangoo.routing.routes.RequestRoute
 
getControllerClass() - Method in class io.mangoo.routing.routes.WebSocketRoute
 
getControllerClassName() - Method in class io.mangoo.routing.Attachment
 
getControllerInstance() - Method in class io.mangoo.routing.Attachment
 
getControllerMethod() - Method in class io.mangoo.routing.routes.RequestRoute
 
getControllerMethodName() - Method in class io.mangoo.routing.Attachment
 
getCookie(String) - Method in class io.mangoo.routing.bindings.Request
Retrieves a single cookie from the request
getCookies() - Method in class io.mangoo.routing.bindings.Request
 
getCookies() - Method in class io.mangoo.routing.Response
 
getCorsAllowOrigin() - Method in class io.mangoo.core.Config
 
getCorsHeadersAllowCredentials() - Method in class io.mangoo.core.Config
 
getCorsHeadersAllowHeaders() - Method in class io.mangoo.core.Config
 
getCorsHeadersAllowMethods() - Method in class io.mangoo.core.Config
 
getCorsHeadersExposeHeaders() - Method in class io.mangoo.core.Config
 
getCorsHeadersMaxAge() - Method in class io.mangoo.core.Config
 
getCorsUrlPattern() - Method in class io.mangoo.core.Config
 
getCounter(String) - Method in interface io.mangoo.cache.Cache
Retrieves the counter for a given key
getCounter(String) - Method in class io.mangoo.cache.CacheImpl
 
getDataSend() - Method in class io.mangoo.models.Metrics
 
getDatastore() - Method in interface io.mangoo.persistence.Datastore
 
getDatastore() - Method in class io.mangoo.persistence.DatastoreImpl
 
getDatastore(String) - Method in class io.mangoo.persistence.DatastoreProvider
 
getDouble(String) - Method in class io.mangoo.routing.bindings.Form
Retrieves an optional double value corresponding to the name of the form element
getError(String) - Method in class io.mangoo.routing.bindings.Validator
Retrieves the error message for a given field
getErrors() - Method in class io.mangoo.routing.bindings.Validator
 
getExpires() - Method in class io.mangoo.routing.bindings.Authentication
Returns the LocalDateTime when the authentication expires
getExpires() - Method in class io.mangoo.routing.bindings.Session
 
getFile() - Method in class io.mangoo.routing.bindings.Form
Retrieves a single file of the form.
getFileRoutes() - Static method in class io.mangoo.routing.Router
 
getFiles() - Method in class io.mangoo.routing.bindings.Form
Retrieves all attachment files of the form
getFlash() - Method in class io.mangoo.routing.Attachment
 
getFlashCookieName() - Method in class io.mangoo.core.Config
 
getFlashCookieSecret() - Method in class io.mangoo.core.Config
 
getFloat(String) - Method in class io.mangoo.routing.bindings.Form
Retrieves an optional float value corresponding to the name of the form element
getForm() - Method in class io.mangoo.routing.Attachment
 
getHeader(HttpString) - Method in class io.mangoo.routing.bindings.Request
Retrieves a specific header value by its name
getHeader(HttpString) - Method in class io.mangoo.routing.Response
 
getHeader(String) - Method in class io.mangoo.routing.bindings.Request
Retrieves a specific header value by its name
getHeaders() - Method in class io.mangoo.routing.bindings.Request
Retrieves a list of all headers send by the client
getHeaders() - Method in class io.mangoo.routing.Response
 
getI18nCookieName() - Method in class io.mangoo.core.Config
 
getId() - Method in class io.mangoo.persistence.BaseModel
 
getInjector() - Static method in class io.mangoo.core.Application
Returns the Google Guice Injector
getInstance(Class<T>) - Static method in class io.mangoo.core.Application
Short form for getting a Google Guice injected class by calling getInstance(...)
getInt(Key) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key constant (e.g.
getInt(Key, int) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key constant (e.g.
getInt(String) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key
getInt(String, int) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key
getInteger(String) - Method in class io.mangoo.routing.bindings.Form
Retrieves an optional integer value corresponding to the name of the form element
getKeyAsString(Key) - Method in class io.mangoo.crypto.Crypto
Convert a Key to string encoded as Base64
getLimit() - Method in class io.mangoo.routing.Attachment
 
getLocale() - Method in class io.mangoo.routing.Attachment
 
getLogo() - Static method in class io.mangoo.core.Application
Retrieves the logo from the logo file and returns the string
getLong(Key) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key constant (e.g.
getLong(Key, long) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key constant (e.g.
getLong(String) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key
getLong(String, long) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key
getMaxEntitySize() - Method in class io.mangoo.routing.routes.RequestRoute
 
getMaxRequestTime() - Method in class io.mangoo.models.Metrics
 
getMessageAttachments() - Method in class io.mangoo.email.Mail
 
getMessageBccs() - Method in class io.mangoo.email.Mail
 
getMessageCcs() - Method in class io.mangoo.email.Mail
 
getMessageFromAddress() - Method in class io.mangoo.email.Mail
 
getMessageFromName() - Method in class io.mangoo.email.Mail
 
getMessageHeaders() - Method in class io.mangoo.email.Mail
 
getMessageReplyTo() - Method in class io.mangoo.email.Mail
 
getMessages() - Static method in enum class io.mangoo.enums.Default
 
getMessages() - Method in class io.mangoo.routing.Attachment
 
getMessageSubject() - Method in class io.mangoo.email.Mail
 
getMessageText() - Method in class io.mangoo.email.Mail
 
getMessageTos() - Method in class io.mangoo.email.Mail
 
getMethod() - Method in class io.mangoo.routing.Attachment
 
getMethod() - Method in class io.mangoo.routing.bindings.Request
Get the HTTP request method.
getMethod() - Method in class io.mangoo.routing.routes.RequestRoute
 
getMethodAnnotations() - Method in class io.mangoo.routing.Attachment
 
getMethodParameters() - Method in class io.mangoo.routing.Attachment
 
getMethodParametersCount() - Method in class io.mangoo.routing.Attachment
 
getMethods() - Method in class io.mangoo.routing.routes.RequestRoute
 
getMinRequestTime() - Method in class io.mangoo.models.Metrics
 
getMode() - Static method in class io.mangoo.core.Application
Returns the current mode the application is running in
getMongoAuthDB(String) - Method in class io.mangoo.core.Config
 
getMongoClient() - Method in interface io.mangoo.persistence.Datastore
 
getMongoClient() - Method in class io.mangoo.persistence.DatastoreImpl
 
getMongoDbName(String) - Method in class io.mangoo.core.Config
 
getMongoHost(String) - Method in class io.mangoo.core.Config
 
getMongoPackage(String) - Method in class io.mangoo.core.Config
 
getMongoPassword(String) - Method in class io.mangoo.core.Config
 
getMongoPort(String) - Method in class io.mangoo.core.Config
 
getMongoUsername(String) - Method in class io.mangoo.core.Config
 
getNumEvents() - Method in class io.mangoo.services.EventBusService
 
getNumListeners() - Method in class io.mangoo.services.EventBusService
 
getObjectMapper() - Static method in class io.mangoo.utils.JsonUtils
 
getOtpauthURL(String, String, String, HmacShaAlgorithm, String, String) - Static method in class io.mangoo.utils.TotpUtils
Generates an otpauth code to share a secret with a user
getParameter() - Method in class io.mangoo.routing.bindings.Request
Retrieves a map of request parameter (request or query parameter)
getParameter(String) - Method in class io.mangoo.routing.bindings.Request
Retrieves a request parameter (request or query parameter) by its name
getPassword() - Method in class io.mangoo.routing.Attachment
 
getPassword() - Method in class io.mangoo.routing.routes.ControllerRoute
 
getPassword() - Method in class io.mangoo.routing.routes.RequestRoute
 
getPath() - Method in class io.mangoo.routing.bindings.Request
The request path.
getPathRoutes() - Static method in class io.mangoo.routing.Router
 
getPrivateKeyFromString(String) - Method in class io.mangoo.crypto.Crypto
Generates Private Key from Base64 encoded string
getPublicKeyFromString(String) - Method in class io.mangoo.crypto.Crypto
Generates Public Key from Base64 encoded string
getQRCode(String, String, String, HmacShaAlgorithm, String, String) - Static method in class io.mangoo.utils.TotpUtils
Generates a QR code link from Google charts API to share a secret with a user
getRedirectTo() - Method in class io.mangoo.routing.Response
 
getRequest() - Method in class io.mangoo.routing.Attachment
 
getRequestParameter() - Method in class io.mangoo.routing.Attachment
 
getRequestParameters(HttpServerExchange) - Static method in class io.mangoo.utils.RequestUtils
Converts request and query parameter into a single map
getRequestRoutes() - Static method in class io.mangoo.routing.Router
 
getResponse() - Method in class io.mangoo.routing.Attachment
 
getResponseMetrics() - Method in class io.mangoo.models.Metrics
 
getResponseTime() - Method in class io.mangoo.routing.Attachment
 
getReverseRoute(String) - Static method in class io.mangoo.routing.Router
Retrieves a reverse route by its controller class and controller method
getRoutes() - Static method in class io.mangoo.routing.Router
 
getScheduler() - Static method in class io.mangoo.core.Application
Returns the ScheduledExecutorService where all tasks are scheduled
getSchedulerPoolsize() - Method in class io.mangoo.core.Config
 
getScheme() - Method in class io.mangoo.routing.bindings.Request
Get the request URI scheme.
getServerSentEventRoutes() - Static method in class io.mangoo.routing.Router
 
getServerSentEventURL(ServerSentEventConnection) - Static method in class io.mangoo.utils.RequestUtils
Retrieves a URL from a Server-Sent Event connection
getSession() - Method in class io.mangoo.routing.Attachment
 
getSession() - Method in class io.mangoo.routing.bindings.Request
 
getSessionCookieName() - Method in class io.mangoo.core.Config
 
getSessionCookieSecret() - Method in class io.mangoo.core.Config
 
getSessionCookieTokenExpires() - Method in class io.mangoo.core.Config
 
getSizedSecret(String) - Method in class io.mangoo.crypto.Crypto
 
getSmtpFrom() - Method in class io.mangoo.core.Config
 
getSmtpHost() - Method in class io.mangoo.core.Config
 
getSmtpPassword() - Method in class io.mangoo.core.Config
 
getSmtpPort() - Method in class io.mangoo.core.Config
 
getSmtpProtocol() - Method in class io.mangoo.core.Config
 
getSmtpUsername() - Method in class io.mangoo.core.Config
 
getStart() - Static method in class io.mangoo.core.Application
 
getStatusCode() - Method in class io.mangoo.routing.Response
 
getString(Key) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key constant (e.g.
getString(Key, String) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key constant (e.g.
getString(String) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key
getString(String) - Method in class io.mangoo.routing.bindings.Form
Retrieves an optional string value corresponding to the name of the form element
getString(String, String) - Method in class io.mangoo.core.Config
Retrieves a configuration value with the given key
getSubject() - Method in class io.mangoo.routing.bindings.Authentication
Retrieves the current subject
getTemplate() - Method in class io.mangoo.routing.Response
 
getTemplateEngine() - Method in class io.mangoo.routing.Attachment
 
getTemplateName(String) - Method in class io.mangoo.templating.TemplateEngine
 
getTemplatePath() - Method in class io.mangoo.templating.TemplateContext
 
getTotp(String) - Static method in class io.mangoo.utils.TotpUtils
Creates the current TOTP based on the following default values: SHA512 algorithm, 6 digits, 30 seconds time period
getTotp(String, HmacShaAlgorithm, int, int) - Static method in class io.mangoo.utils.TotpUtils
Creates the current TOTP based on the given parameters
getUndertowMaxEntitySize() - Method in class io.mangoo.core.Config
 
getUptime() - Static method in class io.mangoo.core.Application
 
getURI() - Method in class io.mangoo.routing.bindings.Request
The original request URI.
getUrl() - Method in interface io.mangoo.interfaces.MangooRoute
 
getUrl() - Method in class io.mangoo.routing.routes.FileRoute
 
getUrl() - Method in class io.mangoo.routing.routes.PathRoute
 
getUrl() - Method in class io.mangoo.routing.routes.RequestRoute
 
getUrl() - Method in class io.mangoo.routing.routes.ServerSentEventRoute
 
getUrl() - Method in class io.mangoo.routing.routes.WebSocketRoute
 
getURL() - Method in class io.mangoo.routing.bindings.Request
Reconstructs the complete URL as seen by the user.
getURL(URI) - Static method in class io.mangoo.utils.RequestUtils
Creates and URL with only path and if present query and fragment, e.g.
getUsername() - Method in class io.mangoo.routing.Attachment
 
getUsername() - Method in class io.mangoo.routing.routes.ControllerRoute
 
getUsername() - Method in class io.mangoo.routing.routes.RequestRoute
 
getValue(String) - Method in class io.mangoo.routing.bindings.Form
Retrieves a string value corresponding to the name of the form element
getValueList(String) - Method in class io.mangoo.routing.bindings.Form
Retrieves the value list for a given key
getValues() - Method in class io.mangoo.routing.bindings.Flash
 
getValues() - Method in class io.mangoo.routing.bindings.Form
Retrieves all form submitted values where the key of the map corresponds to the name of the form element and the value is the value of the form element
getValues() - Method in class io.mangoo.routing.bindings.Session
 
getVersion() - Static method in class io.mangoo.utils.MangooUtils
Retrieves the current version of the framework from the version.properties file
getWebSocketRoutes() - Static method in class io.mangoo.routing.Router
 
getWebSocketURL(WebSocketChannel) - Static method in class io.mangoo.utils.RequestUtils
Retrieves the URL of a WebSocketChannel
GROUP_NAME - Enum constant in enum class io.mangoo.enums.Required
 

H

handleEvent(ServerSentEventConnection) - Method in class io.mangoo.routing.listeners.ServerSentEventCloseListener
 
handleEvent(WebSocketChannel) - Method in class io.mangoo.routing.listeners.WebSocketCloseListener
 
HANDLER_WRAPPER - Static variable in class io.mangoo.routing.handlers.MetricsHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.AuthenticationHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.BinaryHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.CorsHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.DispatcherHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.ExceptionHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.FallbackHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.FormHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.InboundCookiesHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.LocaleHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.MetricsHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.OutboundCookiesHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.RequestHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.ResponseHandler
 
hasAttachments() - Method in class io.mangoo.email.Mail
 
hasAuthentication() - Method in class io.mangoo.routing.Attachment
 
hasAuthentication() - Method in class io.mangoo.routing.routes.ControllerRoute
 
hasAuthentication() - Method in class io.mangoo.routing.routes.RequestRoute
 
hasAuthentication() - Method in class io.mangoo.routing.routes.ServerSentEventRoute
 
hasAuthentication() - Method in class io.mangoo.routing.routes.WebSocketRoute
 
hasAuthorization() - Method in class io.mangoo.routing.routes.ControllerRoute
 
hasBasicAuthentication() - Method in class io.mangoo.routing.routes.ControllerRoute
 
hasBasicAuthentication() - Method in class io.mangoo.routing.routes.RequestRoute
 
hasBlocking() - Method in class io.mangoo.routing.routes.ControllerRoute
 
hasChanges() - Method in class io.mangoo.routing.bindings.Session
 
hasContent() - Method in class io.mangoo.routing.bindings.Flash
 
hasContent() - Method in class io.mangoo.routing.bindings.Session
Checks if the session has at least one entry
hasError(String) - Method in class io.mangoo.routing.bindings.Validator
Checks if a give field has a validation error
hasErrors() - Method in class io.mangoo.routing.bindings.Validator
Checks if any field in the validation has an error
HASH - Enum constant in enum class io.mangoo.enums.Required
 
hashArgon2(String, String) - Static method in class io.mangoo.utils.CodecUtils
Hashes a given clear text password with salt using Argon2Id password hashing
hashCode() - Method in class io.mangoo.crypto.totp.TOTP
 
hashCode() - Method in record class io.mangoo.models.Source
Returns a hash code value for this object.
hasLimit() - Method in class io.mangoo.routing.Attachment
 
hasMultipleMethods() - Method in class io.mangoo.routing.routes.RequestRoute
 
hasRequestFilter() - Method in class io.mangoo.routing.Attachment
 
hasValidAuthentication(String) - Static method in class io.mangoo.utils.RequestUtils
Checks if the given header contains a valid authentication
head() - Static method in class io.mangoo.routing.On
Creates a new RequestRoute for an HTTP HEAD request
HEAD - Enum constant in enum class io.mangoo.enums.Http
 
header(Header, String) - Static method in class io.mangoo.core.Server
Sets a custom header that is used globally on server responses
header(String, String) - Method in class io.mangoo.email.Mail
Adds a header value
Header - Enum Class in io.mangoo.enums
Custom headers which are not part of undertow
HEADER - Enum constant in enum class io.mangoo.enums.Required
 
headers() - Static method in class io.mangoo.core.Server
 
HEADERS - Enum constant in enum class io.mangoo.enums.Required
 
health(Request) - Method in class io.mangoo.admin.AdminController
 
hexSHA512(String) - Static method in class io.mangoo.utils.CodecUtils
Hashes a given clear text data with SHA512 For simple hashing tasks Use hashArgon2 for password hashing
HMAC_SHA_256 - Enum constant in enum class io.mangoo.enums.HmacShaAlgorithm
 
HMAC_SHA_512 - Enum constant in enum class io.mangoo.enums.HmacShaAlgorithm
 
hmacSha(HmacShaAlgorithm) - Method in class io.mangoo.crypto.totp.TOTPBuilder
Returns this TOTPBuilder instance initialized with the specified HMAC-SHA algorithm.
hmacSha256() - Method in class io.mangoo.crypto.totp.TOTPBuilder
Returns this TOTPBuilder instance initialized with the HmacShaAlgorithm.HMAC_SHA_256.
hmacSha512() - Method in class io.mangoo.crypto.totp.TOTPBuilder
Returns this TOTPBuilder instance initialized with the HmacShaAlgorithm.HMAC_SHA_512.
hmacShaAlgorithm() - Method in class io.mangoo.crypto.totp.TOTP
Returns the HmacShaAlgorithm used to generate this TOTP.
HmacShaAlgorithm - Enum Class in io.mangoo.enums
 
htmlMessage(String) - Method in class io.mangoo.email.Mail
Adds html message text.
htmlMessage(String, Map<String, Object>) - Method in class io.mangoo.email.Mail
Adds html message text which uses a given template and content to render
Http - Enum Class in io.mangoo.enums
 
HTTP_HANDLER - Enum constant in enum class io.mangoo.enums.Required
 
HTTP_METHOD - Enum constant in enum class io.mangoo.enums.Required
 
HTTP_SERVER_EXCHANGE - Enum constant in enum class io.mangoo.enums.Required
 

I

I18N_COOKIE_NAME - Enum constant in enum class io.mangoo.enums.Default
 
I18N_COOKIE_NAME - Enum constant in enum class io.mangoo.enums.Key
 
I18nMethod - Class in io.mangoo.templating.methods
 
I18nMethod(Messages) - Constructor for class io.mangoo.templating.methods.I18nMethod
 
Identity - Class in io.mangoo.models
A simple IdentityManager implementation
Identity(String, String) - Constructor for class io.mangoo.models.Identity
 
InboundCookiesHandler - Class in io.mangoo.routing.handlers
 
InboundCookiesHandler(Config) - Constructor for class io.mangoo.routing.handlers.InboundCookiesHandler
 
incrementDataSend(long) - Method in class io.mangoo.models.Metrics
 
inDevMode() - Static method in class io.mangoo.core.Application
Checks if the application is running in dev mode
index() - Method in class io.mangoo.admin.AdminController
 
initializeRoutes() - Method in interface io.mangoo.interfaces.MangooBootstrap
Place all routes for your application in this method
inProdMode() - Static method in class io.mangoo.core.Application
Checks if the application is running in prod mode
INT_PRIMITIVE - Enum constant in enum class io.mangoo.enums.Binding
 
INTEGER - Enum constant in enum class io.mangoo.enums.Binding
 
inTestMode() - Static method in class io.mangoo.core.Application
Checks if the application is running in test mode
invalidate() - Method in class io.mangoo.routing.bindings.Authentication
Invalidates the authentication by sending expiring the client cookie
invalidate() - Method in class io.mangoo.routing.bindings.Flash
Invalidates the flash by sending expiring the client cookie
invalidate() - Method in class io.mangoo.routing.bindings.Session
Invalidates the session by sending expiring the client cookie
invalidate() - Method in class io.mangoo.routing.bindings.Validator
 
io.mangoo.admin - package io.mangoo.admin
 
io.mangoo.annotations - package io.mangoo.annotations
 
io.mangoo.cache - package io.mangoo.cache
 
io.mangoo.core - package io.mangoo.core
 
io.mangoo.crypto - package io.mangoo.crypto
 
io.mangoo.crypto.totp - package io.mangoo.crypto.totp
 
io.mangoo.email - package io.mangoo.email
 
io.mangoo.enums - package io.mangoo.enums
 
io.mangoo.exceptions - package io.mangoo.exceptions
 
io.mangoo.i18n - package io.mangoo.i18n
 
io.mangoo.interfaces - package io.mangoo.interfaces
 
io.mangoo.interfaces.filters - package io.mangoo.interfaces.filters
 
io.mangoo.models - package io.mangoo.models
 
io.mangoo.persistence - package io.mangoo.persistence
 
io.mangoo.persistence.events - package io.mangoo.persistence.events
 
io.mangoo.routing - package io.mangoo.routing
 
io.mangoo.routing.bindings - package io.mangoo.routing.bindings
 
io.mangoo.routing.handlers - package io.mangoo.routing.handlers
 
io.mangoo.routing.listeners - package io.mangoo.routing.listeners
 
io.mangoo.routing.routes - package io.mangoo.routing.routes
 
io.mangoo.scheduler - package io.mangoo.scheduler
 
io.mangoo.services - package io.mangoo.services
 
io.mangoo.templating - package io.mangoo.templating
 
io.mangoo.templating.methods - package io.mangoo.templating.methods
 
io.mangoo.utils - package io.mangoo.utils
 
IPV4 - Enum constant in enum class io.mangoo.enums.Validation
 
IPV4_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
IPV6 - Enum constant in enum class io.mangoo.enums.Validation
 
IPV6_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
isApplicationAdminEnable() - Method in class io.mangoo.core.Config
 
isApplicationAdminHealthEnable() - Method in class io.mangoo.core.Config
 
isAuthenticationCookieExpires() - Method in class io.mangoo.core.Config
 
isAuthenticationCookieSecure() - Method in class io.mangoo.core.Config
 
isBinary() - Method in class io.mangoo.routing.Response
 
isBlocking() - Method in class io.mangoo.routing.routes.RequestRoute
 
isBlocking(boolean) - Method in class io.mangoo.routing.handlers.DispatcherHandler
 
isCacheCluserEnable() - Method in class io.mangoo.core.Config
 
isCorsEnable() - Method in class io.mangoo.core.Config
 
isDecrypted() - Method in class io.mangoo.core.Config
 
isDiscard() - Method in class io.mangoo.routing.bindings.Flash
 
isEndResponse() - Method in class io.mangoo.routing.Response
 
isFlashCookieSecure() - Method in class io.mangoo.core.Config
 
isInvalid() - Method in class io.mangoo.routing.bindings.Authentication
 
isInvalid() - Method in class io.mangoo.routing.bindings.Flash
 
isInvalid() - Method in class io.mangoo.routing.bindings.Session
 
isJsonRequest(HttpServerExchange) - Static method in class io.mangoo.utils.RequestUtils
Checks if the requests content-type contains application/json
isKept() - Method in class io.mangoo.routing.bindings.Form
Checks if the form values are to put in the flash scope
isLogout() - Method in class io.mangoo.routing.bindings.Authentication
 
isMessageHtml() - Method in class io.mangoo.email.Mail
 
isMetricsEnable() - Method in class io.mangoo.core.Config
 
isMongoAuth(String) - Method in class io.mangoo.core.Config
 
isMongoEmbedded(String) - Method in class io.mangoo.core.Config
 
isPostPutPatch(HttpServerExchange) - Static method in class io.mangoo.utils.RequestUtils
Checks if the request is a POST, PUT or PATCH request
isRedirect() - Method in class io.mangoo.routing.Response
 
isRememberMe() - Method in class io.mangoo.routing.bindings.Authentication
 
isRendered() - Method in class io.mangoo.routing.Response
 
isSchedulerEnabled() - Method in class io.mangoo.core.Config
 
isSessionCookieExpires() - Method in class io.mangoo.core.Config
 
isSessionCookieSecure() - Method in class io.mangoo.core.Config
 
isSmtpAuthentication() - Method in class io.mangoo.core.Config
 
isSmtpDebug() - Method in class io.mangoo.core.Config
 
isStarted() - Static method in class io.mangoo.core.Application
 
isSubmitted() - Method in class io.mangoo.routing.bindings.Form
 
ISSUER - Enum constant in enum class io.mangoo.enums.Required
 
isTwoFactor() - Method in class io.mangoo.routing.bindings.Authentication
 
isUnrendered() - Method in class io.mangoo.routing.Response
 
isValid() - Method in class io.mangoo.routing.bindings.Authentication
Checks if the authentication class contains an authentication
isValid() - Method in class io.mangoo.routing.bindings.Validator
 
isValid(byte[], long, int, HmacShaAlgorithm, String) - Method in class io.mangoo.crypto.totp.TOTPValidator
Returns true if the specified TOTP value matches the value of the TOTP generated at validation, otherwise false.
isValid(byte[], long, int, HmacShaAlgorithm, String, long) - Method in class io.mangoo.crypto.totp.TOTPValidator
Returns true if the specified TOTP value matches the value of the TOTP generated at validation, otherwise false.

J

JAVASCRIPT_FOLDER - Enum constant in enum class io.mangoo.enums.Default
 
JBCRYPT_ROUNDS - Enum constant in enum class io.mangoo.enums.Default
 
JSON - Enum constant in enum class io.mangoo.enums.Required
 
JSON_OBJECT - Enum constant in enum class io.mangoo.enums.Required
 
JsonUtils - Class in io.mangoo.utils
 

K

keep() - Method in class io.mangoo.routing.bindings.Form
Adds the form values to the flash scope
key(byte[]) - Static method in class io.mangoo.crypto.totp.TOTP
Returns a new TOTPBuilder instance initialized with the specified key.
Key - Enum Class in io.mangoo.enums
Key strings for reading configuration properties of application
KEY - Enum constant in enum class io.mangoo.enums.Required
 

L

line() - Method in record class io.mangoo.models.Source
Returns the value of the line record component.
LOCAL_DATE - Enum constant in enum class io.mangoo.enums.Required
 
LOCAL_DATE_TIME - Enum constant in enum class io.mangoo.enums.Required
 
LOCALDATE - Enum constant in enum class io.mangoo.enums.Binding
 
LOCALDATETIME - Enum constant in enum class io.mangoo.enums.Binding
 
localDateTimeToDate(LocalDateTime) - Static method in class io.mangoo.utils.DateUtils
Converts a LocalDateTime to Date
localDateToDate(LocalDate) - Static method in class io.mangoo.utils.DateUtils
Converts a localDate to Date
LOCALE - Enum constant in enum class io.mangoo.enums.Required
 
LocaleHandler - Class in io.mangoo.routing.handlers
 
LocaleHandler(Config) - Constructor for class io.mangoo.routing.handlers.LocaleHandler
 
LOCATION - Enum constant in enum class io.mangoo.enums.Header
 
LocationMethod - Class in io.mangoo.templating.methods
 
LocationMethod(String) - Constructor for class io.mangoo.templating.methods.LocationMethod
 
logger() - Method in class io.mangoo.admin.AdminController
 
loggerajax(Request) - Method in class io.mangoo.admin.AdminController
 
loggerPath() - Method in enum class io.mangoo.enums.Template
 
login() - Method in class io.mangoo.admin.AdminController
 
login(String) - Method in class io.mangoo.routing.bindings.Authentication
Performs a login by setting the authentication to the given identifier Please note, that calling validLogin is mandatory before this call!
loginPath() - Method in enum class io.mangoo.enums.Template
 
logout() - Method in class io.mangoo.admin.AdminController
 
logout() - Method in class io.mangoo.routing.bindings.Authentication
Performs a logout of the currently authenticated user
LONG - Enum constant in enum class io.mangoo.enums.Binding
 
LONG_PRIMITIVE - Enum constant in enum class io.mangoo.enums.Binding
 

M

Mail - Class in io.mangoo.email
 
Mail() - Constructor for class io.mangoo.email.Mail
 
MAIL - Enum constant in enum class io.mangoo.enums.Required
 
MAIL_CENTER - Enum constant in enum class io.mangoo.enums.Required
 
MailListener - Class in io.mangoo.email
 
MailListener(Config, EventBusService) - Constructor for class io.mangoo.email.MailListener
 
main(String...) - Static method in class io.mangoo.core.Application
 
MangooBootstrap - Interface in io.mangoo.interfaces
 
MangooEncryptionException - Exception in io.mangoo.exceptions
 
MangooEncryptionException(String, Exception) - Constructor for exception io.mangoo.exceptions.MangooEncryptionException
 
MangooEventBusException - Exception in io.mangoo.exceptions
 
MangooEventBusException(Exception) - Constructor for exception io.mangoo.exceptions.MangooEventBusException
 
MANGOOIO_WARNINGS - Enum constant in enum class io.mangoo.enums.Key
 
MangooMailerException - Exception in io.mangoo.exceptions
 
MangooMailerException(Exception) - Constructor for exception io.mangoo.exceptions.MangooMailerException
 
MangooRoute - Interface in io.mangoo.interfaces
 
MangooTemplateEngineException - Exception in io.mangoo.exceptions
 
MangooTemplateEngineException(String, Exception) - Constructor for exception io.mangoo.exceptions.MangooTemplateEngineException
 
MangooUtils - Class in io.mangoo.utils
 
MangooWebSocket - Class in io.mangoo.interfaces
 
MangooWebSocket() - Constructor for class io.mangoo.interfaces.MangooWebSocket
 
MAP - Enum constant in enum class io.mangoo.enums.Required
 
MATCH - Enum constant in enum class io.mangoo.enums.Validation
 
MATCH_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
MATCH_VALUES - Enum constant in enum class io.mangoo.enums.Validation
 
MATCH_VALUES_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
matchArgon2(String, String, String) - Static method in class io.mangoo.utils.CodecUtils
Matches a given clear text password with salt using Argon2Id against an already Argon2Id hashed password
MAX_ALLOWED_DIGITS - Static variable in class io.mangoo.crypto.totp.TOTPBuilder
The maximum allowed number of digits the TOTP value can contain.
MAX_LENGTH - Enum constant in enum class io.mangoo.enums.Validation
 
MAX_LENGTH_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
MAX_VALUE - Enum constant in enum class io.mangoo.enums.Validation
 
MAX_VALUE_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
MESSAGE - Enum constant in enum class io.mangoo.enums.Required
 
Messages - Class in io.mangoo.i18n
Convenient class for handling translations
Messages() - Constructor for class io.mangoo.i18n.Messages
 
MESSAGES - Enum constant in enum class io.mangoo.enums.Binding
 
MESSAGES - Enum constant in enum class io.mangoo.enums.Required
 
METHOD - Enum constant in enum class io.mangoo.enums.Required
 
METHOD_PARAMETERS - Enum constant in enum class io.mangoo.enums.Required
 
Metrics - Class in io.mangoo.models
Base class for system metrics
Metrics() - Constructor for class io.mangoo.models.Metrics
 
Metrics(Metrics) - Constructor for class io.mangoo.models.Metrics
 
METRICS_ENABLE - Enum constant in enum class io.mangoo.enums.Default
 
METRICS_ENABLE - Enum constant in enum class io.mangoo.enums.Key
 
MetricsHandler - Class in io.mangoo.routing.handlers
 
MetricsHandler(HttpHandler) - Constructor for class io.mangoo.routing.handlers.MetricsHandler
 
MetricsListener - Class in io.mangoo.routing.listeners
 
MetricsListener() - Constructor for class io.mangoo.routing.listeners.MetricsListener
 
MetricsListener(long) - Constructor for class io.mangoo.routing.listeners.MetricsListener
 
MIN_ALLOWED_DIGITS - Static variable in class io.mangoo.crypto.totp.TOTPBuilder
The minimum allowed number of digits the TOTP value can contain.
MIN_LENGTH - Enum constant in enum class io.mangoo.enums.Validation
 
MIN_LENGTH_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
MIN_VALUE - Enum constant in enum class io.mangoo.enums.Validation
 
MIN_VALUE_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
Mode - Enum Class in io.mangoo.enums
Application modes
MODE - Enum constant in enum class io.mangoo.enums.Required
 
MODEL_CONF - Enum constant in enum class io.mangoo.enums.Default
 
Module - Class in io.mangoo.core
 
Module() - Constructor for class io.mangoo.core.Module
 
MODULE_CLASS - Enum constant in enum class io.mangoo.enums.Default
 

N

NAME - Enum constant in enum class io.mangoo.enums.Required
 
newMail() - Static method in class io.mangoo.email.Mail
Creates a new mail instance
notFound() - Method in enum class io.mangoo.enums.Template
 
notFoundPath() - Method in enum class io.mangoo.enums.Template
 
NOTNULL - Enum constant in enum class io.mangoo.enums.Validation
 
NOTNULL_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
NULL - Enum constant in enum class io.mangoo.enums.Validation
 
NULL_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
NUMBER_FORMAT - Enum constant in enum class io.mangoo.enums.Default
 
NUMERIC - Enum constant in enum class io.mangoo.enums.Validation
 
NUMERIC_KEY - Enum constant in enum class io.mangoo.enums.Validation
 

O

OBJECT - Enum constant in enum class io.mangoo.enums.Required
 
On - Class in io.mangoo.routing
 
OncePerRequestFilter - Interface in io.mangoo.interfaces.filters
 
onConnect(WebSocketHttpExchange, WebSocketChannel) - Method in class io.mangoo.routing.handlers.WebSocketHandler
 
onController(Class<?>) - Method in class io.mangoo.routing.routes.WebSocketRoute
Sets the controller class for this WebSocket route
OPTIONAL - Enum constant in enum class io.mangoo.enums.Binding
 
options() - Static method in class io.mangoo.routing.On
Creates a new RequestRoute for an HTTP OPTIONS request
OPTIONS - Enum constant in enum class io.mangoo.enums.Http
 
OutboundCookiesHandler - Class in io.mangoo.routing.handlers
 
OutboundCookiesHandler(Config) - Constructor for class io.mangoo.routing.handlers.OutboundCookiesHandler
 

P

PASSWORD - Enum constant in enum class io.mangoo.enums.Required
 
patch() - Static method in class io.mangoo.routing.On
Creates a new RequestRoute for an HTTP PATCH request
PATCH - Enum constant in enum class io.mangoo.enums.Http
 
PATH - Enum constant in enum class io.mangoo.enums.Required
 
pathResource() - Static method in class io.mangoo.routing.Bind
Creates a new PathResource route
PathRoute - Class in io.mangoo.routing.routes
 
PathRoute() - Constructor for class io.mangoo.routing.routes.PathRoute
 
PERIOD - Enum constant in enum class io.mangoo.enums.Required
 
PerRequestFilter - Interface in io.mangoo.interfaces.filters
 
PERSISTENCE_MONGO_AUTH - Enum constant in enum class io.mangoo.enums.Default
 
PERSISTENCE_MONGO_DBNAME - Enum constant in enum class io.mangoo.enums.Default
 
PERSISTENCE_MONGO_EMBEDDED - Enum constant in enum class io.mangoo.enums.Default
 
PERSISTENCE_MONGO_HOST - Enum constant in enum class io.mangoo.enums.Default
 
PERSISTENCE_MONGO_PACKAGE - Enum constant in enum class io.mangoo.enums.Default
 
PERSISTENCE_MONGO_PORT - Enum constant in enum class io.mangoo.enums.Default
 
PERSISTENCE_PREFIX - Enum constant in enum class io.mangoo.enums.Default
 
PLAIN_TEXT - Enum constant in enum class io.mangoo.enums.Required
 
POLICY_CSV - Enum constant in enum class io.mangoo.enums.Default
 
post() - Static method in class io.mangoo.routing.On
Creates a new RequestRoute for an HTTP POST request
POST - Enum constant in enum class io.mangoo.enums.Http
 
PREFIX - Enum constant in enum class io.mangoo.enums.Required
 
PrettyTimeMethod - Class in io.mangoo.templating.methods
 
PrettyTimeMethod(Locale) - Constructor for class io.mangoo.templating.methods.PrettyTimeMethod
 
priority(int) - Method in class io.mangoo.email.Mail
Sets the email priority
PRIORITY - Enum constant in enum class io.mangoo.enums.Required
 
PRIVATE_KEY - Enum constant in enum class io.mangoo.enums.Required
 
process(Mail) - Method in class io.mangoo.email.MailListener
Processes the given mail message and passes it to the underlying SMTP handling
PROD - Enum constant in enum class io.mangoo.enums.Mode
 
PUBLIC_KEY - Enum constant in enum class io.mangoo.enums.Required
 
publish(Object) - Method in class io.mangoo.services.EventBusService
Publishes an event to the event bus
put() - Static method in class io.mangoo.routing.On
Creates a new RequestRoute for an HTTP PUT request
put(String, Object) - Method in interface io.mangoo.cache.Cache
Adds a value to cache with a given key overwriting and existing value
put(String, Object) - Method in class io.mangoo.cache.CacheImpl
 
put(String, String) - Method in class io.mangoo.routing.bindings.Flash
Adds a value with a specific key to the flash overwriting an existing value
put(String, String) - Method in class io.mangoo.routing.bindings.Session
Adds a value to the session, overwriting an existing value
PUT - Enum constant in enum class io.mangoo.enums.Http
 
putAll(Map<String, Object>) - Method in interface io.mangoo.cache.Cache
Adds a complete map of objects to the cache
putAll(Map<String, Object>) - Method in class io.mangoo.cache.CacheImpl
 

Q

query() - Method in interface io.mangoo.persistence.Datastore
 
query() - Method in class io.mangoo.persistence.DatastoreImpl
 

R

randomString(int) - Static method in class io.mangoo.utils.MangooUtils
Generates a random string with the given length.
RANGE_LENGTH - Enum constant in enum class io.mangoo.enums.Validation
 
RANGE_LENGTH_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
RANGE_VALUE - Enum constant in enum class io.mangoo.enums.Validation
 
RANGE_VALUE_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
readableFileSize(long) - Static method in class io.mangoo.utils.MangooUtils
Converts a given file size into a readable file size including unit
REDIRECT_TO - Enum constant in enum class io.mangoo.enums.Required
 
REFERER_POLICY - Enum constant in enum class io.mangoo.enums.Header
 
REGEX - Enum constant in enum class io.mangoo.enums.Validation
 
REGEX_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
register(Object) - Method in class io.mangoo.services.EventBusService
Registers an event listener to the event bus
registerCacheConfiguration(String, CacheConfiguration<String, Object>) - Method in class io.mangoo.cache.CacheProvider
Registers a new cache with custom configuration
reload(Locale) - Method in class io.mangoo.i18n.Messages
Refreshes the resource bundle by reloading the bundle with the default locale
rememberMe() - Method in class io.mangoo.routing.bindings.Authentication
Sets remember me functionality to true, default is false
rememberMe(boolean) - Method in class io.mangoo.routing.bindings.Authentication
Sets remember me functionality, default is false
remove(String) - Method in interface io.mangoo.cache.Cache
Removes a value with a given key from the cache
remove(String) - Method in class io.mangoo.cache.CacheImpl
 
remove(String) - Method in class io.mangoo.routing.bindings.Session
Removes a value with a given key from the session
removeChannels(String) - Method in class io.mangoo.services.WebSocketService
Removes all URI resources for a given URL
removeConnections(String) - Method in class io.mangoo.services.ServerSentEventService
Removes all URI resources for a given URL
renderException(HttpServerExchange, Throwable, boolean) - Method in class io.mangoo.templating.TemplateEngine
 
renderTemplate(TemplateContext) - Method in class io.mangoo.templating.TemplateEngine
 
REPLY_TO - Enum constant in enum class io.mangoo.enums.Required
 
REPLY_TOS - Enum constant in enum class io.mangoo.enums.Required
 
replyTo(String) - Method in class io.mangoo.email.Mail
Sets REPLY-TO address
Request - Class in io.mangoo.routing.bindings
 
Request() - Constructor for class io.mangoo.routing.bindings.Request
 
Request(HttpServerExchange) - Constructor for class io.mangoo.routing.bindings.Request
 
REQUEST - Enum constant in enum class io.mangoo.enums.Binding
 
REQUEST - Enum constant in enum class io.mangoo.enums.CacheName
 
REQUEST_PARAMETER - Enum constant in enum class io.mangoo.enums.Required
 
RequestHandler - Class in io.mangoo.routing.handlers
Main class that handles all controller requests
RequestHandler() - Constructor for class io.mangoo.routing.handlers.RequestHandler
 
RequestRoute - Class in io.mangoo.routing.routes
 
RequestRoute(Http) - Constructor for class io.mangoo.routing.routes.RequestRoute
 
RequestRoute(Http...) - Constructor for class io.mangoo.routing.routes.RequestRoute
 
RequestUtils - Class in io.mangoo.utils
 
Required - Enum Class in io.mangoo.enums
 
REQUIRED - Enum constant in enum class io.mangoo.enums.Validation
 
REQUIRED_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
reset() - Method in class io.mangoo.models.Metrics
 
reset() - Static method in class io.mangoo.routing.Router
Removes all routes from the router
resetCounter(String) - Method in interface io.mangoo.cache.Cache
Resets the counter for a given key
resetCounter(String) - Method in class io.mangoo.cache.CacheImpl
 
resourceExists(String) - Static method in class io.mangoo.utils.MangooUtils
Checks if a resource exists in the classpath
respondeWith(String) - Method in class io.mangoo.routing.routes.RequestRoute
Sets the controller method to response on request
Response - Class in io.mangoo.routing
 
Response() - Constructor for class io.mangoo.routing.Response
 
RESPONSE - Enum constant in enum class io.mangoo.enums.CacheName
 
RESPONSE - Enum constant in enum class io.mangoo.enums.Required
 
ResponseHandler - Class in io.mangoo.routing.handlers
 
ResponseHandler() - Constructor for class io.mangoo.routing.handlers.ResponseHandler
 
ROUTE - Enum constant in enum class io.mangoo.enums.Required
 
RouteMethod - Class in io.mangoo.templating.methods
 
RouteMethod() - Constructor for class io.mangoo.templating.methods.RouteMethod
 
Router - Class in io.mangoo.routing
 
routes() - Method in class io.mangoo.admin.AdminController
 
routesPath() - Method in enum class io.mangoo.enums.Template
 
run() - Method in class io.mangoo.core.Shutdown
 
run() - Method in class io.mangoo.scheduler.CronTask
 
run() - Method in class io.mangoo.scheduler.Task
 
Run - Annotation Interface in io.mangoo.annotations
Scheduler annotation for scheduling jobs

S

SALT - Enum constant in enum class io.mangoo.enums.Required
 
save() - Method in class io.mangoo.persistence.events.SaveEvent
 
save(Object) - Method in interface io.mangoo.persistence.Datastore
Saves a mapped Morphia object to MongoDB
save(Object) - Method in class io.mangoo.persistence.DatastoreImpl
 
saveAsync(Object) - Method in interface io.mangoo.persistence.Datastore
Saves a mapped Morphia object to MongoDB asynchronously
saveAsync(Object) - Method in class io.mangoo.persistence.DatastoreImpl
 
saveEvent(SaveEvent) - Method in class io.mangoo.persistence.DatastoreListener
 
SaveEvent - Class in io.mangoo.persistence.events
 
SaveEvent(Datastore) - Constructor for class io.mangoo.persistence.events.SaveEvent
 
SCHEDULER_ANNOTATION - Enum constant in enum class io.mangoo.enums.Default
 
SCHEDULER_ENABLE - Enum constant in enum class io.mangoo.enums.Default
 
SCHEDULER_ENABLE - Enum constant in enum class io.mangoo.enums.Key
 
SCHEDULER_POOLSIZE - Enum constant in enum class io.mangoo.enums.Key
 
SCHEDULER_POOSLIZE - Enum constant in enum class io.mangoo.enums.Default
 
SECRET - Enum constant in enum class io.mangoo.enums.Required
 
send() - Method in class io.mangoo.email.Mail
Sends the mail
send(String, String) - Method in class io.mangoo.services.ServerSentEventService
Sends data to all connections for a given URI resource
send(String, String, ServerSentEventConnection.EventCallback) - Method in class io.mangoo.services.ServerSentEventService
Sends data to all connections for a given URI and invokes the callback on Success or failure
serializeToBase64(Serializable) - Static method in class io.mangoo.utils.CodecUtils
Serializes an object into a Base64 encoded data string
Server - Class in io.mangoo.core
 
SERVER - Enum constant in enum class io.mangoo.enums.Header
 
serverError() - Method in enum class io.mangoo.enums.Template
 
serverErrorPath() - Method in enum class io.mangoo.enums.Template
 
serverSentEvent() - Static method in class io.mangoo.routing.Bind
Creates a new ServerSentEvent route
ServerSentEventCloseListener - Class in io.mangoo.routing.listeners
 
ServerSentEventHandler - Class in io.mangoo.routing.handlers
 
ServerSentEventHandler() - Constructor for class io.mangoo.routing.handlers.ServerSentEventHandler
 
ServerSentEventRoute - Class in io.mangoo.routing.routes
 
ServerSentEventRoute() - Constructor for class io.mangoo.routing.routes.ServerSentEventRoute
 
ServerSentEventService - Class in io.mangoo.services
 
Session - Class in io.mangoo.routing.bindings
 
Session() - Constructor for class io.mangoo.routing.bindings.Session
 
SESSION - Enum constant in enum class io.mangoo.enums.Binding
 
SESSION_COOKIE_EXPIRES - Enum constant in enum class io.mangoo.enums.Default
 
SESSION_COOKIE_EXPIRES - Enum constant in enum class io.mangoo.enums.Key
 
SESSION_COOKIE_NAME - Enum constant in enum class io.mangoo.enums.Default
 
SESSION_COOKIE_NAME - Enum constant in enum class io.mangoo.enums.Key
 
SESSION_COOKIE_SECRET - Enum constant in enum class io.mangoo.enums.Key
 
SESSION_COOKIE_SECURE - Enum constant in enum class io.mangoo.enums.Default
 
SESSION_COOKIE_SECURE - Enum constant in enum class io.mangoo.enums.Key
 
SESSION_COOKIE_TOKEN_EXPIRES - Enum constant in enum class io.mangoo.enums.Default
 
SESSION_COOKIE_TOKEN_EXPIRES - Enum constant in enum class io.mangoo.enums.Key
 
setAuthentication(Authentication) - Method in class io.mangoo.routing.Attachment
 
setBody(String) - Method in class io.mangoo.routing.Attachment
 
setChannels(String, Set<WebSocketChannel>) - Method in class io.mangoo.services.WebSocketService
Sets the URI resources for a given URL
setConnections(String, Set<ServerSentEventConnection>) - Method in class io.mangoo.services.ServerSentEventService
Sets the URI resources for a given URL
setDiscard(boolean) - Method in class io.mangoo.routing.bindings.Flash
 
setError(String) - Method in class io.mangoo.routing.bindings.Flash
Sets a specific error message available with the key 'error'
setFlash(Flash) - Method in class io.mangoo.routing.Attachment
 
setForm(Form) - Method in class io.mangoo.routing.Attachment
 
setRequest(Request) - Method in class io.mangoo.routing.Attachment
 
setResponse(Response) - Method in class io.mangoo.routing.Attachment
 
setSession(Session) - Method in class io.mangoo.routing.Attachment
 
setSubmitted(boolean) - Method in class io.mangoo.routing.bindings.Form
 
setSuccess(String) - Method in class io.mangoo.routing.bindings.Flash
Sets a specific success message available with the key 'success'
setValues(Map<String, String>) - Method in class io.mangoo.routing.bindings.Validator
 
setWarning(String) - Method in class io.mangoo.routing.bindings.Flash
Sets a specific warning message available with the key 'warning'
Shutdown - Class in io.mangoo.core
 
Shutdown() - Constructor for class io.mangoo.core.Shutdown
 
SMTP_AUTHENTICATION - Enum constant in enum class io.mangoo.enums.Default
 
SMTP_AUTHENTICATION - Enum constant in enum class io.mangoo.enums.Key
 
SMTP_DEBUG - Enum constant in enum class io.mangoo.enums.Default
 
SMTP_DEBUG - Enum constant in enum class io.mangoo.enums.Key
 
SMTP_FROM - Enum constant in enum class io.mangoo.enums.Default
 
SMTP_FROM - Enum constant in enum class io.mangoo.enums.Key
 
SMTP_HOST - Enum constant in enum class io.mangoo.enums.Default
 
SMTP_HOST - Enum constant in enum class io.mangoo.enums.Key
 
SMTP_PASSWORD - Enum constant in enum class io.mangoo.enums.Key
 
SMTP_PORT - Enum constant in enum class io.mangoo.enums.Default
 
SMTP_PORT - Enum constant in enum class io.mangoo.enums.Key
 
SMTP_PROTOCOL - Enum constant in enum class io.mangoo.enums.Default
 
SMTP_PROTOCOL - Enum constant in enum class io.mangoo.enums.Key
 
SMTP_SERVER_NAME - Enum constant in enum class io.mangoo.enums.Default
 
SMTP_USERNAME - Enum constant in enum class io.mangoo.enums.Key
 
Source - Record Class in io.mangoo.models
Base class for holding exception information
Source(boolean, int, String) - Constructor for record class io.mangoo.models.Source
Creates an instance of a Source record class.
SOURCE_PATH - Enum constant in enum class io.mangoo.enums.Required
 
SSE - Enum constant in enum class io.mangoo.enums.CacheName
 
SSE_CACHE_PREFIX - Enum constant in enum class io.mangoo.enums.Default
 
STACK_TRACE_ELEMENT - Enum constant in enum class io.mangoo.enums.Required
 
start(Mode) - Static method in class io.mangoo.core.Application
 
START - Enum constant in enum class io.mangoo.enums.Required
 
stopEmbeddedMongoDB() - Static method in class io.mangoo.core.Application
 
stopEmbeddedMongoDB() - Method in class io.mangoo.core.Module
 
stopUndertow() - Static method in class io.mangoo.core.Application
Stops the underlying undertow server
STRING - Enum constant in enum class io.mangoo.enums.Binding
 
STRING - Enum constant in enum class io.mangoo.enums.Required
 
STYLESHEET_FOLDER - Enum constant in enum class io.mangoo.enums.Default
 
subject(String) - Method in class io.mangoo.email.Mail
Sets message subject with specified encoding to override default platform encoding.
SUBJECT - Enum constant in enum class io.mangoo.enums.Required
 

T

Task - Class in io.mangoo.scheduler
Proxy class for executing scheduled tasks
Task(Class<?>, String) - Constructor for class io.mangoo.scheduler.Task
 
Template - Enum Class in io.mangoo.enums
Default HTML templates for standard HTTP responses
TEMPLATE - Enum constant in enum class io.mangoo.enums.Required
 
TEMPLATE_ENGINE - Enum constant in enum class io.mangoo.enums.Required
 
TEMPLATE_NAME - Enum constant in enum class io.mangoo.enums.Required
 
TemplateContext - Class in io.mangoo.templating
 
TemplateContext() - Constructor for class io.mangoo.templating.TemplateContext
 
TemplateContext(Map<String, Object>) - Constructor for class io.mangoo.templating.TemplateContext
 
TemplateEngine - Class in io.mangoo.templating
 
TemplateEngine() - Constructor for class io.mangoo.templating.TemplateEngine
 
TEMPLATES_FOLDER - Enum constant in enum class io.mangoo.enums.Default
 
TEST - Enum constant in enum class io.mangoo.enums.Mode
 
textMessage(String) - Method in class io.mangoo.email.Mail
Adds plain message text
textMessage(String, Map<String, Object>) - Method in class io.mangoo.email.Mail
Adds plain message text which uses a given template and content to render
time() - Method in class io.mangoo.crypto.totp.TOTP
Returns the time (in milliseconds) used to generate this TOTP.
timeStep() - Method in class io.mangoo.crypto.totp.TOTP
Returns the time step size (in milliseconds) used to generate this TOTP.
timeStep(long) - Method in class io.mangoo.crypto.totp.TOTPBuilder
Returns this TOTPBuilder instance initialized with the specified timeStep size.
to(String) - Method in class io.mangoo.routing.routes.FileRoute
Sets the URL for this route
to(String) - Method in class io.mangoo.routing.routes.PathRoute
Sets the URL for this route
to(String) - Method in class io.mangoo.routing.routes.RequestRoute
Sets the URL for this route
to(String) - Method in class io.mangoo.routing.routes.ServerSentEventRoute
Sets the URL for this route
to(String) - Method in class io.mangoo.routing.routes.WebSocketRoute
Sets the URL for this route
to(String...) - Method in class io.mangoo.email.Mail
Sets one or more TO address
TO - Enum constant in enum class io.mangoo.enums.Required
 
toBoolean() - Method in enum class io.mangoo.enums.Default
 
toHttpString() - Method in enum class io.mangoo.enums.Header
 
toHttpString() - Method in enum class io.mangoo.enums.Http
 
toInt() - Method in enum class io.mangoo.enums.Default
 
toJson(Object) - Static method in class io.mangoo.utils.JsonUtils
Converts a given object to a Json string
toLong() - Method in enum class io.mangoo.enums.Default
 
toObject(Class<?>) - Method in class io.mangoo.routing.bindings.Form
Converts the current form into a given object class
tools() - Method in class io.mangoo.admin.AdminController
 
toolsajax(Request) - Method in class io.mangoo.admin.AdminController
 
toolsPath() - Method in enum class io.mangoo.enums.Template
 
tooManyRequests() - Method in enum class io.mangoo.enums.Template
 
toPrettyJson(Object) - Static method in class io.mangoo.utils.JsonUtils
Converts a given object to a Json string
toProperties() - Method in class io.mangoo.core.Config
Converts config values to standard java properties
TOS - Enum constant in enum class io.mangoo.enums.Required
 
toString() - Method in enum class io.mangoo.enums.Binding
 
toString() - Method in enum class io.mangoo.enums.CacheName
 
toString() - Method in enum class io.mangoo.enums.ClaimKey
 
toString() - Method in enum class io.mangoo.enums.Default
 
toString() - Method in enum class io.mangoo.enums.Header
 
toString() - Method in enum class io.mangoo.enums.HmacShaAlgorithm
 
toString() - Method in enum class io.mangoo.enums.Http
 
toString() - Method in enum class io.mangoo.enums.Key
 
toString() - Method in enum class io.mangoo.enums.Mode
 
toString() - Method in enum class io.mangoo.enums.Required
 
toString() - Method in enum class io.mangoo.enums.Validation
 
toString() - Method in record class io.mangoo.models.Source
Returns a string representation of this record class.
TOTP - Class in io.mangoo.crypto.totp
Class which represents a Time-based One-time Password as per RFC 6238.
TOTP - Enum constant in enum class io.mangoo.enums.Required
 
TOTPBuilder - Class in io.mangoo.crypto.totp
A Time-based One-time Password (TOTP) builder.
TotpUtils - Class in io.mangoo.utils
 
TOTPValidator - Class in io.mangoo.crypto.totp
A Time-based One-time Password (TOTP) validator.
TRUE - Enum constant in enum class io.mangoo.enums.Validation
 
TRUE_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
TWO_FACTOR - Enum constant in enum class io.mangoo.enums.ClaimKey
 
twofactor() - Method in class io.mangoo.admin.AdminController
 
twoFactorAuthentication(boolean) - Method in class io.mangoo.routing.bindings.Authentication
Sets the requirement of the two-factor authentication, default is false
twofactorPath() - Method in enum class io.mangoo.enums.Template
 

U

unauthorized() - Method in enum class io.mangoo.enums.Template
 
unauthorizedPath() - Method in enum class io.mangoo.enums.Template
 
UNDEFINED - Enum constant in enum class io.mangoo.enums.Binding
 
UNDERTOW_MAX_ENTITY_SIZE - Enum constant in enum class io.mangoo.enums.Default
 
UNDERTOW_MAX_ENTITY_SIZE - Enum constant in enum class io.mangoo.enums.Key
 
UNIT - Enum constant in enum class io.mangoo.enums.Required
 
unregister(Object) - Method in class io.mangoo.services.EventBusService
Unregisters an event listener to the event bus
update(int) - Method in class io.mangoo.models.Metrics
 
URI - Enum constant in enum class io.mangoo.enums.Required
 
URI_CONNECTIONS - Enum constant in enum class io.mangoo.enums.Required
 
URL - Enum constant in enum class io.mangoo.enums.Required
 
URL - Enum constant in enum class io.mangoo.enums.Validation
 
URL_KEY - Enum constant in enum class io.mangoo.enums.Validation
 
userHasLock(String) - Method in class io.mangoo.routing.bindings.Authentication
Checks if a username is locked because of to many failed login attempts
USERNAME - Enum constant in enum class io.mangoo.enums.Required
 

V

Validation - Enum Class in io.mangoo.enums
Default validation messages
Validator - Class in io.mangoo.routing.bindings
 
Validator() - Constructor for class io.mangoo.routing.bindings.Validator
 
validLogin(String, String, String, String) - Method in class io.mangoo.routing.bindings.Authentication
Creates a hashed value of a given clear text password and checks if the value matches a given, already hashed password
validSecondFactor(String, String) - Method in class io.mangoo.routing.bindings.Authentication
Checks if a given number for 2FA is valid for the given secret
value() - Element in annotation interface io.mangoo.annotations.FilterWith
 
value() - Method in class io.mangoo.crypto.totp.TOTP
Returns the time-based one time password value.
VALUE - Enum constant in enum class io.mangoo.enums.Required
 
valueOf(String) - Static method in enum class io.mangoo.enums.Binding
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.mangoo.enums.CacheName
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.mangoo.enums.ClaimKey
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.mangoo.enums.Default
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.mangoo.enums.Header
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.mangoo.enums.HmacShaAlgorithm
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.mangoo.enums.Http
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.mangoo.enums.Key
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.mangoo.enums.Mode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.mangoo.enums.Required
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.mangoo.enums.Template
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.mangoo.enums.Validation
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.mangoo.enums.Binding
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.mangoo.enums.CacheName
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.mangoo.enums.ClaimKey
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.mangoo.enums.Default
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.mangoo.enums.Header
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.mangoo.enums.HmacShaAlgorithm
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.mangoo.enums.Http
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.mangoo.enums.Key
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.mangoo.enums.Mode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.mangoo.enums.Required
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.mangoo.enums.Template
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.mangoo.enums.Validation
Returns an array containing the constants of this enum class, in the order they are declared.
VALUES - Enum constant in enum class io.mangoo.enums.Required
 
verifiedTotp(String, String) - Static method in class io.mangoo.utils.TotpUtils
Verifies a given TOTP based on the following default values: SHA512 algorithm, 6 digits, 30 seconds time period
verify(Form) - Method in class io.mangoo.admin.AdminController
 
verify(Account) - Method in class io.mangoo.models.Identity
 
verify(Credential) - Method in class io.mangoo.models.Identity
 
verify(String, Credential) - Method in class io.mangoo.models.Identity
 
VERSION_PROPERTIES - Enum constant in enum class io.mangoo.enums.Default
 
VERSION_UNKNOW - Enum constant in enum class io.mangoo.enums.Default
 

W

webSocket() - Static method in class io.mangoo.routing.Bind
Creates a new WebSocket route
WebSocketCloseListener - Class in io.mangoo.routing.listeners
 
WebSocketHandler - Class in io.mangoo.routing.handlers
 
WebSocketHandler() - Constructor for class io.mangoo.routing.handlers.WebSocketHandler
 
WebSocketRoute - Class in io.mangoo.routing.routes
 
WebSocketRoute() - Constructor for class io.mangoo.routing.routes.WebSocketRoute
 
WebSocketService - Class in io.mangoo.services
 
window(int) - Static method in class io.mangoo.crypto.totp.TOTPValidator
Returns a new TOTPValidator instance initialized with the specified window verification size.
withAuthentication() - Method in class io.mangoo.routing.routes.ControllerRoute
Sets authentication to true for all provided routes, default is false
withAuthentication() - Method in class io.mangoo.routing.routes.RequestRoute
Sets authentication to true for this route, default is false
withAuthentication() - Method in class io.mangoo.routing.routes.ServerSentEventRoute
Sets authentication to true, default is false
withAuthentication() - Method in class io.mangoo.routing.routes.WebSocketRoute
Sets authentication to true, default is false
withAuthentication(boolean) - Method in class io.mangoo.routing.Attachment
 
withAuthentication(boolean) - Method in class io.mangoo.routing.handlers.DispatcherHandler
 
withAuthentication(boolean) - Method in class io.mangoo.routing.handlers.ServerSentEventHandler
 
withAuthentication(boolean) - Method in class io.mangoo.routing.handlers.WebSocketHandler
 
withAuthentication(Authentication) - Method in class io.mangoo.routing.bindings.Request
 
withAuthorization() - Method in class io.mangoo.routing.routes.ControllerRoute
Sets authentication to true for all provided routes, default is false Also sets authentication to true, default is false
withBadRequest() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 400
withBasicAuthentication(String, String) - Method in class io.mangoo.routing.Attachment
 
withBasicAuthentication(String, String) - Method in class io.mangoo.routing.handlers.DispatcherHandler
 
withBasicAuthentication(String, String) - Method in class io.mangoo.routing.routes.ControllerRoute
Sets Basic HTTP authentication to all method on the given controller class
withBasicAuthentication(String, String) - Method in class io.mangoo.routing.routes.RequestRoute
Sets HTTP Basic authentication to this request on the defined controller class
withBody(String) - Method in class io.mangoo.routing.bindings.Request
 
withClassAnnotations(Collection<Annotation>) - Method in class io.mangoo.routing.Attachment
 
withContent(Map<String, String>) - Method in class io.mangoo.routing.bindings.Flash
 
withContent(Map<String, String>) - Method in class io.mangoo.routing.bindings.Session
 
withController(String) - Method in class io.mangoo.templating.TemplateContext
 
withControllerClass(Class<?>) - Method in class io.mangoo.routing.Attachment
 
withControllerClass(Class<?>) - Method in class io.mangoo.routing.handlers.WebSocketHandler
 
withControllerClass(Class<?>) - Method in class io.mangoo.routing.routes.RequestRoute
Sets the controller class of this request
withControllerClassName(String) - Method in class io.mangoo.routing.Attachment
 
withControllerInstance(Object) - Method in class io.mangoo.routing.Attachment
 
withControllerMethodName(String) - Method in class io.mangoo.routing.Attachment
 
withCreated() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 201
withExpires(LocalDateTime) - Method in class io.mangoo.routing.bindings.Authentication
 
withExpires(LocalDateTime) - Method in class io.mangoo.routing.bindings.Session
 
withFlash(Flash) - Method in class io.mangoo.templating.TemplateContext
 
withForbidden() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 401
withForm(Form) - Method in class io.mangoo.templating.TemplateContext
 
withHttpMethod(Http) - Method in class io.mangoo.routing.routes.RequestRoute
Sets the HTTP method of this request
withInternalServerError() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 500
withLimit(int) - Method in class io.mangoo.routing.Attachment
 
withLimit(int) - Method in class io.mangoo.routing.handlers.DispatcherHandler
 
withLocale(Locale) - Method in class io.mangoo.routing.Attachment
 
withMaxEntitySize(long) - Method in class io.mangoo.routing.handlers.DispatcherHandler
 
withMaxPostSize(long) - Method in class io.mangoo.routing.routes.RequestRoute
Sets the max size of a body entity
withMessages(Messages) - Method in class io.mangoo.routing.Attachment
 
withMessages(Messages) - Method in class io.mangoo.templating.TemplateContext
 
withMethod(Method) - Method in class io.mangoo.routing.Attachment
 
withMethodAnnotations(Collection<Annotation>) - Method in class io.mangoo.routing.Attachment
 
withMethodParameterCount(int) - Method in class io.mangoo.routing.Attachment
 
withMethodParameters(Map<String, Class<?>>) - Method in class io.mangoo.routing.Attachment
 
withNonBlocking() - Method in class io.mangoo.routing.routes.ControllerRoute
Configures this request as long-running request that is executed in a different thread pool to not block the non-blocking I/O request
withNonBlocking() - Method in class io.mangoo.routing.routes.RequestRoute
Configures this request as long-running request that is executed in a different thread pool to not block the non-blocking I/O request
withNotFound() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 404
withObject(Object) - Method in class io.mangoo.persistence.events.DeleteEvent
 
withObject(Object) - Method in class io.mangoo.persistence.events.SaveEvent
 
withOk() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 200
withParameter(Map<String, String>) - Method in class io.mangoo.routing.bindings.Request
 
withPrettyTime(Locale) - Method in class io.mangoo.templating.TemplateContext
 
withRedirect(String) - Static method in class io.mangoo.routing.Response
Creates a response object with a given url to redirect to
withRequestFilter(boolean) - Method in class io.mangoo.routing.Attachment
 
withRequestParameter(Map<String, String>) - Method in class io.mangoo.routing.Attachment
 
withResponse(Response) - Method in class io.mangoo.routing.handlers.BinaryHandler
 
withRoutes(MangooRoute...) - Method in class io.mangoo.routing.routes.ControllerRoute
Sets the given routes to the defined controller class
withSession(Session) - Method in class io.mangoo.routing.bindings.Request
 
withSession(Session) - Method in class io.mangoo.templating.TemplateContext
 
withStatusCode(int) - Static method in class io.mangoo.routing.Response
Creates a response object with a given HTTP status code
withSubject(String) - Method in class io.mangoo.routing.bindings.Authentication
 
withTemplateEngine(TemplateEngine) - Method in class io.mangoo.routing.Attachment
 
withTemplatePath(String) - Method in class io.mangoo.templating.TemplateContext
 
withUnauthorized() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 403
wrapBasicAuthentication(HttpHandler, String, String) - Static method in class io.mangoo.utils.RequestUtils
Adds a Wrapper to the handler when the request requires authentication
WSS - Enum constant in enum class io.mangoo.enums.CacheName
 
WSS_CACHE_PREFIX - Enum constant in enum class io.mangoo.enums.Default
 

X

X_CONTENT_TYPE_OPTIONS - Enum constant in enum class io.mangoo.enums.Header
 
X_FORWARDED_FOR - Enum constant in enum class io.mangoo.enums.Header
 
X_FRAME_OPTIONS - Enum constant in enum class io.mangoo.enums.Header
 
X_XSS_PROTECTION - Enum constant in enum class io.mangoo.enums.Header
 
A B C D E F G H I J K L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form