- AbstractContext - Class in ninja.utils
-
Abstract Context.Impl that implements features that are not reliant
on the concrete Context implementation.
- AbstractContext(BodyParserEngineManager, FlashScope, NinjaProperties, Session, Validation, Injector) - Constructor for class ninja.utils.AbstractContext
-
- AbstractStandalone<T extends AbstractStandalone> - Class in ninja.standalone
-
Abstract Standalone that implements most functionality required to write
a concrete Standalone.
- AbstractStandalone(String) - Constructor for class ninja.standalone.AbstractStandalone
-
- add(String, Object, int) - Method in interface ninja.cache.Cache
-
- add(String, Object, int) - Method in class ninja.cache.CacheEhCacheImpl
-
- add(String, Object, int) - Method in class ninja.cache.CacheMemcachedImpl
-
- add(String, Object, String) - Method in class ninja.cache.NinjaCache
-
Add an element only if it doesn't exist.
- add(String, Object) - Method in class ninja.cache.NinjaCache
-
Add an element only if it doesn't exist and store it indefinitely.
- addBcc(String...) - Method in class ninja.postoffice.common.MailImpl
-
- addBcc(String...) - Method in interface ninja.postoffice.Mail
-
In general email addresses could look like:
Joe Jocker
or
joe@joe.com.
- addBeanViolation(FieldViolation) - Method in interface ninja.validation.Validation
-
Add a bean violation.
- addBeanViolation(FieldViolation) - Method in class ninja.validation.ValidationImpl
-
- addCc(String...) - Method in class ninja.postoffice.common.MailImpl
-
- addCc(String...) - Method in interface ninja.postoffice.Mail
-
In general email addresses could look like:
Joe Jocker
or
joe@joe.com.
- addCookie(Cookie) - Method in interface ninja.Context
-
Adds a cookie to the response
- addCookie(Cookie) - Method in class ninja.Result
-
- addCookie(Cookie) - Method in class ninja.WrappedContext
-
- addEtag(Context, Result, Long) - Method in interface ninja.utils.HttpCacheToolkit
-
Adds etag to result.
- addEtag(Context, Result, Long) - Method in class ninja.utils.HttpCacheToolkitImpl
-
- addFieldViolation(String, ConstraintViolation) - Method in interface ninja.validation.Validation
-
Add a violation to the given field
- addFieldViolation(FieldViolation) - Method in interface ninja.validation.Validation
-
Add a field violation to the list of filed violations.
- addFieldViolation(FieldViolation) - Method in class ninja.validation.ValidationImpl
-
- addFieldViolation(String, ConstraintViolation) - Method in class ninja.validation.ValidationImpl
-
- addHeader(String, String) - Method in class ninja.postoffice.common.MailImpl
-
- addHeader(String, String) - Method in interface ninja.postoffice.Mail
-
- addHeader(String, String) - Method in class ninja.Result
-
- addModule(Module) - Method in class ninja.Bootstrap
-
- addReplyTo(String...) - Method in class ninja.postoffice.common.MailImpl
-
- addReplyTo(String...) - Method in interface ninja.postoffice.Mail
-
In general email addresses could look like:
Joe Jocker
or
joe@joe.com.
- addTo(String...) - Method in class ninja.postoffice.common.MailImpl
-
- addTo(String...) - Method in interface ninja.postoffice.Mail
-
In general email addresses could look like:
Joe Jocker
or
joe@joe.com.
- addViolation(ConstraintViolation) - Method in interface ninja.validation.Validation
-
Deprecated.
- addViolation(ConstraintViolation) - Method in class ninja.validation.ValidationImpl
-
- ALGORITHM - Static variable in class ninja.utils.CookieEncryption
-
- APPLICATION_GUICE_MODULE_CONVENTION_LOCATION - Static variable in class ninja.Bootstrap
-
- APPLICATION_GUICE_SERVLET_MODULE_CONVENTION_LOCATION - Static variable in class ninja.Bootstrap
-
- APPLICATION_JSON - Static variable in interface ninja.ContentTypes
-
- APPLICATION_JSON - Static variable in class ninja.Result
-
- APPLICATION_JSONP - Static variable in interface ninja.ContentTypes
-
- APPLICATION_JSONP - Static variable in class ninja.Result
-
- APPLICATION_MODULES_BASE_PACKAGE - Static variable in interface ninja.utils.NinjaConstant
-
Used to specify static base package for configuration modules and routes
- APPLICATION_OCTET_STREAM - Static variable in class ninja.Result
-
- APPLICATION_POST_FORM - Static variable in interface ninja.ContentTypes
-
- APPLICATION_XML - Static variable in interface ninja.ContentTypes
-
- APPLICATION_XML - Static variable in class ninja.Result
-
- applicationCookieDomain - Static variable in interface ninja.utils.NinjaConstant
-
Enables session/cookie sharing between subdomains.
- applicationCookieEncrypted - Static variable in interface ninja.utils.NinjaConstant
-
Encryption of session cookies.
- applicationCookiePrefix - Static variable in interface ninja.utils.NinjaConstant
-
Prefix used for all Ninja cookies.
- applicationLanguages - Static variable in interface ninja.utils.NinjaConstant
-
Comma separated list in application.conf.
- applicationName - Static variable in interface ninja.utils.NinjaConstant
-
Used to verify client side cookie for instance.
- ApplicationRoutes - Interface in ninja.application
-
Implement this file in directory conf/Routes.java to set up your routes...
- applicationSecret - Static variable in interface ninja.utils.NinjaConstant
-
Used to verify client side cookie for instance.
- APPLICATON_JSON - Static variable in class ninja.Result
-
Deprecated.
- APPLICATON_JSONP - Static variable in class ninja.Result
-
Deprecated.
- ArgumentClassHolder - Class in ninja.params
-
This is used to hold the argument class, so that it can be injected into
extractors/validators so they can know what type they are extracting.
- ArgumentClassHolder(Class<?>) - Constructor for class ninja.params.ArgumentClassHolder
-
- ArgumentExtractor<T> - Interface in ninja.params
-
Extracts a controller argument from the context
- ArgumentExtractors - Class in ninja.params
-
Built in argument extractors
- ArgumentExtractors() - Constructor for class ninja.params.ArgumentExtractors
-
- ArgumentExtractors.AttributeExtractor - Class in ninja.params
-
- ArgumentExtractors.BodyAsExtractor<T> - Class in ninja.params
-
- ArgumentExtractors.ContextExtractor - Class in ninja.params
-
- ArgumentExtractors.FileItemParamExtractor - Class in ninja.params
-
- ArgumentExtractors.FileItemParamsExtractor - Class in ninja.params
-
- ArgumentExtractors.FileParamExtractor - Class in ninja.params
-
- ArgumentExtractors.FileParamsExtractor - Class in ninja.params
-
- ArgumentExtractors.FlashExtractor - Class in ninja.params
-
- ArgumentExtractors.HeaderExtractor - Class in ninja.params
-
- ArgumentExtractors.HeadersExtractor - Class in ninja.params
-
- ArgumentExtractors.InputStreamParamExtractor - Class in ninja.params
-
- ArgumentExtractors.InputStreamParamsExtractor - Class in ninja.params
-
- ArgumentExtractors.ParamExtractor - Class in ninja.params
-
- ArgumentExtractors.ParamsExtractor - Class in ninja.params
-
- ArgumentExtractors.PathParamExtractor - Class in ninja.params
-
- ArgumentExtractors.SessionExtractor - Class in ninja.params
-
- ArgumentExtractors.SessionParamExtractor - Class in ninja.params
-
- ArgumentExtractors.ValidationExtractor - Class in ninja.params
-
- ArrayParamParser(Class<T[]>, ParamParser<T>) - Constructor for class ninja.params.ParamParsers.ArrayParamParser
-
- ASSETS_DIR - Static variable in class ninja.AssetsController
-
- AssetsController - Class in ninja
-
This controller serves public resources under /assets.
- AssetsController(AssetsControllerHelper, HttpCacheToolkit, MimeTypes, NinjaProperties) - Constructor for class ninja.AssetsController
-
- AssetsControllerHelper - Class in ninja
-
- AssetsControllerHelper() - Constructor for class ninja.AssetsControllerHelper
-
- async() - Static method in class ninja.Results
-
- asyncRequestComplete() - Method in interface ninja.Context
-
Indicate that processing this request is complete.
- asyncRequestComplete() - Method in class ninja.utils.AbstractContext
-
- asyncRequestComplete() - Method in class ninja.WrappedContext
-
- AsyncResult - Class in ninja
-
An async result
- AsyncResult() - Constructor for class ninja.AsyncResult
-
- Attribute - Annotation Type in ninja.params
-
Injects an attribute value into a controller method invocation.
- AttributeExtractor(Attribute, ArgumentClassHolder) - Constructor for class ninja.params.ArgumentExtractors.AttributeExtractor
-
- AUTHENTICITY_KEY - Static variable in interface ninja.session.Session
-
- AUTHENTICITY_TOKEN - Static variable in interface ninja.utils.NinjaConstant
-
- AuthenticityFilter - Class in ninja
-
- AuthenticityFilter(Ninja) - Constructor for class ninja.AuthenticityFilter
-
- Cache - Interface in ninja.cache
-
Interface hiding cache implementation.
- CACHE_CONTROL - Static variable in class ninja.Result
-
- CACHE_CONTROL - Static variable in interface ninja.utils.HttpHeaderConstants
-
- CACHE_CONTROL_DEFAULT_NOCACHE_VALUE - Static variable in class ninja.Result
-
- CACHE_IMPLEMENTATION - Static variable in interface ninja.utils.NinjaConstant
-
Constant used to bind custom cache implementation.
- CacheEhCacheImpl - Class in ninja.cache
-
EhCache implementation.
- CacheEhCacheImpl(Logger) - Constructor for class ninja.cache.CacheEhCacheImpl
-
- CacheMemcachedImpl - Class in ninja.cache
-
Memcached implementation (using http://code.google.com/p/spymemcached/)
expiration is specified in seconds.
- CacheMemcachedImpl(Logger, NinjaProperties) - Constructor for class ninja.cache.CacheMemcachedImpl
-
- CacheProvider - Class in ninja.cache
-
A provider that determines which implementation to load as Cache based on
the value of key
CacheConstant#CACHE_IMPLEMENTATION
in
NinjaProperties
(aka application.conf).
- CacheProvider(Injector, NinjaProperties, Logger) - Constructor for class ninja.cache.CacheProvider
-
- challenge - Variable in class ninja.BasicAuthFilter
-
- CharacterParamParser() - Constructor for class ninja.params.ParamParsers.CharacterParamParser
-
- charset(String) - Method in class ninja.Result
-
- checkConfigured() - Method in class ninja.standalone.AbstractStandalone
-
- checkNotConfigured() - Method in class ninja.standalone.AbstractStandalone
-
- checkStarted() - Method in class ninja.standalone.AbstractStandalone
-
- checkThatApplicationSecretIsSet(boolean, String, PropertiesConfiguration, Configuration) - Static method in class ninja.utils.NinjaPropertiesImplTool
-
This method checks that your configurations have set a
application.secret=23r213r12r123
If application.secret is missing or is empty it will do the following:
- In dev and test mode it'll generate a new application secret and write the secret
to both src/main/java/conf/application.conf and the classes dir were the compiled stuff
goes.
- cleanup() - Method in interface ninja.Context
-
Cleanup context
- cleanup() - Method in interface ninja.uploads.FileItem
-
Cleanup resources if needed.
- cleanup() - Method in class ninja.WrappedContext
-
- clear() - Method in interface ninja.cache.Cache
-
- clear() - Method in class ninja.cache.CacheEhCacheImpl
-
- clear() - Method in class ninja.cache.CacheMemcachedImpl
-
- clear() - Method in class ninja.cache.NinjaCache
-
Clear all data from cache.
- clear() - Method in interface ninja.session.Session
-
Removes all values from the session.
- clear() - Method in class ninja.session.SessionImpl
-
- clearCurrentFlashCookieData() - Method in interface ninja.session.FlashScope
-
- clearCurrentFlashCookieData() - Method in class ninja.session.FlashScopeImpl
-
- clearLanguage(Result) - Method in interface ninja.i18n.Lang
-
Clears the current language.
- clearLanguage(Result) - Method in class ninja.i18n.LangImpl
-
- Clock - Interface in ninja.utils
-
- ClockImpl - Class in ninja.utils
-
- ClockImpl() - Constructor for class ninja.utils.ClockImpl
-
- closeTemplateSource(Object) - Method in class ninja.template.TemplateEngineFreemarkerEscapedLoader
-
- code - Variable in enum ninja.Context.HTTP_STATUS
-
Deprecated.
- CommonsmailHelper - Interface in ninja.postoffice.commonsmail
-
- CommonsmailHelperImpl - Class in ninja.postoffice.commonsmail
-
- CommonsmailHelperImpl() - Constructor for class ninja.postoffice.commonsmail.CommonsmailHelperImpl
-
- compileRoutes() - Method in interface ninja.Router
-
Compile all the routes that have been registered with the router.
- compileRoutes() - Method in class ninja.RouterImpl
-
- computeReverseRoute(List) - Method in class ninja.template.TemplateEngineFreemarkerReverseRouteHelper
-
- CONF_FILE_LOCATION_BY_CONVENTION - Static variable in interface ninja.utils.NinjaProperties
-
The default configuration.
- Configuration - Class in ninja
-
The basic configuration of the main ninja framework.
- Configuration(NinjaPropertiesImpl) - Constructor for class ninja.Configuration
-
- configure() - Method in class ninja.Bootstrap
-
- configure() - Method in class ninja.Configuration
-
- configure() - Method in class ninja.jpa.JpaModule
-
- configure() - Method in class ninja.standalone.AbstractStandalone
-
- configure() - Method in interface ninja.standalone.Standalone
-
Configures the standalone to prepare for being started.
- configured - Variable in class ninja.standalone.AbstractStandalone
-
- ConstraintViolation - Class in ninja.validation
-
A validation constraint violation
- ConstraintViolation(String, String, String, Object...) - Constructor for class ninja.validation.ConstraintViolation
-
Create a constraint violation
- constraintViolation - Variable in class ninja.validation.FieldViolation
-
- contains(String) - Method in interface ninja.session.FlashScope
-
- contains(String) - Method in class ninja.session.FlashScopeImpl
-
- CONTENT_TYPE - Static variable in interface ninja.Context
-
Content-Type: ...
- contentType(String) - Method in class ninja.Result
-
Sets the content type.
- contentType(String) - Static method in class ninja.Results
-
- ContentTypes - Interface in ninja
-
- Context - Interface in ninja
-
- Context.HTTP_STATUS - Enum in ninja
-
Deprecated.
- Context.Impl - Interface in ninja
-
Impl is used to hide stuff that a user should not see on
code completion.
- ContextExtractor() - Constructor for class ninja.params.ArgumentExtractors.ContextExtractor
-
- contextPath - Variable in class ninja.standalone.AbstractStandalone
-
- contextPath(String) - Method in class ninja.standalone.AbstractStandalone
-
- contextPath(String) - Method in interface ninja.standalone.Standalone
-
Sets the "context path" of the Ninja application.
- ControllerMethodInvoker - Class in ninja.params
-
Invokes methods on the controller, extracting arguments out
- controllerReturned() - Method in interface ninja.Context
-
- controllerReturned() - Method in class ninja.WrappedContext
-
- CONTROLLERS_DIR - Static variable in interface ninja.utils.NinjaConstant
-
- convert(String, Class<T>) - Static method in class ninja.utils.SwissKnife
-
Convert value to class type value.
- convertArray(String[], Class<T>) - Static method in class ninja.utils.SwissKnife
-
Convert value to an array of type
- convertCollection(String[], Class<T>) - Static method in class ninja.utils.SwissKnife
-
Convert value to a collection type
- convertRawUriToRegex(String) - Static method in class ninja.Route
-
Gets a raw uri like "/{name}/id/*" and returns "/([^/]*)/id/*."
Also handles regular expressions if defined inside routes:
For instance "/users/{username: [a-zA-Z][a-zA-Z_0-9]}" becomes
"/users/([a-zA-Z][a-zA-Z_0-9])"
- Cookie - Class in ninja
-
An HTTP cookie
- Cookie(String, String, String, String, int, String, boolean, boolean) - Constructor for class ninja.Cookie
-
- Cookie.Builder - Class in ninja
-
- CookieDataCodec - Class in ninja.utils
-
CookieDataCodec and CookieDataCodecTest are imported from Play Framework.
- CookieDataCodec() - Constructor for class ninja.utils.CookieDataCodec
-
- CookieEncryption - Class in ninja.utils
-
This class encrypts/decrypts session cookie data.
- CookieEncryption(NinjaProperties) - Constructor for class ninja.utils.CookieEncryption
-
- create(Class<? extends Standalone>) - Static method in class ninja.standalone.StandaloneHelper
-
- create(FileItemStream) - Method in class ninja.uploads.DiskFileItemProvider
-
- create(FileItemStream) - Method in interface ninja.uploads.FileItemProvider
-
- create(FileItemStream) - Method in class ninja.uploads.MemoryFileItemProvider
-
- create(FileItemStream) - Method in class ninja.uploads.NoFileItemProvider
-
- create(String, Object...) - Static method in class ninja.validation.ConstraintViolation
-
- createBaseUrl(String, String, Integer, String) - Method in class ninja.standalone.AbstractStandalone
-
- createBaseUrls() - Method in class ninja.standalone.AbstractStandalone
-
- created(Optional<String>) - Static method in class ninja.Results
-
- createForField(String, String, Object...) - Static method in class ninja.validation.ConstraintViolation
-
- createForFieldWithDefault(String, String, String, Object...) - Static method in class ninja.validation.ConstraintViolation
-
- createListOfAddresses(Collection<String>) - Method in interface ninja.postoffice.commonsmail.CommonsmailHelper
-
- createListOfAddresses(Collection<String>) - Method in class ninja.postoffice.commonsmail.CommonsmailHelperImpl
-
- createMultiPartEmailWithContent(Mail) - Method in interface ninja.postoffice.commonsmail.CommonsmailHelper
-
Creates a MultiPartEmail.
- createMultiPartEmailWithContent(Mail) - Method in class ninja.postoffice.commonsmail.CommonsmailHelperImpl
-
Creates a MultiPartEmail.
- createServerUrl(String, String, Integer) - Method in class ninja.standalone.AbstractStandalone
-
- createServerUrls() - Method in class ninja.standalone.AbstractStandalone
-
- createSSLContext() - Method in class ninja.standalone.AbstractStandalone
-
- createSSLContext(URI, char[], URI, char[]) - Static method in class ninja.standalone.StandaloneHelper
-
- createValidEmailFromString(String) - Method in interface ninja.postoffice.commonsmail.CommonsmailHelper
-
- createValidEmailFromString(String) - Method in class ninja.postoffice.commonsmail.CommonsmailHelperImpl
-
- createWithDefault(String, String, Object...) - Static method in class ninja.validation.ConstraintViolation
-
- credentialsValidator - Variable in class ninja.BasicAuthFilter
-
- Crypto - Class in ninja.utils
-
- Crypto(NinjaProperties) - Constructor for class ninja.utils.Crypto
-
Secret is a secret key.
- CsvParamParser(Class<T[]>, ParamParser<T>) - Constructor for class ninja.params.ParamParsers.CsvParamParser
-
- currentTimeMillis() - Method in interface ninja.utils.Clock
-
- currentTimeMillis() - Method in class ninja.utils.ClockImpl
-
- generateSecret() - Static method in class ninja.utils.SecretGenerator
-
Generates a random String of length 64.
- generateSecret(Random) - Static method in class ninja.utils.SecretGenerator
-
- get(String) - Method in interface ninja.cache.Cache
-
- get(String[]) - Method in interface ninja.cache.Cache
-
- get(String) - Method in class ninja.cache.CacheEhCacheImpl
-
- get(String[]) - Method in class ninja.cache.CacheEhCacheImpl
-
- get(String) - Method in class ninja.cache.CacheMemcachedImpl
-
- get(String[]) - Method in class ninja.cache.CacheMemcachedImpl
-
- get() - Method in class ninja.cache.CacheProvider
-
- get(String) - Method in class ninja.cache.NinjaCache
-
Retrieve an object.
- get(String...) - Method in class ninja.cache.NinjaCache
-
Bulk retrieve.
- get(String, Class<T>) - Method in class ninja.cache.NinjaCache
-
Convenient clazz to get a value a class type;
- get(String, Optional<String>, Object...) - Method in interface ninja.i18n.Messages
-
Get a translated string.
- get(String, Context, Optional<Result>, Object...) - Method in interface ninja.i18n.Messages
-
Get a translated string.
- get(String, Context, Optional<Result>, Object...) - Method in class ninja.i18n.MessagesImpl
-
- get(String, Optional<String>, Object...) - Method in class ninja.i18n.MessagesImpl
-
- get() - Method in class ninja.postoffice.guice.PostofficeProvider
-
- GET() - Method in interface ninja.Router
-
- GET() - Method in class ninja.RouterImpl
-
- get(String) - Method in interface ninja.session.FlashScope
-
- get(String) - Method in class ninja.session.FlashScopeImpl
-
- get(String) - Method in interface ninja.session.Session
-
Returns the value of the key or null.
- get(String) - Method in class ninja.session.SessionImpl
-
- get() - Method in class ninja.utils.LoggerProvider
-
- get(String) - Method in interface ninja.utils.NinjaProperties
-
Get a String property or null if it is not there...
- get(String) - Method in class ninja.utils.NinjaPropertiesImpl
-
- get() - Method in class ninja.utils.ObjectMapperProvider
-
- get(String, String, String) - Method in class ninja.utils.OverlayedNinjaProperties
-
- get() - Method in class ninja.utils.XmlMapperProvider
-
- getAcceptCharset() - Method in interface ninja.Context
-
Get the charset that is acceptable for the client.
- getAcceptCharset() - Method in class ninja.utils.AbstractContext
-
- getAcceptCharset() - Method in class ninja.WrappedContext
-
- getAcceptContentType() - Method in interface ninja.Context
-
Get the content type that is acceptable for the client.
- getAcceptContentType() - Method in class ninja.utils.AbstractContext
-
- getAcceptContentType() - Method in class ninja.WrappedContext
-
- getAcceptEncoding() - Method in interface ninja.Context
-
Get the encoding that is acceptable for the client.
- getAcceptEncoding() - Method in class ninja.utils.AbstractContext
-
- getAcceptEncoding() - Method in class ninja.WrappedContext
-
- getAcceptLanguage() - Method in interface ninja.Context
-
Get the language that is acceptable for the client.
- getAcceptLanguage() - Method in class ninja.utils.AbstractContext
-
- getAcceptLanguage() - Method in class ninja.WrappedContext
-
- getAll(Optional<String>) - Method in interface ninja.i18n.Messages
-
- getAll(Context, Optional<Result>) - Method in interface ninja.i18n.Messages
-
Returns all messages for the default language in that context / result.
- getAll(Context, Optional<Result>) - Method in class ninja.i18n.MessagesImpl
-
- getAll(Optional<String>) - Method in class ninja.i18n.MessagesImpl
-
- getAllCurrentNinjaProperties() - Method in interface ninja.utils.NinjaProperties
-
- getAllCurrentNinjaProperties() - Method in class ninja.utils.NinjaPropertiesImpl
-
- getArgumentClass() - Method in class ninja.params.ArgumentClassHolder
-
- getArrayParser(Class<?>) - Static method in class ninja.params.ParamParsers
-
- getArrayType() - Method in class ninja.params.ParamParsers.ArrayParamParser
-
- getAttribute(String) - Method in interface ninja.Context
-
- getAttribute(String, Class<T>) - Method in interface ninja.Context
-
- getAttribute(String, Class<T>) - Method in class ninja.utils.AbstractContext
-
- getAttribute(String) - Method in class ninja.WrappedContext
-
- getAttribute(String, Class<T>) - Method in class ninja.WrappedContext
-
- getAttributes() - Method in interface ninja.Context
-
Get all the attributes from the request
- getAttributes() - Method in class ninja.WrappedContext
-
- getAuthenticityToken() - Method in interface ninja.session.Session
-
- getAuthenticityToken() - Method in class ninja.session.SessionImpl
-
- getBadRequestResult(Context, Exception) - Method in interface ninja.Ninja
-
Should handle cases where the client sent strange date that
led to an error.
- getBadRequestResult(Context, Exception) - Method in class ninja.NinjaDefault
-
- getBaseUrls() - Method in class ninja.standalone.AbstractStandalone
-
- getBaseUrls() - Method in interface ninja.standalone.Standalone
-
Get the urls for the application that is configured to start.
- getBccs() - Method in class ninja.postoffice.common.MailImpl
-
- getBccs() - Method in interface ninja.postoffice.Mail
-
- getBeanViolations() - Method in interface ninja.validation.Validation
-
Get all bean validations for that bean.
- getBeanViolations() - Method in class ninja.validation.ValidationImpl
-
- getBodyHtml() - Method in class ninja.postoffice.common.MailImpl
-
- getBodyHtml() - Method in interface ninja.postoffice.Mail
-
- getBodyParserEngineForContentType(String) - Method in interface ninja.bodyparser.BodyParserEngineManager
-
Find the body parser engine for the given content type
- getBodyParserEngineForContentType(String) - Method in class ninja.bodyparser.BodyParserEngineManagerImpl
-
- getBodyText() - Method in class ninja.postoffice.common.MailImpl
-
- getBodyText() - Method in interface ninja.postoffice.Mail
-
- getBoolean(String) - Method in interface ninja.utils.NinjaProperties
-
- getBoolean(String) - Method in class ninja.utils.NinjaPropertiesImpl
-
- getBoolean(String, Boolean, Boolean) - Method in class ninja.utils.OverlayedNinjaProperties
-
- getBooleanOrDie(String) - Method in interface ninja.utils.NinjaProperties
-
The "die" method forces this key to be set.
- getBooleanOrDie(String) - Method in class ninja.utils.NinjaPropertiesImpl
-
- getBooleanWithDefault(String, Boolean) - Method in interface ninja.utils.NinjaProperties
-
Get a Boolean property or a default value when property cannot be found
in any configuration file.
- getBooleanWithDefault(String, Boolean) - Method in class ninja.utils.NinjaPropertiesImpl
-
- getCcs() - Method in class ninja.postoffice.common.MailImpl
-
- getCcs() - Method in interface ninja.postoffice.Mail
-
- getCharset() - Method in class ninja.postoffice.common.MailImpl
-
- getCharset() - Method in interface ninja.postoffice.Mail
-
- getCharset() - Method in class ninja.Result
-
- getCharsetOfContentType(String, String) - Static method in class ninja.utils.HttpHeaderUtils
-
A http content type should contain a character set like
"application/json; charset=utf-8".
- getCharsetOfContentTypeOrUtf8(String) - Static method in class ninja.utils.HttpHeaderUtils
-
A http content type should contain a character set like
"application/json; charset=utf-8".
- getComment() - Method in class ninja.Cookie
-
- getConfiguration() - Method in class ninja.template.TemplateEngineFreemarker
-
Allows to modify the FreeMarker configuration.
- getContentType() - Method in interface ninja.bodyparser.BodyParserEngine
-
The content type this BodyParserEngine can handle
MUST BE THREAD SAFE TO CALL!
- getContentType() - Method in class ninja.bodyparser.BodyParserEngineJson
-
- getContentType() - Method in class ninja.bodyparser.BodyParserEnginePost
-
- getContentType() - Method in class ninja.bodyparser.BodyParserEngineXml
-
- getContentType() - Method in class ninja.Result
-
- getContentType() - Method in interface ninja.template.TemplateEngine
-
Get the content type this template engine renders
- getContentType() - Method in class ninja.template.TemplateEngineFreemarker
-
- getContentType() - Method in class ninja.template.TemplateEngineJson
-
- getContentType() - Method in class ninja.template.TemplateEngineJsonP
-
- getContentType() - Method in class ninja.template.TemplateEngineText
-
- getContentType() - Method in class ninja.template.TemplateEngineXml
-
- getContentType() - Method in interface ninja.uploads.FileItem
-
Returns the content type passed by the browser or null
if
not defined.
- getContentType(Context, String) - Method in class ninja.utils.MimeTypes
-
return the content-type from a file name.
- getContentType(Context, String, String) - Method in class ninja.utils.MimeTypes
-
return the content-type from a file name.
For a text-based content-type, also return the encoding suffix eg.
- getContentTypeFromContentTypeAndCharacterSetting(String) - Static method in class ninja.utils.HttpHeaderUtils
-
A http content type should contain a character set like
"application/json; charset=utf-8".
- getContentTypes() - Method in interface ninja.bodyparser.BodyParserEngineManager
-
Returns a set of the registered body parser engine content types.
- getContentTypes() - Method in class ninja.bodyparser.BodyParserEngineManagerImpl
-
- getContentTypes() - Method in interface ninja.template.TemplateEngineManager
-
Returns a set of the registered template engine content types.
- getContentTypes() - Method in class ninja.template.TemplateEngineManagerImpl
-
- getContextPath() - Method in interface ninja.Context
-
Get the context path on which the application is running
That means:
- when running on root the context path is empty
- when running on context there is NEVER a trailing slash
We conform to the following rules:
Returns the portion of the request URI that indicates the context of the
request.
- getContextPath() - Method in class ninja.standalone.AbstractStandalone
-
- getContextPath() - Method in interface ninja.standalone.Standalone
-
- getContextPath() - Method in class ninja.utils.AbstractContext
-
- getContextPath() - Method in interface ninja.utils.NinjaProperties
-
Returns context under which the application is currently running.
- getContextPath() - Method in class ninja.utils.NinjaPropertiesImpl
-
Get the context path on which the application is running
That means:
- when running on root the context path is empty
- when running on context there is NEVER a trailing slash
We conform to the following rules:
Returns the portion of the request URI that indicates the context of the
request.
- getContextPath() - Method in class ninja.WrappedContext
-
- getControllerClass() - Method in class ninja.Route
-
- getControllerMethod() - Method in class ninja.Route
-
- getCookie(String) - Method in interface ninja.Context
-
Get cookie from context.
- getCookie(String) - Method in class ninja.Result
-
Returns cookie with that name or null.
- getCookie(String) - Method in class ninja.WrappedContext
-
- getCookies() - Method in interface ninja.Context
-
Get all cookies from the context.
- getCookies() - Method in class ninja.Result
-
- getCookies() - Method in class ninja.WrappedContext
-
- getCookieValue(String) - Method in interface ninja.Context
-
Get the cookie value from the request, if defined
- getCookieValue(String) - Method in class ninja.utils.AbstractContext
-
- getCookieValue(String) - Method in class ninja.WrappedContext
-
- getCurrentFlashCookieData() - Method in interface ninja.session.FlashScope
-
- getCurrentFlashCookieData() - Method in class ninja.session.FlashScopeImpl
-
- getData() - Method in interface ninja.session.Session
-
- getData() - Method in class ninja.session.SessionImpl
-
- getDefaultMessage() - Method in class ninja.validation.ConstraintViolation
-
- getDomain() - Method in class ninja.Cookie
-
- getExternalConfigurationPath() - Method in class ninja.standalone.AbstractStandalone
-
- getExternalConfigurationPath() - Method in interface ninja.standalone.Standalone
-
- getExtractedType() - Method in interface ninja.params.ArgumentExtractor
-
Get the type of the argument that is extracted
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.AttributeExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.BodyAsExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.ContextExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.FileItemParamExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.FileItemParamsExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.FileParamExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.FileParamsExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.FlashExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.HeaderExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.HeadersExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.InputStreamParamExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.InputStreamParamsExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.ParamExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.ParamsExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.PathParamExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.SessionExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.SessionParamExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.ValidationExtractor
-
- getExtractedType() - Method in class ninja.params.ParsingArgumentExtractor
-
- getExtractedType() - Method in class ninja.params.ParsingArrayExtractor
-
- getExtractedType() - Method in class ninja.params.ValidatingArgumentExtractor
-
- getExtractorForType(Class<?>) - Static method in class ninja.params.ArgumentExtractors
-
- getFieldKey() - Method in class ninja.validation.ConstraintViolation
-
- getFieldName() - Method in interface ninja.params.ArgumentExtractor
-
Get the field name that is being extracted, if this value is
extracted from a field
- getFieldName() - Method in class ninja.params.ArgumentExtractors.AttributeExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.BodyAsExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.ContextExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.FileItemParamExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.FileItemParamsExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.FileParamExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.FileParamsExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.FlashExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.HeaderExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.HeadersExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.InputStreamParamExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.InputStreamParamsExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.ParamExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.ParamsExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.PathParamExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.SessionExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.SessionParamExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.ValidationExtractor
-
- getFieldName() - Method in class ninja.params.ParsingArgumentExtractor
-
- getFieldName() - Method in class ninja.params.ParsingArrayExtractor
-
- getFieldName() - Method in class ninja.params.ValidatingArgumentExtractor
-
- getFieldViolations() - Method in interface ninja.validation.Validation
-
Get a complete list of all field violations.
- getFieldViolations(String) - Method in interface ninja.validation.Validation
-
Get a complete list of field violations for a specified field.
- getFieldViolations() - Method in class ninja.validation.ValidationImpl
-
- getFieldViolations(String) - Method in class ninja.validation.ValidationImpl
-
- getFile() - Method in interface ninja.uploads.FileItem
-
Returns an File
that can be used to retrieve the contents of the file.
- getFileItemIterator() - Method in interface ninja.Context
-
- getFileItemIterator() - Method in class ninja.WrappedContext
-
- getFileName() - Method in interface ninja.uploads.FileItem
-
Returns the original filename in the client's filesystem, as provided by
the browser (or other client software).
- getFilterChain() - Method in class ninja.Route
-
- getFlashCookie() - Method in interface ninja.Context
-
Deprecated.
- getFlashCookie() - Method in class ninja.utils.AbstractContext
-
Deprecated.
- getFlashCookie() - Method in class ninja.WrappedContext
-
- getFlashScope() - Method in interface ninja.Context
-
Returns the flash cookie.
- getFlashScope() - Method in class ninja.utils.AbstractContext
-
- getFlashScope() - Method in class ninja.WrappedContext
-
- getForbiddenResult(Context) - Method in interface ninja.Ninja
-
Should handle cases where access is forbidden
Should lead to a html error 403 - forbidden
(and be used with the same mindset).
- getForbiddenResult(Context) - Method in class ninja.NinjaDefault
-
- getFrom() - Method in class ninja.postoffice.common.MailImpl
-
- getFrom() - Method in interface ninja.postoffice.Mail
-
- getGeneralViolations() - Method in interface ninja.validation.Validation
-
Deprecated.
- getGeneralViolations() - Method in class ninja.validation.ValidationImpl
-
- getHeader(String) - Method in interface ninja.Context
-
Get the (first) request header with the given name
- getHeader(String) - Method in class ninja.WrappedContext
-
- getHeaders(String) - Method in interface ninja.Context
-
Get all the request headers with the given name.
- getHeaders() - Method in interface ninja.Context
-
Get all the headers from the request
- getHeaders() - Method in class ninja.postoffice.common.MailImpl
-
- getHeaders() - Method in interface ninja.postoffice.Mail
-
- getHeaders() - Method in class ninja.Result
-
- getHeaders() - Method in interface ninja.uploads.FileItem
-
Returns the file item headers.
- getHeaders(String) - Method in class ninja.WrappedContext
-
- getHeaders() - Method in class ninja.WrappedContext
-
- getHost() - Method in class ninja.standalone.AbstractStandalone
-
- getHost() - Method in interface ninja.standalone.Standalone
-
- getHostname() - Method in interface ninja.Context
-
Returns the hostname as seen by the server.
- getHostname() - Method in class ninja.WrappedContext
-
- getHttpMethod() - Method in class ninja.Route
-
- getHttpStatus() - Method in exception ninja.exceptions.NinjaException
-
- getId() - Method in interface ninja.session.Session
-
- getId() - Method in class ninja.session.SessionImpl
-
- getIdleTimeout() - Method in class ninja.standalone.AbstractStandalone
-
- getIdleTimeout() - Method in interface ninja.standalone.Standalone
-
- getInjector() - Method in class ninja.Bootstrap
-
- getInjector() - Method in interface ninja.standalone.Standalone
-
Gets the Guice injector that booted the Ninja application.
- getInputStream() - Method in interface ninja.Context
-
Get the input stream to read the request.
- getInputStream() - Method in interface ninja.uploads.FileItem
-
Returns an InputStream
that can be
used to retrieve the contents of the file.
- getInputStream() - Method in class ninja.WrappedContext
-
- getInteger(String) - Method in interface ninja.utils.NinjaProperties
-
Get a property as Integer of null if not there / or property no integer
- getInteger(String) - Method in class ninja.utils.NinjaPropertiesImpl
-
- getInteger(String, Integer, Integer) - Method in class ninja.utils.OverlayedNinjaProperties
-
- getIntegerOrDie(String) - Method in interface ninja.utils.NinjaProperties
-
The "die" method forces this key to be set.
- getIntegerOrDie(String) - Method in class ninja.utils.NinjaPropertiesImpl
-
- getIntegerWithDefault(String, Integer) - Method in interface ninja.utils.NinjaProperties
-
Get a Integer property or a default value when property cannot be found
in any configuration file.
- getIntegerWithDefault(String, Integer) - Method in class ninja.utils.NinjaPropertiesImpl
-
- getInternalServerErrorResult(Context, Exception) - Method in interface ninja.Ninja
-
Should handle cases where an exception is thrown
when handling a route that let to an internal server error.
- getInternalServerErrorResult(Context, Exception) - Method in class ninja.NinjaDefault
-
- getInternalServerErrorResult(Context, Exception, Result) - Method in class ninja.NinjaDefault
-
- getItemType() - Method in class ninja.params.ParamParsers.ArrayParamParser
-
- getJsonView() - Method in class ninja.Result
-
- getLanguage(Context, Optional<Result>) - Method in interface ninja.i18n.Lang
-
Retrieve the current language or null if not set.
- getLanguage(Context, Optional<Result>) - Method in class ninja.i18n.LangImpl
-
- getLastModified(Object) - Method in class ninja.template.TemplateEngineFreemarkerEscapedLoader
-
- getLastSentMail() - Method in class ninja.postoffice.mock.PostofficeMockImpl
-
- getLineNumber() - Method in exception ninja.exceptions.RenderingException
-
- getLineNumberFrom() - Method in class ninja.diagnostics.SourceSnippet
-
- getLineNumberOfError() - Method in class ninja.diagnostics.DiagnosticError
-
- getLineNumberOfSourceLines() - Method in class ninja.diagnostics.DiagnosticError
-
- getLineNumberTo() - Method in class ninja.diagnostics.SourceSnippet
-
- getLines() - Method in class ninja.diagnostics.SourceSnippet
-
- getLocaleFromStringOrDefault(Optional<String>) - Method in interface ninja.i18n.Lang
-
application.conf usually contains the following:
application.languages=en,de
This little helper converts a language code
like (en, en-US etc) to a Java locale.
- getLocaleFromStringOrDefault(Optional<String>) - Method in class ninja.i18n.LangImpl
-
- getLoggableIdentifier() - Method in class ninja.standalone.AbstractStandalone
-
- getLong(String, Long, Long) - Method in class ninja.utils.OverlayedNinjaProperties
-
- getMaxAge() - Method in class ninja.Cookie
-
- getMessageKey() - Method in class ninja.validation.ConstraintViolation
-
- getMessageParams() - Method in class ninja.validation.ConstraintViolation
-
- getMethod() - Method in interface ninja.Context
-
Returns the name of the HTTP method with which this
request was made, for example, GET, POST, or PUT.
- getMethod() - Method in class ninja.WrappedContext
-
- getMimeType(String) - Method in class ninja.utils.MimeTypes
-
return the mimetype from a file name
- getMimeType(String, String) - Method in class ninja.utils.MimeTypes
-
return the mimetype from a file name.
- getModule() - Static method in class ninja.lifecycle.LifecycleSupport
-
Get the lifecycle support module
- getModule() - Static method in class ninja.scheduler.SchedulerSupport
-
Get the scheduler support module
- getName() - Method in class ninja.Cookie
-
- getName() - Method in class ninja.standalone.AbstractStandalone
-
- getName() - Method in interface ninja.standalone.Standalone
-
- getNinjaMode() - Method in class ninja.standalone.AbstractStandalone
-
- getNinjaMode() - Method in interface ninja.standalone.Standalone
-
- getNinjaProperties() - Method in class ninja.standalone.AbstractStandalone
-
- getNinjaProperties() - Method in interface ninja.standalone.Standalone
-
Gets the NinjaProperties that were used to configure Ninja.
- getNotFoundResult(Context) - Method in interface ninja.Ninja
-
Should handle cases where no route can be found for a given request.
- getNotFoundResult(Context) - Method in class ninja.NinjaDefault
-
- getOrDie(String) - Method in interface ninja.utils.NinjaProperties
-
The "die" method forces this key to be set.
- getOrDie(String) - Method in class ninja.utils.NinjaPropertiesImpl
-
- getOutgoingFlashCookieData() - Method in interface ninja.session.FlashScope
-
- getOutgoingFlashCookieData() - Method in class ninja.session.FlashScopeImpl
-
- getOutputStream() - Method in interface ninja.utils.ResponseStreams
-
Get the output stream to write the response.
- getParameter(String) - Method in interface ninja.Context
-
Get the parameter with the given key from the request.
- getParameter(String, String) - Method in interface ninja.Context
-
- getParameter(String, String) - Method in class ninja.utils.AbstractContext
-
- getParameter(String) - Method in class ninja.WrappedContext
-
- getParameter(String, String) - Method in class ninja.WrappedContext
-
- getParameterAs(String, Class<T>) - Method in interface ninja.Context
-
- getParameterAs(String, Class<T>, T) - Method in interface ninja.Context
-
- getParameterAs(String, Class<T>) - Method in class ninja.utils.AbstractContext
-
- getParameterAs(String, Class<T>, T) - Method in class ninja.utils.AbstractContext
-
- getParameterAs(String, Class<T>) - Method in class ninja.WrappedContext
-
- getParameterAs(String, Class<T>, T) - Method in class ninja.WrappedContext
-
- getParameterAsFileItem(String) - Method in interface ninja.Context
-
- getParameterAsFileItem(String) - Method in class ninja.WrappedContext
-
- getParameterAsFileItems(String) - Method in interface ninja.Context
-
Get the files parameter with the given key from the request.
- getParameterAsFileItems(String) - Method in class ninja.WrappedContext
-
- getParameterAsInteger(String) - Method in interface ninja.Context
-
- getParameterAsInteger(String, Integer) - Method in interface ninja.Context
-
- getParameterAsInteger(String) - Method in class ninja.utils.AbstractContext
-
- getParameterAsInteger(String, Integer) - Method in class ninja.utils.AbstractContext
-
- getParameterAsInteger(String) - Method in class ninja.WrappedContext
-
- getParameterAsInteger(String, Integer) - Method in class ninja.WrappedContext
-
- getParameterFileItems() - Method in interface ninja.Context
-
Get all the file parameters from the request
- getParameterFileItems() - Method in class ninja.WrappedContext
-
- getParameters() - Method in interface ninja.Context
-
Get all the parameters from the request
- getParameters() - Method in class ninja.WrappedContext
-
- getParameterValues(String) - Method in interface ninja.Context
-
Get the parameter with the given key from the request.
- getParameterValues(String) - Method in class ninja.WrappedContext
-
- getParamParser(Class<?>) - Static method in class ninja.params.ParamParsers
-
- getParsedType() - Method in interface ninja.params.ParamParser
-
Get the type that this parser parses to
- getParsedType() - Method in class ninja.params.ParamParsers.BooleanParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.ByteParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.CharacterParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.CsvParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.DoubleParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.EnumParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.FloatParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.IntegerParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.LongParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.PrimitiveBooleanParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.PrimitiveByteParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.PrimitiveCharacterParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.PrimitiveDoubleParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.PrimitiveFloatParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.PrimitiveIntegerParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.PrimitiveLongParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.PrimitiveShortParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.ShortParamParser
-
- getParsedType() - Method in class ninja.params.ParamParsers.StringParamParser
-
- getPath() - Method in class ninja.Cookie
-
- getPathParameter(String) - Method in interface ninja.Context
-
Get the path parameter for the given key.
- getPathParameter(String) - Method in class ninja.utils.AbstractContext
-
- getPathParameter(String) - Method in class ninja.WrappedContext
-
- getPathParameterAsInteger(String) - Method in interface ninja.Context
-
Get the path parameter for the given key and convert it to Integer.
- getPathParameterAsInteger(String) - Method in class ninja.utils.AbstractContext
-
- getPathParameterAsInteger(String) - Method in class ninja.WrappedContext
-
- getPathParameterEncoded(String) - Method in interface ninja.Context
-
Get the path parameter for the given key.
- getPathParameterEncoded(String) - Method in class ninja.utils.AbstractContext
-
- getPathParameterEncoded(String) - Method in class ninja.WrappedContext
-
- getPathParametersEncoded(String) - Method in class ninja.Route
-
This method does not do any decoding / encoding.
- getPort() - Method in class ninja.standalone.AbstractStandalone
-
- getPort() - Method in interface ninja.standalone.Standalone
-
- getReader() - Method in interface ninja.Context
-
Get the reader to read the request.
- getReader(Object, String) - Method in class ninja.template.TemplateEngineFreemarkerEscapedLoader
-
- getReader() - Method in class ninja.WrappedContext
-
- getRealClassNameLowerCamelCase(Object) - Static method in class ninja.utils.SwissKnife
-
Returns the lower class name.
- getRealRemoteAddr() - Method in class ninja.utils.AbstractContext
-
Get the "real" address of the client connection.
- getRemoteAddr() - Method in interface ninja.Context
-
Returns the Internet Protocol (IP) address of the client
or last proxy that sent the request.
- getRemoteAddr() - Method in class ninja.utils.AbstractContext
-
- getRemoteAddr() - Method in class ninja.WrappedContext
-
- getRenderable() - Method in class ninja.Result
-
- getRenderingExceptionResult(Context, RenderingException, Result) - Method in class ninja.NinjaDefault
-
- getReplyTo() - Method in class ninja.postoffice.common.MailImpl
-
- getReplyTo() - Method in interface ninja.postoffice.Mail
-
- getRequestContentType() - Method in interface ninja.Context
-
The Content-Type header field indicates the media type of the request
body sent to the recipient.
- getRequestContentType() - Method in class ninja.WrappedContext
-
- getRequestPath() - Method in interface ninja.Context
-
Returns the path that Ninja should act upon.
- getRequestPath() - Method in class ninja.utils.AbstractContext
-
- getRequestPath() - Method in class ninja.WrappedContext
-
- getRequestUri() - Method in interface ninja.Context
-
Deprecated.
- getRequestUri() - Method in class ninja.WrappedContext
-
- getResult() - Method in exception ninja.exceptions.RenderingException
-
- getReverseRoute(Class<?>, String) - Method in interface ninja.Router
-
Retrieves the reverse route for this controllerClass and method.
- getReverseRoute(Class<?>, String, Map<String, Object>) - Method in interface ninja.Router
-
Retrieves the reverse route for this controllerClass and method.
- getReverseRoute(Class<?>, String, Object...) - Method in interface ninja.Router
-
Retrieves the reverse route for this controllerClass and method.
- getReverseRoute(Class<?>, String, Optional<Map<String, Object>>) - Method in interface ninja.Router
-
Retrieves the reverse route for this controllerClass and method.
- getReverseRoute(Class<?>, String) - Method in class ninja.RouterImpl
-
- getReverseRoute(Class<?>, String, Object...) - Method in class ninja.RouterImpl
-
- getReverseRoute(Class<?>, String, Optional<Map<String, Object>>) - Method in class ninja.RouterImpl
-
- getReverseRoute(Class<?>, String, Map<String, Object>) - Method in class ninja.RouterImpl
-
- getRoute() - Method in interface ninja.Context
-
Get the route for this context
- getRoute() - Method in class ninja.utils.AbstractContext
-
- getRoute() - Method in class ninja.WrappedContext
-
- getRouteFor(String, String) - Method in interface ninja.Router
-
Get the route for the given method and URI
- getRouteFor(String, String) - Method in class ninja.RouterImpl
-
- getRoutes() - Method in interface ninja.Router
-
Returns the list of compiled routes.
- getRoutes() - Method in class ninja.RouterImpl
-
- getScheme() - Method in interface ninja.Context
-
For instance:
http://example.com/index returns "http".
- getScheme() - Method in class ninja.WrappedContext
-
- getServerUrls() - Method in class ninja.standalone.AbstractStandalone
-
- getServerUrls() - Method in interface ninja.standalone.Standalone
-
Get the urls for the servers that are configured to start.
- getSession() - Method in interface ninja.Context
-
Returns the client side session.
- getSession() - Method in class ninja.utils.AbstractContext
-
- getSession() - Method in class ninja.WrappedContext
-
- getSessionCookie() - Method in interface ninja.Context
-
Deprecated.
- getSessionCookie() - Method in class ninja.utils.AbstractContext
-
Deprecated.
- getSessionCookie() - Method in class ninja.WrappedContext
-
- getSourceCodeRelativePathForStackTraceElement(StackTraceElement) - Static method in class ninja.diagnostics.DiagnosticErrorBuilder
-
Calculates the relative path of the source code file of a StackTrace
element if its available.
- getSourceLines() - Method in class ninja.diagnostics.DiagnosticError
-
- getSourceLocation() - Method in class ninja.diagnostics.DiagnosticError
-
- getSourceLocation() - Method in class ninja.diagnostics.SourceSnippet
-
- getSourcePath() - Method in exception ninja.exceptions.RenderingException
-
- getSslKeystorePassword() - Method in class ninja.standalone.AbstractStandalone
-
- getSslKeystorePassword() - Method in interface ninja.standalone.Standalone
-
- getSslKeystoreUri() - Method in class ninja.standalone.AbstractStandalone
-
- getSslKeystoreUri() - Method in interface ninja.standalone.Standalone
-
- getSslPort() - Method in class ninja.standalone.AbstractStandalone
-
- getSslPort() - Method in interface ninja.standalone.Standalone
-
- getSslTruststorePassword() - Method in class ninja.standalone.AbstractStandalone
-
- getSslTruststorePassword() - Method in interface ninja.standalone.Standalone
-
- getSslTruststoreUri() - Method in class ninja.standalone.AbstractStandalone
-
- getSslTruststoreUri() - Method in interface ninja.standalone.Standalone
-
- getState() - Method in interface ninja.lifecycle.LifecycleService
-
Get the state of the lifecycle
- getState() - Method in class ninja.lifecycle.LifecycleServiceImpl
-
- getStatusCode() - Method in class ninja.Result
-
- getStringArray(String) - Method in interface ninja.utils.NinjaProperties
-
eg.
- getStringArray(String) - Method in class ninja.utils.NinjaPropertiesImpl
-
- getSubject() - Method in class ninja.postoffice.common.MailImpl
-
- getSubject() - Method in interface ninja.postoffice.Mail
-
- getSuffixOfTemplatingEngine() - Method in interface ninja.template.TemplateEngine
-
For instance returns ".ftl.html" Or .ftl.json.
- getSuffixOfTemplatingEngine() - Method in class ninja.template.TemplateEngineFreemarker
-
- getSuffixOfTemplatingEngine() - Method in class ninja.template.TemplateEngineJson
-
- getSuffixOfTemplatingEngine() - Method in class ninja.template.TemplateEngineJsonP
-
- getSuffixOfTemplatingEngine() - Method in class ninja.template.TemplateEngineText
-
- getSuffixOfTemplatingEngine() - Method in class ninja.template.TemplateEngineXml
-
- getTemplate() - Method in class ninja.Result
-
- getTemplateEngineForContentType(String) - Method in interface ninja.template.TemplateEngineManager
-
Find the template engine for the given content type
- getTemplateEngineForContentType(String) - Method in class ninja.template.TemplateEngineManagerImpl
-
- getTemplateForResult(Route, Result, String) - Method in class ninja.template.TemplateEngineHelper
-
- getThrowable() - Method in class ninja.diagnostics.DiagnosticError
-
- getTitle() - Method in class ninja.diagnostics.DiagnosticError
-
- getTitle() - Method in exception ninja.exceptions.RenderingException
-
- getTos() - Method in class ninja.postoffice.common.MailImpl
-
- getTos() - Method in interface ninja.postoffice.Mail
-
- getUnauthorizedResult(Context) - Method in interface ninja.Ninja
-
Should handle cases where access is unauthorized
Should lead to a html error 401 - unauthorized
(and be used with the same mindset).
- getUnauthorizedResult(Context) - Method in class ninja.NinjaDefault
-
- getUnderlyingResult() - Method in class ninja.diagnostics.DiagnosticError
-
- getUpTime() - Method in interface ninja.lifecycle.LifecycleService
-
Get the time that the service has been up for
- getUpTime() - Method in class ninja.lifecycle.LifecycleServiceImpl
-
- getUri() - Method in class ninja.Route
-
- getURI(String, URI, URI) - Method in class ninja.utils.OverlayedNinjaProperties
-
- getUrl() - Method in class ninja.Route
-
- getUrlForStringFromClasspathAsFileOrUrl(String) - Static method in class ninja.logging.LogbackConfigurator
-
Looks up a potential file from
1) The classpahth
2) From the filesystem
3) From an URL
- getValidatedType() - Method in interface ninja.validation.Validator
-
Get the type that this validator validates
- getValidatedType() - Method in class ninja.validation.Validators.EnumValidator
-
- getValidatedType() - Method in class ninja.validation.Validators.FloatValidator
-
- getValidatedType() - Method in class ninja.validation.Validators.IntegerValidator
-
- getValidatedType() - Method in class ninja.validation.Validators.JSRValidator
-
- getValidatedType() - Method in class ninja.validation.Validators.LengthValidator
-
- getValidatedType() - Method in class ninja.validation.Validators.MatchesValidator
-
- getValidatedType() - Method in class ninja.validation.Validators.NumberValidator
-
- getValidatedType() - Method in class ninja.validation.Validators.RequiredValidator
-
- getValidation() - Method in interface ninja.Context
-
Get the validation context
- getValidation() - Method in class ninja.utils.AbstractContext
-
- getValidation() - Method in class ninja.WrappedContext
-
- getValue() - Method in class ninja.Cookie
-
- getWithDefault(String, String, Optional<String>, Object...) - Method in interface ninja.i18n.Messages
-
Gets a message for a message key.
- getWithDefault(String, String, Context, Optional<Result>, Object...) - Method in interface ninja.i18n.Messages
-
Gets a message for a message key.
- getWithDefault(String, String, Context, Optional<Result>, Object...) - Method in class ninja.i18n.MessagesImpl
-
- getWithDefault(String, String, Optional<String>, Object...) - Method in class ninja.i18n.MessagesImpl
-
- getWithDefault(String, String) - Method in interface ninja.utils.NinjaProperties
-
Get a String property or a default value when property cannot be found in
any configuration file.
- getWithDefault(String, String) - Method in class ninja.utils.NinjaPropertiesImpl
-
- getWriter() - Method in interface ninja.utils.ResponseStreams
-
Get the writer to write the response.
- I18N_NINJA_SYSTEM_BAD_REQUEST_TEXT_DEFAULT - Static variable in interface ninja.utils.NinjaConstant
-
- I18N_NINJA_SYSTEM_BAD_REQUEST_TEXT_KEY - Static variable in interface ninja.utils.NinjaConstant
-
- I18N_NINJA_SYSTEM_FORBIDDEN_REQUEST_TEXT_DEFAULT - Static variable in interface ninja.utils.NinjaConstant
-
- I18N_NINJA_SYSTEM_FORBIDDEN_REQUEST_TEXT_KEY - Static variable in interface ninja.utils.NinjaConstant
-
- I18N_NINJA_SYSTEM_INTERNAL_SERVER_ERROR_TEXT_DEFAULT - Static variable in interface ninja.utils.NinjaConstant
-
- I18N_NINJA_SYSTEM_INTERNAL_SERVER_ERROR_TEXT_KEY - Static variable in interface ninja.utils.NinjaConstant
-
- I18N_NINJA_SYSTEM_NOT_FOUND_TEXT_DEFAULT - Static variable in interface ninja.utils.NinjaConstant
-
- I18N_NINJA_SYSTEM_NOT_FOUND_TEXT_KEY - Static variable in interface ninja.utils.NinjaConstant
-
- I18N_NINJA_SYSTEM_UNAUTHORIZED_REQUEST_TEXT_DEFAULT - Static variable in interface ninja.utils.NinjaConstant
-
- I18N_NINJA_SYSTEM_UNAUTHORIZED_REQUEST_TEXT_KEY - Static variable in interface ninja.utils.NinjaConstant
-
- ID_KEY - Static variable in interface ninja.session.Session
-
- idleTimeout - Variable in class ninja.standalone.AbstractStandalone
-
- idleTimeout(long) - Method in class ninja.standalone.AbstractStandalone
-
- idleTimeout(long) - Method in interface ninja.standalone.Standalone
-
- IF_MODIFIED_SINCE - Static variable in interface ninja.utils.HttpHeaderConstants
-
- IF_NONE_MATCH - Static variable in interface ninja.utils.HttpHeaderConstants
-
- incr(String, int) - Method in interface ninja.cache.Cache
-
- incr(String, int) - Method in class ninja.cache.CacheEhCacheImpl
-
- incr(String, int) - Method in class ninja.cache.CacheMemcachedImpl
-
- incr(String, int) - Method in class ninja.cache.NinjaCache
-
Increment the element value (must be a Number).
- incr(String) - Method in class ninja.cache.NinjaCache
-
Increment the element value (must be a Number) by 1.
- init(Router) - Method in interface ninja.application.ApplicationRoutes
-
- init(Context) - Method in interface ninja.session.FlashScope
-
- init(Context) - Method in class ninja.session.FlashScopeImpl
-
- init(Context) - Method in interface ninja.session.Session
-
Has to be called initially.
- init(Context) - Method in class ninja.session.SessionImpl
-
- init(String, String) - Method in class ninja.utils.AbstractContext
-
- initConfiguration(NinjaProperties) - Static method in class ninja.logging.LogbackConfigurator
-
- initRoutes() - Method in class ninja.Bootstrap
-
- injector - Variable in class ninja.utils.AbstractContext
-
- InputStreamParamExtractor(Param) - Constructor for class ninja.params.ArgumentExtractors.InputStreamParamExtractor
-
- InputStreamParamsExtractor(Params) - Constructor for class ninja.params.ArgumentExtractors.InputStreamParamsExtractor
-
- IntegerParamParser() - Constructor for class ninja.params.ParamParsers.IntegerParamParser
-
- IntegerValidator(IsInteger) - Constructor for class ninja.validation.Validators.IntegerValidator
-
- internalServerError() - Static method in class ninja.Results
-
- InternalServerErrorException - Exception in ninja.exceptions
-
A convenience unchecked exception.
- InternalServerErrorException() - Constructor for exception ninja.exceptions.InternalServerErrorException
-
- InternalServerErrorException(String) - Constructor for exception ninja.exceptions.InternalServerErrorException
-
- InternalServerErrorException(String, Throwable) - Constructor for exception ninja.exceptions.InternalServerErrorException
-
- InternalServerErrorException(Throwable) - Constructor for exception ninja.exceptions.InternalServerErrorException
-
- invoke(Context, Class<T>) - Method in interface ninja.bodyparser.BodyParserEngine
-
Invoke the parser and get back a Java object populated
with the content of this request.
- invoke(Context, Class<T>) - Method in class ninja.bodyparser.BodyParserEngineJson
-
- invoke(Context, Class<T>) - Method in class ninja.bodyparser.BodyParserEnginePost
-
- invoke(Context, Class<T>) - Method in class ninja.bodyparser.BodyParserEngineXml
-
- invoke(MethodInvocation) - Method in class ninja.jpa.UnitOfWorkInterceptor
-
- invoke(Object, Context) - Method in class ninja.params.ControllerMethodInvoker
-
- invoke(Context, Result) - Method in interface ninja.template.TemplateEngine
-
Render the given object to the given context
- invoke(Context, Result) - Method in class ninja.template.TemplateEngineFreemarker
-
- invoke(Context, Result) - Method in class ninja.template.TemplateEngineJson
-
- invoke(Context, Result) - Method in class ninja.template.TemplateEngineJsonP
-
- invoke(Context, Result) - Method in class ninja.template.TemplateEngineText
-
- invoke(Context, Result) - Method in class ninja.template.TemplateEngineXml
-
- isAsync() - Method in interface ninja.Context
-
- isAsync() - Method in class ninja.WrappedContext
-
- isCaseSensitive() - Method in class ninja.params.ParamParsers.EnumParamParser
-
Determines if the enum parser is case-sensitive.
- isDev() - Method in interface ninja.utils.NinjaProperties
-
Whether we are in dev mode
- isDev() - Method in class ninja.utils.NinjaPropertiesImpl
-
- isDiagnosticsEnabled() - Method in class ninja.NinjaDefault
-
Whether diagnostics are enabled.
- isEmpty() - Method in interface ninja.session.Session
-
Returns true if the session is empty, e.g.
- isEmpty() - Method in class ninja.session.SessionImpl
-
- IsEnum - Annotation Type in ninja.validation
-
Validates that the field is a valid enum constant.
- IsFloat - Annotation Type in ninja.validation
-
Validates that the field is a floating point number.
- isHttpOnly() - Method in class ninja.Cookie
-
- IsInteger - Annotation Type in ninja.validation
-
Validates that the field is an integer.
- isLanguageDirectlySupportedByThisApplication(String) - Method in interface ninja.i18n.Lang
-
application.conf usually contains the following:
application.languages=en,de
This little helper checks if the language is supported.
- isLanguageDirectlySupportedByThisApplication(String) - Method in class ninja.i18n.LangImpl
-
- isModified(Optional<String>, Optional<Long>, Context) - Method in interface ninja.utils.HttpCacheToolkit
-
Checks if resource has been modified.
- isModified(Optional<String>, Optional<Long>, Context) - Method in class ninja.utils.HttpCacheToolkitImpl
-
- isMultipart() - Method in interface ninja.Context
-
Check if request is of type multipart.
- isMultipart() - Method in class ninja.WrappedContext
-
- isPortEnabled() - Method in class ninja.standalone.AbstractStandalone
-
- isPortEnabled() - Method in interface ninja.standalone.Standalone
-
Tests if the clear text HTTP port is enabled.
- isProd() - Method in interface ninja.utils.NinjaProperties
-
Whether we are in prod mode
- isProd() - Method in class ninja.utils.NinjaPropertiesImpl
-
- isRequestJson() - Method in interface ninja.Context
-
Check to see if the request content type is JSON.
- isRequestJson() - Method in class ninja.utils.AbstractContext
-
- isRequestJson() - Method in class ninja.WrappedContext
-
- isRequestXml() - Method in interface ninja.Context
-
Check to see if the request content type is XML.
- isRequestXml() - Method in class ninja.utils.AbstractContext
-
- isRequestXml() - Method in class ninja.WrappedContext
-
- isSecure() - Method in class ninja.Cookie
-
- isSslPortEnabled() - Method in class ninja.standalone.AbstractStandalone
-
- isSslPortEnabled() - Method in interface ninja.standalone.Standalone
-
Tests if the SSL HTTP port is enabled.
- isStarted() - Method in interface ninja.lifecycle.LifecycleService
-
Whether the application is started
- isStarted() - Method in class ninja.lifecycle.LifecycleServiceImpl
-
- isTest() - Method in interface ninja.utils.NinjaProperties
-
Whether we are in test mode
- isTest() - Method in class ninja.utils.NinjaPropertiesImpl
-
- isThisASecureCallbackName(String) - Static method in class ninja.template.TemplateEngineJsonP
-
Tests whether the given function name is a valid JSONP function
name/path.
- isValidMimeType(String) - Method in class ninja.utils.MimeTypes
-
check the mimetype is referenced in the mimetypes database
- readFromFile(File, int, int) - Static method in class ninja.diagnostics.SourceSnippetHelper
-
- readFromQualifiedSourceCodePath(File, String, String, int, int) - Static method in class ninja.diagnostics.SourceSnippetHelper
-
- readFromRelativeFilePath(File, String, int, int) - Static method in class ninja.diagnostics.SourceSnippetHelper
-
- realm - Variable in class ninja.BasicAuthFilter
-
- redirect(String) - Method in class ninja.Result
-
A redirect that uses 303 see other.
- redirect(String) - Static method in class ninja.Results
-
A redirect that uses 303 see other.
- redirectTemporary(String) - Method in class ninja.Result
-
A redirect that uses 307 see other.
- redirectTemporary(String) - Static method in class ninja.Results
-
A redirect that uses 307 see other.
- registerEnum(Class<E>) - Static method in class ninja.params.ParamParsers
-
- registerEnum(Class<E>, boolean) - Static method in class ninja.params.ParamParsers
-
- registerLifecycle(Object) - Method in class ninja.lifecycle.LifecycleSupport
-
- remove(String) - Method in interface ninja.session.FlashScope
-
- remove(String) - Method in class ninja.session.FlashScopeImpl
-
- remove(String) - Method in interface ninja.session.Session
-
Removes the value of the key and returns the value or null.
- remove(String) - Method in class ninja.session.SessionImpl
-
- render(Context, Result) - Method in class ninja.diagnostics.DiagnosticError
-
- render() - Method in class ninja.diagnostics.DiagnosticErrorRenderer
-
- render(Context, Result) - Method in interface ninja.Renderable
-
- render(Object) - Method in class ninja.Result
-
This method handles two principal cases:
1) If the this.renderable of this result is null, the object passed is simply set as renderable
for this Result
2) If the this.renderable of this result is not null an new map is generated as
object to render and both the former renderable and the new object added to the map.
- render(Map<String, Object>) - Method in class ninja.Result
-
Replaces the object being passed by this result to the rendering engine
with this map.
- render(Map.Entry<String, Object>) - Method in class ninja.Result
-
Handles following cases:
1) If this.renderable is null: a new HashMap is generated and this entry being added
to the map.
- render(Renderable) - Method in class ninja.Result
-
Sets this renderable as object to render.
- render(String, Object) - Method in class ninja.Result
-
Implicitly generates a hashmap as object being rendered and adds
this key, value pair.
- Renderable - Interface in ninja
-
Renderables can be returned inside a result.
- renderErrorResultAndCatchAndLogExceptions(Result, Context) - Method in interface ninja.Ninja
-
Should be used to render an error.
- renderErrorResultAndCatchAndLogExceptions(Result, Context) - Method in class ninja.NinjaDefault
-
- RenderingException - Exception in ninja.exceptions
-
A convenience unchecked exception for "rendering" exceptions.
- RenderingException() - Constructor for exception ninja.exceptions.RenderingException
-
- RenderingException(String) - Constructor for exception ninja.exceptions.RenderingException
-
- RenderingException(String, Throwable) - Constructor for exception ninja.exceptions.RenderingException
-
- RenderingException(String, Throwable, Result, String, int) - Constructor for exception ninja.exceptions.RenderingException
-
- RenderingException(String, Throwable, Result, String, String, int) - Constructor for exception ninja.exceptions.RenderingException
-
- renderRaw(String) - Method in class ninja.Result
-
- renderRaw(byte[]) - Method in class ninja.Result
-
This method directly renders the byte array to the output.
- renderResult(Context, Result) - Method in class ninja.diagnostics.DiagnosticErrorRenderer
-
- replace(String, Object, int) - Method in interface ninja.cache.Cache
-
- replace(String, Object, int) - Method in class ninja.cache.CacheEhCacheImpl
-
- replace(String, Object, int) - Method in class ninja.cache.CacheMemcachedImpl
-
- replace(String, Object, String) - Method in class ninja.cache.NinjaCache
-
Replace an element only if it already exists.
- replace(String, Object) - Method in class ninja.cache.NinjaCache
-
Replace an element only if it already exists and store it indefinitely.
- Required - Annotation Type in ninja.validation
-
Validates that the length of the field meets the given length constraints
- RequiredValidator(Required) - Constructor for class ninja.validation.Validators.RequiredValidator
-
- resolveApplicationClassName(String) - Method in class ninja.Bootstrap
-
- resolveStandaloneClass() - Static method in class ninja.standalone.StandaloneHelper
-
Resolves which standalone class to use.
- ResponseStreams - Interface in ninja.utils
-
Make sure to only write to either the OutputStream OR the Writer...
- Result - Class in ninja
-
- Result(int) - Constructor for class ninja.Result
-
A result.
- resultHandler - Variable in class ninja.NinjaDefault
-
- ResultHandler - Class in ninja.utils
-
- ResultHandler(Logger, TemplateEngineManager) - Constructor for class ninja.utils.ResultHandler
-
- Results - Class in ninja
-
Convenience methods for the generation of Results.
- Results() - Constructor for class ninja.Results
-
- returnResultAsync(Result) - Method in interface ninja.Context
-
Indicate that request processing of an async request is complete.
- returnResultAsync(Result) - Method in class ninja.WrappedContext
-
- Route - Class in ninja
-
A route
- Route(String, String, Class, Method, FilterChain) - Constructor for class ninja.Route
-
- route(String) - Method in interface ninja.RouteBuilder
-
- route - Variable in class ninja.utils.AbstractContext
-
- RouteBuilder - Interface in ninja
-
- router - Variable in class ninja.NinjaDefault
-
- Router - Interface in ninja
-
- RouterImpl - Class in ninja
-
- RouterImpl(Injector, NinjaProperties) - Constructor for class ninja.RouterImpl
-
- ROUTES_CONVENTION_LOCATION - Static variable in class ninja.Bootstrap
-
- RoutingException - Exception in ninja
-
Exception thrown when an error in route configuration is found
- RoutingException() - Constructor for exception ninja.RoutingException
-
- RoutingException(String) - Constructor for exception ninja.RoutingException
-
- RoutingException(String, Throwable) - Constructor for exception ninja.RoutingException
-
- RoutingException(Throwable) - Constructor for exception ninja.RoutingException
-
- run() - Method in class ninja.standalone.AbstractStandalone
-
Configure, start, add shutdown hook, and join.
- run() - Method in interface ninja.standalone.Standalone
-
Configure, start, add shutdown hook, and join.
- safeAdd(String, Object, int) - Method in interface ninja.cache.Cache
-
- safeAdd(String, Object, int) - Method in class ninja.cache.CacheEhCacheImpl
-
- safeAdd(String, Object, int) - Method in class ninja.cache.CacheMemcachedImpl
-
- safeAdd(String, Object, String) - Method in class ninja.cache.NinjaCache
-
Add an element only if it doesn't exist, and return only when
the element is effectively cached.
- safeDelete(String) - Method in interface ninja.cache.Cache
-
- safeDelete(String) - Method in class ninja.cache.CacheEhCacheImpl
-
- safeDelete(String) - Method in class ninja.cache.CacheMemcachedImpl
-
- safeDelete(String) - Method in class ninja.cache.NinjaCache
-
Delete an element from the cache and return only when the
element is effectively removed.
- safeEquals(String, String) - Static method in class ninja.utils.CookieDataCodec
-
Constant time for same length String comparison, to prevent timing attacks
- safeReplace(String, Object, int) - Method in interface ninja.cache.Cache
-
- safeReplace(String, Object, int) - Method in class ninja.cache.CacheEhCacheImpl
-
- safeReplace(String, Object, int) - Method in class ninja.cache.CacheMemcachedImpl
-
- safeReplace(String, Object, String) - Method in class ninja.cache.NinjaCache
-
Replace an element only if it already exists and return only when the
element is effectively cached.
- safeSet(String, Object, int) - Method in interface ninja.cache.Cache
-
- safeSet(String, Object, int) - Method in class ninja.cache.CacheEhCacheImpl
-
- safeSet(String, Object, int) - Method in class ninja.cache.CacheMemcachedImpl
-
- safeSet(String, Object, String) - Method in class ninja.cache.NinjaCache
-
Set an element and return only when the element is effectively cached.
- save(Context) - Method in interface ninja.session.FlashScope
-
- save(Context) - Method in class ninja.session.FlashScopeImpl
-
- save(Context) - Method in interface ninja.session.Session
-
To finally send this session to the user this method has to be called.
- save(Context) - Method in class ninja.session.SessionImpl
-
- SC_200_OK - Static variable in class ninja.Result
-
- SC_201_CREATED - Static variable in class ninja.Result
-
- SC_204_NO_CONTENT - Static variable in class ninja.Result
-
- SC_300_MULTIPLE_CHOICES - Static variable in class ninja.Result
-
- SC_301_MOVED_PERMANENTLY - Static variable in class ninja.Result
-
- SC_302_FOUND - Static variable in class ninja.Result
-
- SC_303_SEE_OTHER - Static variable in class ninja.Result
-
- SC_304_NOT_MODIFIED - Static variable in class ninja.Result
-
- SC_307_TEMPORARY_REDIRECT - Static variable in class ninja.Result
-
- SC_400_BAD_REQUEST - Static variable in class ninja.Result
-
- SC_401_UNAUTHORIZED - Static variable in class ninja.Result
-
- SC_403_FORBIDDEN - Static variable in class ninja.Result
-
- SC_404_NOT_FOUND - Static variable in class ninja.Result
-
- SC_500_INTERNAL_SERVER_ERROR - Static variable in class ninja.Result
-
- SC_501_NOT_IMPLEMENTED - Static variable in class ninja.Result
-
- Schedule - Annotation Type in ninja.scheduler
-
Schedules the annotated method for execution
- schedule(Object) - Method in class ninja.scheduler.Scheduler
-
- Scheduler - Class in ninja.scheduler
-
The actual scheduler
- Scheduler() - Constructor for class ninja.scheduler.Scheduler
-
- SchedulerSupport - Class in ninja.scheduler
-
Support for scheduling using annotations
- SecretGenerator - Class in ninja.utils
-
- SecretGenerator() - Constructor for class ninja.utils.SecretGenerator
-
- SecureFilter - Class in ninja
-
A simple default implementation of a SecureFilter.
- SecureFilter(Ninja) - Constructor for class ninja.SecureFilter
-
- send(Mail) - Method in class ninja.postoffice.commonsmail.PostofficeCommonsmailImpl
-
- send(Mail) - Method in class ninja.postoffice.mock.PostofficeMockImpl
-
- send(Mail) - Method in interface ninja.postoffice.Postoffice
-
- serverName - Static variable in interface ninja.utils.NinjaConstant
-
In many situations the server cannot know its own name.
- serverUrls - Variable in class ninja.standalone.AbstractStandalone
-
- serveStatic() - Method in class ninja.AssetsController
-
Serves resources from the assets directory of your application.
- serveWebJars() - Method in class ninja.AssetsController
-
Serves resources from the assets directory of your application.
- Session - Interface in ninja.session
-
- session - Variable in class ninja.utils.AbstractContext
-
- SESSION_SUFFIX - Static variable in interface ninja.utils.NinjaConstant
-
Suffix used for Ninja cookies.
- sessionExpireTimeInSeconds - Static variable in interface ninja.utils.NinjaConstant
-
Time until session expires.
- SessionExtractor() - Constructor for class ninja.params.ArgumentExtractors.SessionExtractor
-
- sessionHttpOnly - Static variable in interface ninja.utils.NinjaConstant
-
Used to set the HttpOnly flag at the session cookie.
- SessionImpl - Class in ninja.session
-
- SessionImpl(Crypto, CookieEncryption, NinjaProperties, Clock) - Constructor for class ninja.session.SessionImpl
-
- SessionParam - Annotation Type in ninja.params
-
Inject a session value to a controller method invocation
- SessionParamExtractor(SessionParam) - Constructor for class ninja.params.ArgumentExtractors.SessionParamExtractor
-
- sessionSendOnlyIfChanged - Static variable in interface ninja.utils.NinjaConstant
-
Send session cookie only back when content has changed.
- sessionTransferredOverHttpsOnly - Static variable in interface ninja.utils.NinjaConstant
-
Used to set the Secure flag if the cookie.
- set(String, Object, int) - Method in interface ninja.cache.Cache
-
- set(String, Object, int) - Method in class ninja.cache.CacheEhCacheImpl
-
- set(String, Object, int) - Method in class ninja.cache.CacheMemcachedImpl
-
- set(String, Object, String) - Method in class ninja.cache.NinjaCache
-
Set an element.
- set(String, Object) - Method in class ninja.cache.NinjaCache
-
Set an element and store it indefinitely.
- setAttribute(String, Object) - Method in interface ninja.Context
-
Sets an attribute value.
- setAttribute(String, Object) - Method in class ninja.WrappedContext
-
- setBodyHtml(String) - Method in class ninja.postoffice.common.MailImpl
-
- setBodyHtml(String) - Method in interface ninja.postoffice.Mail
-
- setBodyText(String) - Method in class ninja.postoffice.common.MailImpl
-
- setBodyText(String) - Method in interface ninja.postoffice.Mail
-
- setCharset(String) - Method in class ninja.postoffice.common.MailImpl
-
- setCharset(String) - Method in interface ninja.postoffice.Mail
-
- setComment(String) - Method in class ninja.Cookie.Builder
-
- setContentType(String) - Method in class ninja.Result
-
Deprecated.
- setContextPath(String) - Method in interface ninja.utils.NinjaProperties
-
- setContextPath(String) - Method in class ninja.utils.NinjaPropertiesImpl
-
- setDomain(String) - Method in class ninja.Cookie.Builder
-
- setExpiryTime(Long) - Method in interface ninja.session.Session
-
Use an alternative expiry time, this can be used to implement a longer
expiry time for 'remember me' style functionality.
- setExpiryTime(Long) - Method in class ninja.session.SessionImpl
-
- setFrom(String) - Method in class ninja.postoffice.common.MailImpl
-
- setFrom(String) - Method in interface ninja.postoffice.Mail
-
In general email addresses could look like:
Joe Jocker
or
joe@joe.com.
- setHttpOnly(boolean) - Method in class ninja.Cookie.Builder
-
- setLanguage(String, Result) - Method in interface ninja.i18n.Lang
-
Force a language in Ninja framwork.
- setLanguage(String, Result) - Method in class ninja.i18n.LangImpl
-
- setMaxAge(int) - Method in class ninja.Cookie.Builder
-
- setPath(String) - Method in class ninja.Cookie.Builder
-
- setProperty(String, String) - Method in class ninja.utils.NinjaPropertiesImpl
-
- setRoute(Route) - Method in interface ninja.Context.Impl
-
- setRoute(Route) - Method in class ninja.utils.AbstractContext
-
- setSecure(boolean) - Method in class ninja.Cookie.Builder
-
- setSubject(String) - Method in class ninja.postoffice.common.MailImpl
-
- setSubject(String) - Method in interface ninja.postoffice.Mail
-
- setValue(String) - Method in class ninja.Cookie.Builder
-
- ShortParamParser() - Constructor for class ninja.params.ParamParsers.ShortParamParser
-
- shouldExpire() - Method in class ninja.session.SessionImpl
-
- shutdown() - Method in class ninja.Bootstrap
-
- shutdown() - Method in class ninja.standalone.AbstractStandalone
-
- shutdown() - Method in interface ninja.standalone.Standalone
-
Shutdown Ninja and underlying server as safely as possible (tries not
to cause exceptions to be thrown).
- signHmacSha1(String) - Method in class ninja.utils.Crypto
-
- smtpDebug - Static variable in interface ninja.postoffice.guice.PostofficeConstant
-
- smtpHost - Static variable in interface ninja.postoffice.guice.PostofficeConstant
-
- smtpPassword - Static variable in interface ninja.postoffice.guice.PostofficeConstant
-
- smtpPort - Static variable in interface ninja.postoffice.guice.PostofficeConstant
-
- smtpSsl - Static variable in interface ninja.postoffice.guice.PostofficeConstant
-
- smtpUser - Static variable in interface ninja.postoffice.guice.PostofficeConstant
-
- sourceCodeExistsInProject(String) - Static method in class ninja.diagnostics.DiagnosticErrorBuilder
-
- SourceSnippet - Class in ninja.diagnostics
-
Represents a snippet of a source file (1 or more lines).
- SourceSnippet(URI, List<String>, int, int) - Constructor for class ninja.diagnostics.SourceSnippet
-
- SourceSnippetHelper - Class in ninja.diagnostics
-
Utility class for reading lines (snippet) from a source file.
- SourceSnippetHelper() - Constructor for class ninja.diagnostics.SourceSnippetHelper
-
- sslKeystorePassword - Variable in class ninja.standalone.AbstractStandalone
-
- sslKeystorePassword(String) - Method in class ninja.standalone.AbstractStandalone
-
- sslKeystorePassword(String) - Method in interface ninja.standalone.Standalone
-
- sslKeystoreUri - Variable in class ninja.standalone.AbstractStandalone
-
- sslKeystoreUri(URI) - Method in class ninja.standalone.AbstractStandalone
-
- sslKeystoreUri(URI) - Method in interface ninja.standalone.Standalone
-
- sslPort - Variable in class ninja.standalone.AbstractStandalone
-
- sslPort(int) - Method in class ninja.standalone.AbstractStandalone
-
- sslPort(int) - Method in interface ninja.standalone.Standalone
-
- sslTruststorePassword - Variable in class ninja.standalone.AbstractStandalone
-
- sslTruststorePassword(String) - Method in class ninja.standalone.AbstractStandalone
-
- sslTruststorePassword(String) - Method in interface ninja.standalone.Standalone
-
- sslTruststoreUri - Variable in class ninja.standalone.AbstractStandalone
-
- sslTruststoreUri(URI) - Method in class ninja.standalone.AbstractStandalone
-
- sslTruststoreUri(URI) - Method in interface ninja.standalone.Standalone
-
- Standalone<T extends Standalone> - Interface in ninja.standalone
-
Interface for wrapping an underlying server (e.g.
- StandaloneHelper - Class in ninja.standalone
-
Helper utilities for working with standalone applications.
- StandaloneHelper() - Constructor for class ninja.standalone.StandaloneHelper
-
- start() - Method in class ninja.jpa.JpaInitializer
-
- start() - Method in interface ninja.lifecycle.LifecycleService
-
Start the application
- start() - Method in class ninja.lifecycle.LifecycleServiceImpl
-
- Start - Annotation Type in ninja.lifecycle
-
Annotation indicating this method should be called when the application starts up.
- start() - Method in class ninja.migrations.MigrationInitializer
-
We start it at order 9 which is below order 10 (where JPA is started)
- start() - Method in class ninja.scheduler.Scheduler
-
- start() - Method in class ninja.standalone.AbstractStandalone
-
- start() - Method in interface ninja.standalone.Standalone
-
Configures (if not yet done), boots Ninja application and starts the
underlying server.
- started - Variable in class ninja.standalone.AbstractStandalone
-
- State - Enum in ninja.lifecycle
-
States that are possible for a service.
- status(int) - Method in class ninja.Result
-
Set the status of this result.
- status(int) - Static method in class ninja.Results
-
- stop() - Method in class ninja.cache.CacheEhCacheImpl
-
- stop() - Method in class ninja.cache.CacheMemcachedImpl
-
- stop() - Method in class ninja.jpa.JpaInitializer
-
- stop() - Method in interface ninja.lifecycle.LifecycleService
-
Stop the application
- stop() - Method in class ninja.lifecycle.LifecycleServiceImpl
-
- StringParamParser() - Constructor for class ninja.params.ParamParsers.StringParamParser
-
- success(String) - Method in interface ninja.session.FlashScope
-
Sets the success flash cookie value.
- success(String) - Method in class ninja.session.FlashScopeImpl
-
- supportedContentType(String) - Method in class ninja.Result
-
Will add a content type to the list of supported content types.
- supportedContentTypes(String...) - Method in class ninja.Result
-
Will add the content types to the list of supported content types.
- supportedContentTypes() - Method in class ninja.Result
-
Returns immutable list of supported content types by this request.
- SwissKnife - Class in ninja.utils
-
A helper class that contains a lot of random stuff that helps to get things
done.
- SwissKnife() - Constructor for class ninja.utils.SwissKnife
-