- 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
-
- generateBase32Secret() - Static method in class io.mangoo.utils.TwoFactorUtils
-
- generateBase32Secret(int) - Static method in class io.mangoo.utils.TwoFactorUtils
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
- 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
-
- 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.
- 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