- 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 class ninja.Result
-
- 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
-
- addNinjaModule(NinjaModuleRegistry) - Method in interface ninja.NinjaModule
-
- addPlugin(Class<NinjaModule>) - Method in interface ninja.NinjaModuleRegistry
-
- addPlugin(Class<NinjaModule>) - Method in class ninja.NinjaModuleRegistryImpl
-
- 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
-
- APPLICATION_JSON - Static variable in interface ninja.ContentTypes
-
- 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
-
- 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
-
- 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.AttributeExtractor(Attribute, ArgumentClassHolder) - Constructor for class ninja.params.ArgumentExtractors.AttributeExtractor
-
- ArgumentExtractors.BodyAsExtractor<T> - Class in ninja.params
-
- ArgumentExtractors.BodyAsExtractor(Class<T>) - Constructor for class ninja.params.ArgumentExtractors.BodyAsExtractor
-
- ArgumentExtractors.ContextExtractor - Class in ninja.params
-
- ArgumentExtractors.ContextExtractor() - Constructor for class ninja.params.ArgumentExtractors.ContextExtractor
-
- ArgumentExtractors.FlashExtractor - Class in ninja.params
-
- ArgumentExtractors.FlashExtractor() - Constructor for class ninja.params.ArgumentExtractors.FlashExtractor
-
- ArgumentExtractors.ParamExtractor - Class in ninja.params
-
- ArgumentExtractors.ParamExtractor(Param) - Constructor for class ninja.params.ArgumentExtractors.ParamExtractor
-
- ArgumentExtractors.PathParamExtractor - Class in ninja.params
-
- ArgumentExtractors.PathParamExtractor(PathParam) - Constructor for class ninja.params.ArgumentExtractors.PathParamExtractor
-
- ArgumentExtractors.SessionExtractor - Class in ninja.params
-
- ArgumentExtractors.SessionExtractor() - Constructor for class ninja.params.ArgumentExtractors.SessionExtractor
-
- ArgumentExtractors.SessionParamExtractor - Class in ninja.params
-
- ArgumentExtractors.SessionParamExtractor(SessionParam) - Constructor for class ninja.params.ArgumentExtractors.SessionParamExtractor
-
- ArgumentExtractors.ValidationExtractor - Class in ninja.params
-
- ArgumentExtractors.ValidationExtractor() - Constructor for class ninja.params.ArgumentExtractors.ValidationExtractor
-
- AssetsController - Class in ninja
-
This controller serves public resources under /public
- AssetsController(HttpCacheToolkit, MimeTypes) - Constructor for class ninja.AssetsController
-
- 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.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.
- get(String, String, Object...) - Method in interface ninja.i18n.Lang
-
- get(String, String, Object...) - Method in class ninja.i18n.LangImpl
-
Deprecated.
- get(String, String, Object...) - Method in interface ninja.i18n.Messages
-
Get a translated string.
- get(String, Context, Result, Object...) - Method in interface ninja.i18n.Messages
-
Get a translated string.
- get(String, Context, Result, Object...) - Method in class ninja.i18n.MessagesImpl
-
- get(String, 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.FlashCookie
-
- get(String) - Method in class ninja.session.FlashCookieImpl
-
- get(String) - Method in interface ninja.session.SessionCookie
-
Returns the value of the key or null.
- get(String) - Method in class ninja.session.SessionCookieImpl
-
Returns the value of the key or null.
- 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
-
- getAcceptCharset() - Method in interface ninja.Context
-
Get the charset that is acceptable for the client.
- 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.WrappedContext
-
- getAcceptEncoding() - Method in interface ninja.Context
-
Get the encoding that is acceptable for the client.
- 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.WrappedContext
-
- getAll(String) - Method in interface ninja.i18n.Lang
-
- getAll(String) - Method in class ninja.i18n.LangImpl
-
Deprecated.
- getAll(String) - Method in interface ninja.i18n.Messages
-
Returns all messages for a language we have.
- getAll(Context, Result) - Method in interface ninja.i18n.Messages
-
Returns all messages for the default language in that context / result.
- getAll(Context, Result) - Method in class ninja.i18n.MessagesImpl
-
- getAll(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
-
- getAttribute(String) - Method in interface ninja.Context
-
- getAttribute(String, Class<T>) - Method in interface ninja.Context
-
- getAttribute(String) - Method in class ninja.WrappedContext
-
- getAttribute(String, Class<T>) - Method in class ninja.WrappedContext
-
- getAuthenticityToken() - Method in interface ninja.session.SessionCookie
-
- getAuthenticityToken() - Method in class ninja.session.SessionCookieImpl
-
- 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
-
- 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
-
- 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
-
- 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.TemplateEngineJsonGson
-
- 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".
- 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.WrappedContext
-
- getCurrentFlashCookieData() - Method in interface ninja.session.FlashCookie
-
- getCurrentFlashCookieData() - Method in class ninja.session.FlashCookieImpl
-
- getData() - Method in interface ninja.session.SessionCookie
-
- getData() - Method in class ninja.session.SessionCookieImpl
-
- getDefaultMessage() - Method in class ninja.validation.ConstraintViolation
-
- getDomain() - Method in class ninja.Cookie
-
- 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.FlashExtractor
-
- getExtractedType() - Method in class ninja.params.ArgumentExtractors.ParamExtractor
-
- 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.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.FlashExtractor
-
- getFieldName() - Method in class ninja.params.ArgumentExtractors.ParamExtractor
-
- 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.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
-
- getFileItemIterator() - Method in interface ninja.Context
-
Gets the FileItemIterator of the input.
- getFileItemIterator() - Method in class ninja.WrappedContext
-
- getFilterChain() - Method in class ninja.Route
-
- getFlashCookie() - Method in interface ninja.Context
-
Returns the flash cookie.
- getFlashCookie() - Method in class ninja.WrappedContext
-
- 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(String) - Method in class ninja.WrappedContext
-
- getHeaders() - Method in class ninja.WrappedContext
-
- getHttpMethod() - Method in class ninja.Route
-
- getId() - Method in interface ninja.session.SessionCookie
-
- getId() - Method in class ninja.session.SessionCookieImpl
-
- getInputStream() - Method in interface ninja.Context
-
Get the input stream to read the request.
- 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
-
- 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
-
- getLanguage(Context, Result) - Method in interface ninja.i18n.Lang
-
Retrieve the current language or null if not set.
- getLanguage(Context, Result) - Method in class ninja.i18n.LangImpl
-
- getLastModified(Object) - Method in class ninja.template.TemplateEngineFreemarkerEscapedLoader
-
- getLastSentMail() - Method in class ninja.postoffice.mock.PostofficeMockImpl
-
- 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
-
- 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.FlashCookie
-
- getOutgoingFlashCookieData() - Method in class ninja.session.FlashCookieImpl
-
- 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) - Method in class ninja.WrappedContext
-
- getParameter(String, 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.WrappedContext
-
- getParameterAsInteger(String, Integer) - 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.DoubleParamParser
-
- 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.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
-
- 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.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.WrappedContext
-
- getPathParameterEncoded(String) - Method in interface ninja.Context
-
Get the path parameter for the given key.
- getPathParameterEncoded(String) - Method in class ninja.WrappedContext
-
- getPathParametersEncoded(String) - Method in class ninja.Route
-
This method does not do any decoding / encoding.
- 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
-
- getRenderable() - Method in class ninja.Result
-
- 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.WrappedContext
-
- getRequestUri() - Method in interface ninja.Context
-
Deprecated.
- getRequestUri() - Method in class ninja.WrappedContext
-
- getRoute() - Method in interface ninja.Context
-
Get the route for this context
- 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
-
- getSessionCookie() - Method in interface ninja.Context
-
Returns the client side session.
- getSessionCookie() - Method in class ninja.WrappedContext
-
- 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.TemplateEngineJsonGson
-
- 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
-
- getTos() - Method in class ninja.postoffice.common.MailImpl
-
- getTos() - Method in interface ninja.postoffice.Mail
-
- 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
-
- getUrl() - Method in class ninja.Route
-
- getValidatedType() - Method in interface ninja.validation.Validator
-
Get the type that this validator validates
- 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.WrappedContext
-
- getValue() - Method in class ninja.Cookie
-
- getWithDefault(String, String, String, Object...) - Method in interface ninja.i18n.Lang
-
- getWithDefault(String, String, String, Object...) - Method in class ninja.i18n.LangImpl
-
Deprecated.
- getWithDefault(String, String, String, Object...) - Method in interface ninja.i18n.Messages
-
Gets a message for a message key.
- getWithDefault(String, String, Context, Result, Object...) - Method in interface ninja.i18n.Messages
-
Gets a message for a message key.
- getWithDefault(String, String, Context, Result, Object...) - Method in class ninja.i18n.MessagesImpl
-
- getWithDefault(String, String, 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.
- IF_MODIFIED_SINCE - Static variable in interface ninja.utils.HttpHeaderConstants
-
- IF_NONE_MATCH - Static variable in interface ninja.utils.HttpHeaderConstants
-
- init(Router) - Method in interface ninja.application.ApplicationRoutes
-
- init() - Method in interface ninja.NinjaModule
-
- init(Context) - Method in interface ninja.session.FlashCookie
-
- init(Context) - Method in class ninja.session.FlashCookieImpl
-
- init(Context) - Method in interface ninja.session.SessionCookie
-
- init(Context) - Method in class ninja.session.SessionCookieImpl
-
Has to be called initially.
- internalServerError() - Static method in class ninja.Results
-
- invoke(Context, Class<T>) - Method in interface ninja.bodyparser.BodyParserEngine
-
- 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(Context.Impl) - Method in interface ninja.Ninja
-
Please ninja framwork - handle this context...
- invoke(Context.Impl) - Method in class ninja.NinjaImpl
-
I do all the main work.
- 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.TemplateEngineJsonGson
-
- isDev() - Method in interface ninja.utils.NinjaProperties
-
Whether we are in dev mode
- isDev() - Method in class ninja.utils.NinjaPropertiesImpl
-
- isEmpty() - Method in interface ninja.session.SessionCookie
-
Returns true if the session is empty, e.g.
- isEmpty() - Method in class ninja.session.SessionCookieImpl
-
Returns true if the session is empty, e.g.
- 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(String, Long, Context) - Method in interface ninja.utils.HttpCacheToolkit
-
Checks if resource has been modified.
- isModified(String, 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
-
- isProd() - Method in interface ninja.utils.NinjaProperties
-
Whether we are in prod mode
- isProd() - Method in class ninja.utils.NinjaPropertiesImpl
-
- isSecure() - Method in class ninja.Cookie
-
- 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
-
- isValidMimeType(String) - Method in class ninja.utils.MimeTypes
-
check the mimetype is referenced in the mimetypes database