Skip navigation links
svenkubiak, 3.6.0
A B C D E F G H I J K L M N O P R S T U V W 

A

add(String, String) - Method in class io.mangoo.routing.bindings.Validator
 
addChannel(WebSocketChannel) - Method in class io.mangoo.managers.WebSocketManager
Adds a new channel to the manager
addConnection(ServerSentEventConnection) - Method in class io.mangoo.managers.ServerEventManager
Adds a new connection to the manager
addFile(File) - Method in class io.mangoo.routing.bindings.Form
 
addRoute(Route) - Static method in class io.mangoo.routing.Router
Adds a new route to the router
addValue(String, String) - Method in class io.mangoo.routing.bindings.Form
 
AdminController - Class in io.mangoo.admin
Controller class for administrative URLs
AdminController(Scheduler) - Constructor for class io.mangoo.admin.AdminController
 
AdminFilter - Class in io.mangoo.admin
Authentication filter for administrative URLs
AdminFilter() - Constructor for class io.mangoo.admin.AdminFilter
 
adminPath() - Method in enum io.mangoo.enums.Template
 
allowBlocking(boolean) - Method in class io.mangoo.routing.Route
 
andBinaryContent(byte[]) - Method in class io.mangoo.routing.Response
Sends binary content to the client skipping rendering
andBinaryFile(File) - 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 an additional 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 an additional 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
andEtag() - Method in class io.mangoo.routing.Response
Adds an ETag header to the response by hashing (MD5) the response body.
andHeader(HttpString, String) - Method in class io.mangoo.routing.Response
Adds an additional header to the request response.
andHeaders(Map<HttpString, String>) - Method in class io.mangoo.routing.Response
Adds an additional 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.
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.
Application - Class in io.mangoo.core
Main class that starts all components of a mangoo I/O application
applicationInitialized() - Method in class io.mangoo.core.Bootstrap
 
applicationInitialized() - Method in interface io.mangoo.interfaces.MangooLifecycle
Executed after config is loaded and injector is initialized
applicationStarted() - Method in class io.mangoo.core.Bootstrap
 
applicationStarted() - Method in interface io.mangoo.interfaces.MangooLifecycle
Executed after the application is completely started
Attachment - Class in io.mangoo.routing
 
Attachment() - Constructor for class io.mangoo.routing.Attachment
 
ATTACHMENT_KEY - Static variable in class io.mangoo.utils.RequestUtils
 
authenticate(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
Authentication - Class in io.mangoo.routing.bindings
Convenient class for handling authentication
Authentication() - Constructor for class io.mangoo.routing.bindings.Authentication
 
Authentication(LocalDateTime, String) - Constructor for class io.mangoo.routing.bindings.Authentication
 
AuthenticationFilter - Class in io.mangoo.filters
Filter for intercepting user authentication
AuthenticationFilter() - Constructor for class io.mangoo.filters.AuthenticationFilter
 
AuthenticityFilter - Class in io.mangoo.filters
Filter that checks the authenticity token
AuthenticityFilter() - Constructor for class io.mangoo.filters.AuthenticityFilter
 
AuthenticityFormDirective - Class in io.mangoo.templating.freemarker.directives
 
AuthenticityFormDirective(Session) - Constructor for class io.mangoo.templating.freemarker.directives.AuthenticityFormDirective
 
authenticityMatches() - Method in class io.mangoo.routing.bindings.Request
Checks if the session bound authenticity token matches the client sent authenticity token
AuthenticityTag - Class in io.mangoo.templating.pebble.tags
 
AuthenticityTag(Session) - Constructor for class io.mangoo.templating.pebble.tags.AuthenticityTag
 
AuthenticityTokenDirective - Class in io.mangoo.templating.freemarker.directives
 
AuthenticityTokenDirective(Session) - Constructor for class io.mangoo.templating.freemarker.directives.AuthenticityTokenDirective
 

B

badRequest() - Method in enum io.mangoo.enums.Template
 
badRequestPath() - Method in enum io.mangoo.enums.Template
 
BasicAuthenticationFilter - Class in io.mangoo.filters
Filter for basic HTTP authentication
BasicAuthenticationFilter() - Constructor for class io.mangoo.filters.BasicAuthenticationFilter
 
BinaryHandler - Class in io.mangoo.routing.handlers
 
BinaryHandler(Response) - Constructor for class io.mangoo.routing.handlers.BinaryHandler
 
Binding - Enum in io.mangoo.enums
 
Bootstrap - Class in io.mangoo.core
Convenient methods for everything to start up a mangoo I/O application
Bootstrap() - Constructor for class io.mangoo.core.Bootstrap
 
BootstrapUtils - Class in io.mangoo.utils
 
build() - Static method in class io.mangoo.routing.Attachment
 
build() - Method in class io.mangoo.utils.CookieBuilder
 

C

cache() - Method in class io.mangoo.admin.AdminController
 
Cache - Interface in io.mangoo.cache
 
cachePath() - Method in enum io.mangoo.enums.Template
 
CacheProvider - Class in io.mangoo.providers
 
CacheProvider(Injector) - Constructor for class io.mangoo.providers.CacheProvider
 
changeState(String) - Method in class io.mangoo.scheduler.Scheduler
Changes the state of a normally running job from pause to resume or resume to pause
clear() - Method in interface io.mangoo.cache.Cache
Clears the complete cache by invalidating all entries
clear() - Method in class io.mangoo.cache.GuavaCache
 
clear() - Method in class io.mangoo.cache.HazlecastCache
 
clear() - Method in class io.mangoo.routing.bindings.Session
Clears the complete session
close(String) - Method in class io.mangoo.managers.ServerEventManager
Closes all connections for a given URI resource
close(String) - Method in class io.mangoo.managers.WebSocketManager
Closes all connections for a given URI resource
closeTemplateSource(Object) - Method in class io.mangoo.templating.freemarker.TemplateEngineLoader
 
Config - Class in io.mangoo.configuration
Main configuration class for all properties configured in application.yaml
Config() - Constructor for class io.mangoo.configuration.Config
 
Config(String, Mode) - Constructor for class io.mangoo.configuration.Config
 
connected(ServerSentEventConnection, String) - Method in class io.mangoo.routing.handlers.ServerSentEventHandler
 
ContentType - Enum in io.mangoo.enums
Content types for browser negotiation
CookieBuilder - Class in io.mangoo.utils
 
CookieBuilder() - Constructor for class io.mangoo.utils.CookieBuilder
 
CookieParser - Class in io.mangoo.utils
 
CookieParser(String, String, boolean) - Constructor for class io.mangoo.utils.CookieParser
 
create() - Static method in class io.mangoo.utils.CookieBuilder
 
create(HttpServerExchange, String, String, boolean) - Static method in class io.mangoo.utils.CookieParser
 
createJobDetail(String, String, Class<? extends Job>) - Static method in class io.mangoo.utils.SchedulerUtils
Creates a new quartz scheduler JobDetail, which can be used to schedule a new job by passing it into schedule
createOAuthService(OAuthProvider) - Static method in class io.mangoo.utils.RequestUtils
Creates an OAuthService for authentication a user with OAuth
createTrigger(String, String, String, String) - Static method in class io.mangoo.utils.SchedulerUtils
Creates a new quartz scheduler Trigger, which can be used to schedule a new job by passing it into schedule
Crypto - Class in io.mangoo.crypto
Convenient class for encryption and decryption
Crypto() - Constructor for class io.mangoo.crypto.Crypto
 

D

decrypt() - Method in class io.mangoo.configuration.Config
Decrypts all encrypted config value
decrypt(String) - Method in class io.mangoo.crypto.Crypto
Decrypts an given encrypted text using the application secret property (application.secret) as key
decrypt(String, String) - Method in class io.mangoo.crypto.Crypto
Decrypts an given encrypted text using the given key
Default - Enum in io.mangoo.enums
Default application values
discard(boolean) - Method in class io.mangoo.utils.CookieBuilder
Sets discarding of the cookie Default is false
DispatcherHandler - Class in io.mangoo.routing.handlers
Main class for dispatching a request to the request chain.
DispatcherHandler(Class<?>, String, boolean, boolean) - Constructor for class io.mangoo.routing.handlers.DispatcherHandler
 
domain(String) - Method in class io.mangoo.utils.CookieBuilder
Sets the domain of the cookie Default is null

E

email(String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid email address
email(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid email address
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 128/192/256 bit depending on the size of the application.secret property length (16/24/32 characters)
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 128/192/256 bit depending on the size of the application.secret property length (16/24/32 characters)
end() - 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.
ErrorMessage - Enum in io.mangoo.enums
Error messages
ESCAPE_PREFIX - Static variable in class io.mangoo.templating.freemarker.TemplateEngineLoader
 
ESCAPE_SUFFIX - Static variable in class io.mangoo.templating.freemarker.TemplateEngineLoader
 
exactMatch(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates to fields to exactly (case-sensitive) match
exactMatch(String, String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates to fields to exactly (case-sensitive) match
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.freemarker.methods.I18nMethod
 
execute(String) - Method in class io.mangoo.admin.AdminController
 
execute(Request, Response) - Method in class io.mangoo.admin.AdminFilter
 
execute(Request, Response) - Method in class io.mangoo.filters.AuthenticationFilter
 
execute(Request, Response) - Method in class io.mangoo.filters.AuthenticityFilter
 
execute(Request, Response) - Method in class io.mangoo.filters.BasicAuthenticationFilter
 
execute(Request, Response) - Method in class io.mangoo.filters.JsonWebTokenFilter
 
execute(Request, Response) - Method in class io.mangoo.filters.oauth.OAuthCallbackFilter
 
execute(Request, Response) - Method in class io.mangoo.filters.oauth.OAuthLoginFilter
 
execute(Request, Response) - Method in interface io.mangoo.interfaces.MangooFilter
 
execute(Request, Response) - Method in interface io.mangoo.interfaces.MangooRequestFilter
 
execute(Runnable) - Method in class io.mangoo.managers.ExecutionManager
Executes the given command at some time in the future.
execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class io.mangoo.templating.freemarker.directives.AuthenticityFormDirective
 
execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class io.mangoo.templating.freemarker.directives.AuthenticityTokenDirective
 
executeJob(String) - Method in class io.mangoo.scheduler.Scheduler
Executes a single Quartz Scheduler job right away only once
ExecutionManager - Class in io.mangoo.managers
 
ExecutionManager() - Constructor for class io.mangoo.managers.ExecutionManager
 
expires(LocalDateTime) - Method in class io.mangoo.utils.CookieBuilder
Sets the date when the cookie expires Default is now plus 1 day

F

FallbackHandler - Class in io.mangoo.routing.handlers
 
FallbackHandler() - Constructor for class io.mangoo.routing.handlers.FallbackHandler
 
FilterWith - Annotation Type in io.mangoo.annotations
Filter annotation for request and controller filter
findTemplateSource(String) - Method in class io.mangoo.templating.freemarker.TemplateEngineLoader
 
Flash - Class in io.mangoo.routing.bindings
 
Flash() - Constructor for class io.mangoo.routing.bindings.Flash
 
Flash(Map<String, String>) - Constructor for class io.mangoo.routing.bindings.Flash
 
forbidden() - Method in enum io.mangoo.enums.Template
 
forbiddenPath() - Method in enum io.mangoo.enums.Template
 
Form - Class in io.mangoo.routing.bindings
 
Form(Validator) - Constructor for class io.mangoo.routing.bindings.Form
 
form() - Method in class io.mangoo.templating.pebble.tags.AuthenticityTag
 
FormHandler - Class in io.mangoo.routing.handlers
 
FormHandler() - Constructor for class io.mangoo.routing.handlers.FormHandler
 
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
fromJson(String, Class<C>, Class<T>) - Static method in class io.mangoo.utils.JsonUtils
Converts a given Json string to a collection of a given Class
fromString(String) - Static method in enum io.mangoo.enums.Binding
 

G

generateBase32Secret() - Static method in class io.mangoo.utils.TwoFactorUtils
Deprecated.
As of release 3.2.0, will be removed in 4.0.0
generateBase32Secret(int) - Static method in class io.mangoo.utils.TwoFactorUtils
Deprecated.
As of release 3.2.0, will be removed in 4.0.0
generateCurrentNumber(String) - Static method in class io.mangoo.utils.TwoFactorUtils
Return the current number to be checked against the user input, using the time found in System.currentTimeMillis() WARNING: This requires a system clock that is in sync with the world.
generateCurrentNumber(String, long) - Static method in class io.mangoo.utils.TwoFactorUtils
Same as TwoFactorUtils.getNumber(String) except at a particular time in milliseconds
generateQRCode(String, String) - Static method in class io.mangoo.utils.TwoFactorUtils
Return the QR image URL from Google Charts API.
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.GuavaCache
 
get(String) - Method in class io.mangoo.cache.HazlecastCache
 
get(String) - Method in class io.mangoo.i18n.Messages
Returns a localized value for a given key stored in messages_xx.properties
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(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() - Method in class io.mangoo.providers.CacheProvider
 
get() - Method in class io.mangoo.providers.TemplateEngineProvider
 
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.Form
Retrieves a form value corresponding to the name of the form element
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
 
getAcceptLanguage() - Method in class io.mangoo.routing.bindings.Request
Retrieves a the clients accepted languages
getAdminAuthenticationPassword() - Method in class io.mangoo.configuration.Config
 
getAdminAuthenticationUser() - Method in class io.mangoo.configuration.Config
 
getAll() - Method in interface io.mangoo.cache.Cache
 
getAll() - Method in class io.mangoo.cache.GuavaCache
 
getAll() - Method in class io.mangoo.cache.HazlecastCache
 
getAllConfigurations() - Method in class io.mangoo.configuration.Config
 
getAllJobKeys() - Method in class io.mangoo.scheduler.Scheduler
Retrieves a list of all JobKeys from the Quartz Scheduler
getAllJobs() - Method in class io.mangoo.scheduler.Scheduler
Retrieves a list of all jobs and their current status
getApplicationHost() - Method in class io.mangoo.configuration.Config
 
getApplicationLanguage() - Method in class io.mangoo.configuration.Config
 
getApplicationName() - Method in class io.mangoo.configuration.Config
 
getApplicationPort() - Method in class io.mangoo.configuration.Config
 
getApplicationSecret() - Method in class io.mangoo.configuration.Config
 
getAssetsPath() - Method in class io.mangoo.configuration.Config
 
getAuthCookieVersion() - Method in class io.mangoo.configuration.Config
 
getAuthenticatedUser() - Method in class io.mangoo.routing.bindings.Authentication
Retrieves the current authenticated user
getAuthenticatedUser() - Method in class io.mangoo.utils.CookieParser
 
getAuthentication() - Method in class io.mangoo.routing.Attachment
 
getAuthentication() - Method in class io.mangoo.routing.bindings.Request
 
getAuthenticationCookieName() - Method in class io.mangoo.configuration.Config
 
getAuthenticationExpires() - Method in class io.mangoo.configuration.Config
 
getAuthenticationRememberExpires() - Method in class io.mangoo.configuration.Config
 
getAuthenticityToken() - Method in class io.mangoo.routing.bindings.Session
 
getAuthenticityToken() - Method in class io.mangoo.utils.CookieParser
 
getAvgRequestTime() - Method in class io.mangoo.models.Metrics
 
getBaseDirectory() - Static method in class io.mangoo.core.Application
 
getBaseDirectory() - Static method in class io.mangoo.utils.BootstrapUtils
 
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(String) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key
getBoolean(String, boolean) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key
getBoolean(Key) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key constant (e.g.
getBoolean(Key, boolean) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key constant (e.g.
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
getCacheAddresses() - Method in class io.mangoo.configuration.Config
 
getCacheClass() - Method in class io.mangoo.configuration.Config
 
getChannels(String) - Method in class io.mangoo.managers.WebSocketManager
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
 
getConfig() - Static method in class io.mangoo.core.Application
 
getConnections(String) - Method in class io.mangoo.managers.ServerEventManager
Retrieves all connection resources under a given URL
getContent() - Method in class io.mangoo.models.Source
 
getContent() - Method in class io.mangoo.routing.Response
 
getContentLength() - Method in class io.mangoo.routing.bindings.Request
 
getContentType() - Method in class io.mangoo.routing.Response
 
getControllerClass() - Method in class io.mangoo.routing.Attachment
 
getControllerClass() - Method in class io.mangoo.routing.Route
 
getControllerClassName() - Method in class io.mangoo.routing.Attachment
 
getControllerInstance() - Method in class io.mangoo.routing.Attachment
 
getControllerMethod() - Method in class io.mangoo.routing.Route
 
getControllerMethodName() - Method in class io.mangoo.routing.Attachment
 
getControllerPackage() - Method in class io.mangoo.configuration.Config
 
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
 
getCookieVersion() - Method in class io.mangoo.configuration.Config
 
getCrypto() - Method in class io.mangoo.routing.Attachment
 
getDescription() - Method in class io.mangoo.models.Job
 
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 interface io.mangoo.interfaces.MangooValidator
Returns the errors message of specific field
getError(String) - Method in class io.mangoo.routing.bindings.Form
 
getError(String) - Method in class io.mangoo.routing.bindings.Request
 
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
 
getExecutionPool() - Method in class io.mangoo.configuration.Config
 
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
 
getExpiresDate() - Method in class io.mangoo.utils.CookieParser
 
getFile() - Method in class io.mangoo.routing.bindings.Form
Retrieves a single file of the form.
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.configuration.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
 
getGreenMail() - Method in class io.mangoo.email.Smtp
 
getHashedPassword(String) - Method in class io.mangoo.routing.bindings.Authentication
Hashes a given clear text password using JBCrypt
getHeader(HttpString) - 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.configuration.Config
 
getId() - Method in class io.mangoo.models.OAuthUser
 
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 an Goolge Guice injected class by calling injector.getInstance(...)
getInt(String) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key
getInt(String, int) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key
getInt(Key) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key constant (e.g.
getInt(Key, int) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key constant (e.g.
getInteger(String) - Method in class io.mangoo.routing.bindings.Form
Retrieves an optional integer value corresponding to the name of the form element
getInternalCache() - Static method in class io.mangoo.core.Application
 
getInternalTemplateEngine() - Static method in class io.mangoo.core.Application
 
getJsonWebToken() - Method in class io.mangoo.routing.bindings.Request
 
getJwtsEncryptionKey() - Method in class io.mangoo.configuration.Config
 
getJwtsSignKey() - Method in class io.mangoo.configuration.Config
 
getLastModified(Object) - Method in class io.mangoo.templating.freemarker.TemplateEngineLoader
 
getLine() - Method in class io.mangoo.models.Source
 
getLogo() - Static method in class io.mangoo.utils.BootstrapUtils
Retrieves the logo from the logo file and returns the string
getLong(String) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key
getLong(String, long) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key
getLong(Key) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key constant (e.g.
getLong(Key, long) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key constant (e.g.
getMasterKey() - Method in class io.mangoo.configuration.Config
 
getMaxRequestTime() - Method in class io.mangoo.models.Metrics
 
getMessages() - Method in class io.mangoo.routing.Attachment
 
getMethod() - Method in class io.mangoo.routing.Attachment
 
getMethod() - Method in class io.mangoo.routing.bindings.Request
Get the HTTP request method.
getMethodParameters() - Method in class io.mangoo.routing.Attachment
 
getMethodParametersCount() - Method in class io.mangoo.routing.Attachment
 
getMetrics() - Method in class io.mangoo.models.Metrics
 
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
getName() - Method in class io.mangoo.models.Job
 
getNextFireTime() - Method in class io.mangoo.models.Job
 
getNumber(String) - Static method in class io.mangoo.utils.TwoFactorUtils
Deprecated.
As of release 3.2.0, will be removed in 4.0.0 WARNING: This requires a system clock that is in sync with the world. For more details of this magic algorithm, see: http://en.wikipedia.org/wiki/Time-based_One-time_Password_Algorithm
getOAuthProvider(String) - Static method in class io.mangoo.utils.RequestUtils
Returns an OAuthProvider based on a given string
getOAuthResponse() - Method in class io.mangoo.models.OAuthUser
 
getOAuthUser() - Method in class io.mangoo.routing.bindings.Authentication
Retrieves the current OAuthUser from the authentication Note: This is only available during a OAuth authentication in a method that is annotated with @OAuthCallbackFilter
getPackageName(String) - Static method in class io.mangoo.utils.BootstrapUtils
Checks that a given package name ends with an .
getParameter(String) - Method in class io.mangoo.routing.bindings.Request
Retrieves a request parameter (request or query parameter) by its name
getParameter() - Method in class io.mangoo.routing.bindings.Request
Retrieves a map of request parameter (request or query parameter)
getPath() - Method in class io.mangoo.routing.bindings.Request
The request path.
getPicture() - Method in class io.mangoo.models.OAuthUser
 
getPreviousFireTime() - Method in class io.mangoo.models.Job
 
getQRCode(String, String) - Static method in class io.mangoo.utils.TwoFactorUtils
Deprecated.
As of release 3.2.0, replaced by TwoFactorUtils.generateQRCode(String, String) This can be shown to the user and scanned by the authenticator program as an easy way to enter the secret
getQuartzScheduler() - Method in class io.mangoo.scheduler.Scheduler
Returns the current quartz scheduler instance
getReader(Object, String) - Method in class io.mangoo.templating.freemarker.TemplateEngineLoader
 
getRedirectTo() - Method in class io.mangoo.routing.Response
 
getRequest() - Method in class io.mangoo.routing.Attachment
 
getRequestMethod() - Method in class io.mangoo.routing.Route
 
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
getResponse() - Method in class io.mangoo.routing.Attachment
 
getResponseTime() - Method in class io.mangoo.routing.Attachment
 
getRoutes() - Static method in class io.mangoo.routing.Router
 
getRouteType() - Method in class io.mangoo.routing.Route
 
getRouteType(String) - Static method in class io.mangoo.utils.BootstrapUtils
Retrieves a RouteType enum based on a given method string
getScheduler() - Method in class io.mangoo.scheduler.Scheduler
Deprecated.
As of release 3.1.0, replaced by Scheduler.getQuartzScheduler()
getSchedulerPackage() - Method in class io.mangoo.configuration.Config
 
getScheme() - Method in class io.mangoo.routing.bindings.Request
Get the request URI scheme.
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.configuration.Config
 
getSessionExpires() - Method in class io.mangoo.configuration.Config
 
getSessionValues() - Method in class io.mangoo.utils.CookieParser
 
getSmtpFrom() - Method in class io.mangoo.configuration.Config
 
getSmtpHost() - Method in class io.mangoo.configuration.Config
 
getSmtpPassword() - Method in class io.mangoo.configuration.Config
 
getSmtpPort() - Method in class io.mangoo.configuration.Config
 
getSmtpUsername() - Method in class io.mangoo.configuration.Config
 
getSourceCodePath(StackTraceElement) - Static method in class io.mangoo.utils.ThrowableUtils
Retrieves the source code file name from an StrackTraceElement
getSources(int, String) - Static method in class io.mangoo.utils.ThrowableUtils
Retrieves the lines of code where an exception occurred
getStart() - Static method in class io.mangoo.core.Application
 
getStart() - Method in class io.mangoo.core.Bootstrap
 
getStats() - Method in interface io.mangoo.cache.Cache
Retrieves the cache statistics
getStats() - Method in class io.mangoo.cache.GuavaCache
 
getStats() - Method in class io.mangoo.cache.HazlecastCache
 
getStatusCode() - Method in class io.mangoo.routing.Response
 
getString(String) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key
getString(String, String) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key
getString(Key) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key constant (e.g.
getString(Key, String) - Method in class io.mangoo.configuration.Config
Retrieves a configuration value with the given key constant (e.g.
getString(String) - Method in class io.mangoo.routing.bindings.Form
Retrieves an optional string value corresponding to the name of the form element
getTemplate() - Method in class io.mangoo.email.Mail
 
getTemplate() - Method in class io.mangoo.routing.Response
 
getTemplateEngine() - Method in class io.mangoo.routing.Attachment
 
getTemplateEngineClass() - Method in class io.mangoo.configuration.Config
 
getTemplateName(String) - Method in class io.mangoo.templating.freemarker.TemplateEngineFreemarker
 
getTemplateName(String) - Method in class io.mangoo.templating.pebble.TemplateEnginePebble
 
getTemplateName(String) - Method in interface io.mangoo.templating.TemplateEngine
Checks if a given template name has the current suffix and sets is if it does not exist
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 class io.mangoo.routing.bindings.Request
Reconstructs the complete URL as seen by the user.
getUrl() - Method in class io.mangoo.routing.Route
 
getUsername() - Method in class io.mangoo.models.OAuthUser
 
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.BootstrapUtils
Retrieves the current version of the framework from the version.properties file
getWebSocketURL(WebSocketChannel) - Static method in class io.mangoo.utils.RequestUtils
Retrieves the URL of a WebSocketChannel
GuavaCache - Class in io.mangoo.cache
 
GuavaCache() - Constructor for class io.mangoo.cache.GuavaCache
 

H

handleEvent(ServerSentEventConnection) - Method in class io.mangoo.routing.listeners.ServerSentEventCloseListener
 
handleEvent(WebSocketChannel) - Method in class io.mangoo.routing.listeners.WebSocketCloseListener
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.BinaryHandler
 
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.OutboundCookiesHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.RequestHandler
 
handleRequest(HttpServerExchange) - Method in class io.mangoo.routing.handlers.ResponseHandler
 
hasAuthenticatedUser() - Method in class io.mangoo.routing.bindings.Authentication
Checks if the authentication contains an authenticated user
hasAuthentication(String) - Static method in class io.mangoo.utils.BootstrapUtils
Checks if a given mapping URL contains an authentication directive
hasBlocking(String) - Static method in class io.mangoo.utils.BootstrapUtils
Checks if a given mapping URL contains a blocking directive
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.Form
Checks if a given field has a validation error
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.Form
Checks if any field in the validation has an error
hasErrors() - Method in class io.mangoo.routing.bindings.Validator
Checks if any field in the validation has an error
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
hasValidAuthenticationCookie() - Method in class io.mangoo.utils.CookieParser
 
hasValidSecret() - Method in class io.mangoo.configuration.Config
Checks if the application.conf stored in conf/application.conf contains an application secret property (application.secret) that has at least 16 characters (128-Bit)
hasValidSessionCookie() - Method in class io.mangoo.utils.CookieParser
 
HazlecastCache - Class in io.mangoo.cache
 
HazlecastCache() - Constructor for class io.mangoo.cache.HazlecastCache
 
Header - Enum in io.mangoo.enums
Custom headers which are not part of undertow
httpOnly(boolean) - Method in class io.mangoo.utils.CookieBuilder
Sets if the cookie can only be used of HTTP connections Default is false

I

I18nMethod - Class in io.mangoo.templating.freemarker.methods
 
I18nMethod(Messages) - Constructor for class io.mangoo.templating.freemarker.methods.I18nMethod
 
InboundCookiesHandler - Class in io.mangoo.routing.handlers
 
InboundCookiesHandler() - Constructor for class io.mangoo.routing.handlers.InboundCookiesHandler
 
inc(int) - 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
 
initialize() - Method in class io.mangoo.scheduler.Scheduler
Initializes the scheduler by booting up Quartz
inProdMode() - Static method in class io.mangoo.core.Application
Checks if the application is running in prod mode
inTestMode() - Static method in class io.mangoo.core.Application
Checks if the application is running in test mode
io.mangoo.admin - package io.mangoo.admin
 
io.mangoo.annotations - package io.mangoo.annotations
 
io.mangoo.cache - package io.mangoo.cache
 
io.mangoo.configuration - package io.mangoo.configuration
 
io.mangoo.core - package io.mangoo.core
 
io.mangoo.crypto - package io.mangoo.crypto
 
io.mangoo.email - package io.mangoo.email
 
io.mangoo.enums - package io.mangoo.enums
 
io.mangoo.enums.oauth - package io.mangoo.enums.oauth
 
io.mangoo.exceptions - package io.mangoo.exceptions
 
io.mangoo.filters - package io.mangoo.filters
 
io.mangoo.filters.oauth - package io.mangoo.filters.oauth
 
io.mangoo.i18n - package io.mangoo.i18n
 
io.mangoo.interfaces - package io.mangoo.interfaces
 
io.mangoo.managers - package io.mangoo.managers
 
io.mangoo.models - package io.mangoo.models
 
io.mangoo.providers - package io.mangoo.providers
 
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.scheduler - package io.mangoo.scheduler
 
io.mangoo.templating - package io.mangoo.templating
 
io.mangoo.templating.freemarker - package io.mangoo.templating.freemarker
 
io.mangoo.templating.freemarker.directives - package io.mangoo.templating.freemarker.directives
 
io.mangoo.templating.freemarker.methods - package io.mangoo.templating.freemarker.methods
 
io.mangoo.templating.pebble - package io.mangoo.templating.pebble
 
io.mangoo.templating.pebble.tags - package io.mangoo.templating.pebble.tags
 
io.mangoo.utils - package io.mangoo.utils
 
ipv4(String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid IPv4 address
ipv4(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid IPv4 address
ipv6(String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid IPv6 address
ipv6(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be a valid IPv6 address
isActive() - Method in class io.mangoo.models.Job
 
isAdminEnabled() - Method in class io.mangoo.configuration.Config
 
isAuthenticated(String) - Method in class io.mangoo.routing.bindings.Authentication
Checks if the given user name is authenticated
isAuthenticationCookieEncrypt() - Method in class io.mangoo.configuration.Config
 
isAuthenticationCookieSecure() - Method in class io.mangoo.configuration.Config
 
isAuthenticationRequired() - Method in class io.mangoo.routing.Route
 
isBinary() - Method in class io.mangoo.routing.Response
 
isBlockingAllowed() - Method in class io.mangoo.routing.Route
 
isBootstrapSuccessful() - Method in class io.mangoo.core.Bootstrap
 
isCause() - Method in class io.mangoo.models.Source
 
isDiscard() - Method in class io.mangoo.routing.bindings.Flash
 
isEncrypted(String) - Method in class io.mangoo.configuration.Config
Checks if a value is encrypt by checking for the prefix crpytex
isEndResponse() - Method in class io.mangoo.routing.Response
 
isETag() - Method in class io.mangoo.routing.Response
 
isFlashCookieSecure() - Method in class io.mangoo.configuration.Config
 
isHtml() - Method in class io.mangoo.email.Mail
Mark the mail as an HTML mail
isInitialize() - Method in class io.mangoo.scheduler.Scheduler
Checks if the scheduler has been initialized
isInternalTemplateEngine() - Method in class io.mangoo.routing.Route
 
isJsonRequest(HttpServerExchange) - Static method in class io.mangoo.utils.RequestUtils
Checks if the requests content-type contains application/json
isJwtsEncrypted() - Method in class io.mangoo.configuration.Config
 
isLogout() - Method in class io.mangoo.routing.bindings.Authentication
 
isMinifyCSS() - Method in class io.mangoo.configuration.Config
 
isMinifyJS() - Method in class io.mangoo.configuration.Config
 
isPostOrPut(HttpServerExchange) - Static method in class io.mangoo.utils.RequestUtils
Checks if the request is a POST or a PUT request
isPreprocessLess() - Method in class io.mangoo.configuration.Config
 
isPreprocessSass() - Method in class io.mangoo.configuration.Config
 
isRedirect() - Method in class io.mangoo.routing.Response
 
isRemember() - Method in class io.mangoo.routing.bindings.Authentication
 
isRendered() - Method in class io.mangoo.routing.Response
 
isSchedulerAutostart() - Method in class io.mangoo.configuration.Config
 
isSessionCookieEncrypt() - Method in class io.mangoo.configuration.Config
 
isSessionCookieSecure() - Method in class io.mangoo.configuration.Config
 
isSmtpSSL() - Method in class io.mangoo.configuration.Config
 
isStarted() - Static method in class io.mangoo.core.Application
 
isSubmitted() - Method in class io.mangoo.routing.bindings.Form
 
isTimerEnabled() - Method in class io.mangoo.configuration.Config
 

J

Job - Class in io.mangoo.models
Base class that holds scheduled job information
Job(boolean, String, String, Date, Date) - Constructor for class io.mangoo.models.Job
 
JsonUtils - Class in io.mangoo.utils
 
JsonWebToken - Class in io.mangoo.models
 
JsonWebToken(JwtParser, String) - Constructor for class io.mangoo.models.JsonWebToken
 
JsonWebTokenFilter - Class in io.mangoo.filters
 
JsonWebTokenFilter() - Constructor for class io.mangoo.filters.JsonWebTokenFilter
 

K

Key - Enum in io.mangoo.enums
Key strings for reading configuration properties

L

LocaleHandler - Class in io.mangoo.routing.handlers
 
LocaleHandler() - Constructor for class io.mangoo.routing.handlers.LocaleHandler
 
login(String, boolean) - Method in class io.mangoo.routing.bindings.Authentication
Performs a login for a given user name
login(String) - Method in class io.mangoo.routing.bindings.Authentication
Convenient method that calls login with remember set to false
logout() - Method in class io.mangoo.routing.bindings.Authentication
Performs a logout of the currently authenticated user

M

Mail - Class in io.mangoo.email
 
Mail() - Constructor for class io.mangoo.email.Mail
 
main(String...) - Static method in class io.mangoo.core.Application
 
MangooAuthenticator - Interface in io.mangoo.interfaces
 
MangooFilter - Interface in io.mangoo.interfaces
 
MangooLifecycle - Interface in io.mangoo.interfaces
 
MangooMailerException - Exception in io.mangoo.exceptions
 
MangooMailerException(Exception) - Constructor for exception io.mangoo.exceptions.MangooMailerException
 
MangooRequestFilter - Interface in io.mangoo.interfaces
 
MangooSchedulerException - Exception in io.mangoo.exceptions
 
MangooSchedulerException(Exception) - Constructor for exception io.mangoo.exceptions.MangooSchedulerException
 
MangooTemplateEngineException - Exception in io.mangoo.exceptions
 
MangooTemplateEngineException(String, Exception) - Constructor for exception io.mangoo.exceptions.MangooTemplateEngineException
 
MangooValidator - Interface in io.mangoo.interfaces
 
MangooWebSocket - Class in io.mangoo.interfaces
 
MangooWebSocket() - Constructor for class io.mangoo.interfaces.MangooWebSocket
 
match(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates to fields to (case-insensitive) match
match(String, String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates to fields to (case-insensitive) match
max(String, double) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a maximum length
max(String, double, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a maximum length
maxAge(Integer) - Method in class io.mangoo.utils.CookieBuilder
Sets the max age of the cookie Default value is null
Messages - Class in io.mangoo.i18n
Convinient class for handling translations
Messages() - Constructor for class io.mangoo.i18n.Messages
 
metrics() - Method in class io.mangoo.admin.AdminController
 
Metrics - Class in io.mangoo.models
Base class for counting system metrics
Metrics() - Constructor for class io.mangoo.models.Metrics
 
Metrics(Metrics) - Constructor for class io.mangoo.models.Metrics
 
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
 
metricsPath() - Method in enum io.mangoo.enums.Template
 
min(String, double) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a minimum length
min(String, double, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to have a minimum length
MinificationUtils - Class in io.mangoo.utils
Convenient class for minification of CSS and JS files
minify(String) - Static method in class io.mangoo.utils.MinificationUtils
Minifies a JS or CSS file to a corresponding JS or CSS file
Mode - Enum in io.mangoo.enums
Application modes
Module - Class in io.mangoo.core
 
Module() - Constructor for class io.mangoo.core.Module
 
must() - Method in class io.mangoo.models.JsonWebToken
 

N

name(String) - Method in class io.mangoo.utils.CookieBuilder
Sets the name of the cookie Default is ""
newHtmlMail() - Static method in class io.mangoo.email.Mail
 
newJob(TriggerFiredBundle, Scheduler) - Method in class io.mangoo.scheduler.SchedulerFactory
 
newMail() - Static method in class io.mangoo.email.Mail
 
notFound() - Method in enum io.mangoo.enums.Template
 
notFoundPath() - Method in enum io.mangoo.enums.Template
 
numeric(String) - Method in class io.mangoo.routing.bindings.Validator
Validates that a given field has a numeric value
numeric(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates that a given field has a numeric value

O

OAuthCallbackFilter - Class in io.mangoo.filters.oauth
Callback filter when returning from an OAuth authentication
OAuthCallbackFilter() - Constructor for class io.mangoo.filters.oauth.OAuthCallbackFilter
 
OAuthLoginFilter - Class in io.mangoo.filters.oauth
OAuth Login filter for redirecting to the OAuth provider
OAuthLoginFilter() - Constructor for class io.mangoo.filters.oauth.OAuthLoginFilter
 
OAuthProvider - Enum in io.mangoo.enums.oauth
List of OAuthProvider
OAuthResource - Enum in io.mangoo.enums.oauth
List of OAuthResources
OAuthUser - Class in io.mangoo.models
Base class for an OAuthUser
OAuthUser(String, String, String, String) - Constructor for class io.mangoo.models.OAuthUser
 
onConnect(WebSocketHttpExchange, WebSocketChannel) - Method in class io.mangoo.routing.handlers.WebSocketHandler
 
OutboundCookiesHandler - Class in io.mangoo.routing.handlers
 
OutboundCookiesHandler() - Constructor for class io.mangoo.routing.handlers.OutboundCookiesHandler
 

P

parseRoutes() - Method in class io.mangoo.core.Bootstrap
 
path(String) - Method in class io.mangoo.utils.CookieBuilder
Sets the path of the cookie Default is /
prepareConfig() - Method in class io.mangoo.core.Bootstrap
 
prepareInjector() - Method in class io.mangoo.core.Bootstrap
 
prepareLogger() - Method in class io.mangoo.core.Bootstrap
 
prepareMode() - Method in class io.mangoo.core.Bootstrap
 
preprocess(String) - Static method in class io.mangoo.utils.MinificationUtils
Compiles a LESS or SASS file to a corresponding CSS file
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.GuavaCache
 
put(String, Object) - Method in class io.mangoo.cache.HazlecastCache
 
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
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.GuavaCache
 
putAll(Map<String, Object>) - Method in class io.mangoo.cache.HazlecastCache
 

R

range(String, int, int) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be in a certain range
range(String, int, int, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a field to be in a certain range
regex(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.
regex(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.
reload() - Method in class io.mangoo.i18n.Messages
Refreshes the resource bundle by reloading the bundle with the default locale
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.GuavaCache
 
remove(String) - Method in class io.mangoo.cache.HazlecastCache
 
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.managers.WebSocketManager
Removes all URI resources for a given URL
removeConnections(String) - Method in class io.mangoo.managers.ServerEventManager
Removes all URI resources for a given URL
render(Flash, Session, Form, Messages, String, Map<String, Object>) - Method in class io.mangoo.templating.freemarker.TemplateEngineFreemarker
 
render(String, String, Map<String, Object>) - Method in class io.mangoo.templating.freemarker.TemplateEngineFreemarker
 
render(Flash, Session, Form, Messages, String, Map<String, Object>) - Method in class io.mangoo.templating.pebble.TemplateEnginePebble
 
render(String, String, Map<String, Object>) - Method in class io.mangoo.templating.pebble.TemplateEnginePebble
 
render(Flash, Session, Form, Messages, String, Map<String, Object>) - Method in interface io.mangoo.templating.TemplateEngine
Renders a template for a specific controller class and method
render(String, String, Map<String, Object>) - Method in interface io.mangoo.templating.TemplateEngine
Renders a template for a specific controller class and method
renderException(HttpServerExchange, Throwable, boolean) - Method in class io.mangoo.templating.freemarker.TemplateEngineFreemarker
 
renderException(HttpServerExchange, Throwable, boolean) - Method in class io.mangoo.templating.pebble.TemplateEnginePebble
 
renderException(HttpServerExchange, Throwable, boolean) - Method in interface io.mangoo.templating.TemplateEngine
When in dev mode, this method is used to pass the framework exception to the frontend
Request - Class in io.mangoo.routing.bindings
 
Request() - Constructor for class io.mangoo.routing.bindings.Request
 
Request(HttpServerExchange, Session, String, Authentication, Map<String, String>, String) - Constructor for class io.mangoo.routing.bindings.Request
 
RequestHandler - Class in io.mangoo.routing.handlers
Main class that handles all controller requests
RequestHandler() - Constructor for class io.mangoo.routing.handlers.RequestHandler
 
RequestUtils - Class in io.mangoo.utils
 
required(String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to be required
required(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates a given field to be required
Response - Class in io.mangoo.routing
 
Response() - Constructor for class io.mangoo.routing.Response
 
ResponseHandler - Class in io.mangoo.routing.handlers
 
ResponseHandler() - Constructor for class io.mangoo.routing.handlers.ResponseHandler
 
Route - Class in io.mangoo.routing
 
Route(RouteType) - Constructor for class io.mangoo.routing.Route
 
Router - Class in io.mangoo.routing
 
routes() - Method in class io.mangoo.admin.AdminController
 
routesPath() - Method in enum io.mangoo.enums.Template
 
RouteType - Enum in io.mangoo.enums
Route types for easy routing configuration

S

Schedule - Annotation Type in io.mangoo.annotations
Scheduler annotation for scheduling jobs
schedule(JobDetail, Trigger) - Method in class io.mangoo.scheduler.Scheduler
Adds a new job with a given JobDetail and Trigger to the scheduler
scheduler() - Method in class io.mangoo.admin.AdminController
 
Scheduler - Class in io.mangoo.scheduler
Convenient class for interacting with the quartz scheduler
Scheduler(Config) - Constructor for class io.mangoo.scheduler.Scheduler
 
SchedulerFactory - Class in io.mangoo.scheduler
Factory method for passing Scheduler job instance to the Google Guice injector
SchedulerFactory() - Constructor for class io.mangoo.scheduler.SchedulerFactory
 
schedulerPath() - Method in enum io.mangoo.enums.Template
 
SchedulerUtils - Class in io.mangoo.utils
 
secure(boolean) - Method in class io.mangoo.utils.CookieBuilder
Sets if the cookie can only be used of HTTPS connections Default is false
send() - Method in class io.mangoo.email.Mail
Sends the mail
send(String, String) - Method in class io.mangoo.managers.ServerEventManager
Sends data to all connections for a given URI resource
send(String, String, ServerSentEventConnection.EventCallback) - Method in class io.mangoo.managers.ServerEventManager
Sends data to all connections for a given URI and invokes the callback on Success or failure
serverError() - Method in enum io.mangoo.enums.Template
 
serverErrorPath() - Method in enum io.mangoo.enums.Template
 
ServerEventManager - Class in io.mangoo.managers
 
ServerEventManager() - Constructor for class io.mangoo.managers.ServerEventManager
 
ServerSentEventCloseListener - Class in io.mangoo.routing.listeners
 
ServerSentEventCloseListener() - Constructor for class io.mangoo.routing.listeners.ServerSentEventCloseListener
 
ServerSentEventHandler - Class in io.mangoo.routing.handlers
 
ServerSentEventHandler(boolean) - Constructor for class io.mangoo.routing.handlers.ServerSentEventHandler
 
Session - Class in io.mangoo.routing.bindings
 
Session() - Constructor for class io.mangoo.routing.bindings.Session
 
Session(Map<String, String>, String, LocalDateTime) - Constructor for class io.mangoo.routing.bindings.Session
 
setAuthentication(Authentication) - Method in class io.mangoo.routing.Attachment
 
setBasePath(String) - Static method in class io.mangoo.utils.MinificationUtils
 
setBody(String) - Method in class io.mangoo.routing.Attachment
 
setChannels(String, Set<WebSocketChannel>) - Method in class io.mangoo.managers.WebSocketManager
Sets the URI resources for a given URL
setConfig(Config) - Static method in class io.mangoo.utils.MinificationUtils
 
setConnections(String, Set<ServerSentEventConnection>) - Method in class io.mangoo.managers.ServerEventManager
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
 
setJsonWebToken(JsonWebToken) - Method in class io.mangoo.routing.bindings.Request
Set a Json Web Token to the request
setOAuthUser(OAuthUser) - Method in class io.mangoo.routing.bindings.Authentication
Sets an OAuthUser to the current authentication.
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'
showLogo() - Method in class io.mangoo.core.Bootstrap
 
shutdown() - Method in class io.mangoo.managers.ExecutionManager
Shuts down the executor service
shutdown() - Method in class io.mangoo.scheduler.Scheduler
 
size() - Method in interface io.mangoo.cache.Cache
Returns the size (number of elements) of cached values
size() - Method in class io.mangoo.cache.GuavaCache
 
size() - Method in class io.mangoo.cache.HazlecastCache
 
Smtp - Class in io.mangoo.email
 
Smtp(Config) - Constructor for class io.mangoo.email.Smtp
 
Source - Class in io.mangoo.models
Base class for holding exception information
Source(boolean, int, String) - Constructor for class io.mangoo.models.Source
 
standby() - Method in class io.mangoo.scheduler.Scheduler
 
start() - Method in class io.mangoo.email.Smtp
 
start() - Method in class io.mangoo.scheduler.Scheduler
 
startQuartzScheduler() - Method in class io.mangoo.core.Bootstrap
 
startUndertow() - Method in class io.mangoo.core.Bootstrap
 
state(String) - Method in class io.mangoo.admin.AdminController
 
stop() - Method in class io.mangoo.email.Smtp
 
submit(Callable<T>) - Method in class io.mangoo.managers.ExecutionManager
Submits a value-returning task for execution and returns a Future representing the pending results of the task.
submit(Runnable, T) - Method in class io.mangoo.managers.ExecutionManager
Submits a Runnable task for execution and returns a Future representing that task.
Suffix - Enum in io.mangoo.enums
Application modes

T

Template - Enum in io.mangoo.enums
Default HTML templates for standard HTTP responses
TemplateEngine - Interface in io.mangoo.templating
 
TemplateEngineFreemarker - Class in io.mangoo.templating.freemarker
 
TemplateEngineFreemarker() - Constructor for class io.mangoo.templating.freemarker.TemplateEngineFreemarker
 
TemplateEngineLoader - Class in io.mangoo.templating.freemarker
 
TemplateEngineLoader(TemplateLoader) - Constructor for class io.mangoo.templating.freemarker.TemplateEngineLoader
 
TemplateEnginePebble - Class in io.mangoo.templating.pebble
 
TemplateEnginePebble() - Constructor for class io.mangoo.templating.pebble.TemplateEnginePebble
 
TemplateEngineProvider - Class in io.mangoo.providers
 
TemplateEngineProvider(Injector) - Constructor for class io.mangoo.providers.TemplateEngineProvider
 
ThrowableUtils - Class in io.mangoo.utils
 
toBoolean() - Method in enum io.mangoo.enums.Default
 
toHttpString() - Method in enum io.mangoo.enums.Header
 
toInt() - Method in enum io.mangoo.enums.Default
 
toJson(Object) - Static method in class io.mangoo.utils.JsonUtils
Converts a given object to a Json string
token() - Method in class io.mangoo.templating.pebble.tags.AuthenticityTag
 
toLong() - Method in enum io.mangoo.enums.Default
 
toString() - Method in enum io.mangoo.enums.Binding
 
toString() - Method in enum io.mangoo.enums.ContentType
 
toString() - Method in enum io.mangoo.enums.Default
 
toString() - Method in enum io.mangoo.enums.ErrorMessage
 
toString() - Method in enum io.mangoo.enums.Header
 
toString() - Method in enum io.mangoo.enums.Key
 
toString() - Method in enum io.mangoo.enums.Mode
 
toString() - Method in enum io.mangoo.enums.oauth.OAuthProvider
 
toString() - Method in enum io.mangoo.enums.oauth.OAuthResource
 
toString() - Method in enum io.mangoo.enums.Suffix
 
toString() - Method in enum io.mangoo.enums.Validation
 
toUrl(String) - Method in class io.mangoo.routing.Route
 
TwoFactorUtils - Class in io.mangoo.utils
Two factor Java implementation for the Time-based One-Time Password (TOTP) algorithm.

U

unauthorized() - Method in enum io.mangoo.enums.Template
 
unauthorizedPath() - Method in enum io.mangoo.enums.Template
 
update(int) - Method in class io.mangoo.models.Metrics
 
url(String) - Method in class io.mangoo.routing.bindings.Validator
Validates field to be a valid URL
url(String, String) - Method in class io.mangoo.routing.bindings.Validator
Validates field to be a valid URL
useInternalTemplateEngine() - Method in class io.mangoo.routing.Route
 

V

validate() - Method in class io.mangoo.models.JsonWebToken
 
validateCurrentNumber(int, String) - Static method in class io.mangoo.utils.TwoFactorUtils
Validate a given code using the secret, defaults to window of 3 either side, allowing a margin of error equivalent to three windows to adjust for time discrepancies.
validateCurrentNumber(int, String, int, long) - Static method in class io.mangoo.utils.TwoFactorUtils
Validate a given code at a specific time, and specific window
validateCurrentNumber(int, String, int) - Static method in class io.mangoo.utils.TwoFactorUtils
Validate a given code using the secret, provided number, and number of windows to check.
validateNumber(int, String, int, long) - Static method in class io.mangoo.utils.TwoFactorUtils
Deprecated.
Validation - Enum in io.mangoo.enums
Default validation messages
validation() - Method in interface io.mangoo.interfaces.MangooValidator
Returns the validator object for validation methods
validation() - Method in class io.mangoo.routing.bindings.Form
 
validation() - Method in class io.mangoo.routing.bindings.Request
 
Validator - Class in io.mangoo.routing.bindings
 
Validator(Messages) - Constructor for class io.mangoo.routing.bindings.Validator
 
validCredentials(String, String) - Method in interface io.mangoo.interfaces.MangooAuthenticator
Validates given credentials
value(String) - Method in class io.mangoo.utils.CookieBuilder
Sets the value of the cookie Default is ""
valueOf(String) - Static method in enum io.mangoo.enums.Binding
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.ContentType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.Default
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.ErrorMessage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.Header
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.Key
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.oauth.OAuthProvider
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.oauth.OAuthResource
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.RouteType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.Suffix
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.Template
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.mangoo.enums.Validation
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.mangoo.enums.Binding
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.ContentType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.Default
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.ErrorMessage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.Header
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.Key
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.oauth.OAuthProvider
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.oauth.OAuthResource
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.RouteType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.Suffix
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.Template
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.mangoo.enums.Validation
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebSocketCloseListener - Class in io.mangoo.routing.listeners
 
WebSocketCloseListener() - Constructor for class io.mangoo.routing.listeners.WebSocketCloseListener
 
WebSocketHandler - Class in io.mangoo.routing.handlers
 
WebSocketHandler(Class<?>, boolean) - Constructor for class io.mangoo.routing.handlers.WebSocketHandler
 
WebSocketManager - Class in io.mangoo.managers
 
WebSocketManager() - Constructor for class io.mangoo.managers.WebSocketManager
 
withAttachment(File) - Method in class io.mangoo.email.Mail
Adds a file attachment to the mail
withAuthentication(boolean) - Method in class io.mangoo.routing.Route
 
withBadRequest() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 400
withBCC(String) - Method in class io.mangoo.email.Mail
Adds a bcc recipient to the mail
withBody(String) - Method in class io.mangoo.email.Mail
Adds a custom to the mail This will overwrite rendering of the template!
withCC(String) - Method in class io.mangoo.email.Mail
Adds a cc recipient to the mail
withClass(Class<?>) - Method in class io.mangoo.routing.Route
 
withContent(String, Object) - Method in class io.mangoo.email.Mail
Adds content to the template which will be rendered
withControllerClass(Class<?>) - Method in class io.mangoo.routing.Attachment
 
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
withCrypto(Crypto) - Method in class io.mangoo.routing.Attachment
 
withForbidden() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 401
withFrom(String) - Method in class io.mangoo.email.Mail
Adds the from address to the mail
withInternalServerError() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 500
withJsonSerializer(JsonSerializer) - Static method in class io.mangoo.utils.JsonUtils
Sets a new custom JsonSerializer
withMessages(Messages) - Method in class io.mangoo.routing.Attachment
 
withMethod(Method) - Method in class io.mangoo.routing.Attachment
 
withMethod(String) - Method in class io.mangoo.routing.Route
 
withMethodParameterCount(int) - Method in class io.mangoo.routing.Attachment
 
withMethodParameters(Map<String, Class<?>>) - Method in class io.mangoo.routing.Attachment
 
withNotFound() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 404
withOk() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 200
withRecipient(String) - Method in class io.mangoo.email.Mail
Adds a recipient to the mail
withRedirect(String) - Static method in class io.mangoo.routing.Response
Creates a response object with a given url to redirect to
withRequest(HttpString) - Method in class io.mangoo.routing.Route
 
withRequestFilter(boolean) - Method in class io.mangoo.routing.Attachment
 
withRequestParameter(Map<String, String>) - Method in class io.mangoo.routing.Attachment
 
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.email.Mail
Adds a subject to the mail
withTemplate(String) - Method in class io.mangoo.email.Mail
Add a template to the mail which will be rendered before the mail is send
withTemplateEngine(TemplateEngine) - Method in class io.mangoo.routing.Attachment
 
withUnauthorized() - Static method in class io.mangoo.routing.Response
Creates a response object with HTTP status code 403
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links
svenkubiak, 3.6.0

Copyright © 2016. All rights reserved.