- a(Object) - Static method in class org.javalite.test.jspec.JSpec
-
- a(Object) - Method in interface org.javalite.test.jspec.JSpecSupport
-
- AbstractControllerConfig<T extends AppController> - Class in org.javalite.activeweb
-
This class is to be sub-classed by the application level class called app.config.AppControllerConfig
.
- AbstractControllerConfig() - Constructor for class org.javalite.activeweb.AbstractControllerConfig
-
- AbstractControllerConfig.FilterBuilder - Class in org.javalite.activeweb
-
- AbstractDBConfig - Class in org.javalite.activeweb
-
This class is designed to be sub-classed by an application level class called app.config.DbConfig
.
- AbstractDBConfig() - Constructor for class org.javalite.activeweb.AbstractDBConfig
-
- AbstractDbMigrationMojo - Class in org.javalite.db_migrator.maven
-
- AbstractDbMigrationMojo() - Constructor for class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- AbstractFreeMarkerConfig - Class in org.javalite.activeweb.freemarker
-
- AbstractFreeMarkerConfig() - Constructor for class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
-
- AbstractLazyList<E> - Class in org.javalite.activejdbc
-
- AbstractLazyList() - Constructor for class org.javalite.activejdbc.AbstractLazyList
-
- AbstractLesscController - Class in org.javalite.activeweb.controllers
-
Subclass will compile and serve CSS from LESS files.
- AbstractLesscController() - Constructor for class org.javalite.activeweb.controllers.AbstractLesscController
-
- AbstractLoggingFilter - Class in org.javalite.activeweb.controller_filters
-
- AbstractLoggingFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
-
Creates a filter with preset log level.
- AbstractLoggingFilter() - Constructor for class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
-
Creates a filter with default "INFO" level.
- AbstractLoggingFilter.Level - Enum in org.javalite.activeweb.controller_filters
-
- AbstractMigrationMojo - Class in org.javalite.db_migrator.maven
-
- AbstractMigrationMojo() - Constructor for class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- AbstractRouteConfig - Class in org.javalite.activeweb
-
- AbstractRouteConfig() - Constructor for class org.javalite.activeweb.AbstractRouteConfig
-
- action(String) - Method in class org.javalite.activeweb.RouteBuilder
-
Name of action to which a route is mapped.
- ActionNotFoundException - Exception in org.javalite.activeweb
-
- ActionNotFoundException(Throwable) - Constructor for exception org.javalite.activeweb.ActionNotFoundException
-
- ActionNotFoundException(String) - Constructor for exception org.javalite.activeweb.ActionNotFoundException
-
- actionSupportsHttpMethod(String, HttpMethod) - Method in class org.javalite.activeweb.AppController
-
Checks if the action supports an HTTP method, according to its configuration.
- activateOptions() - Method in class org.javalite.logging.JsonLog4jLayout
-
- activeEnv() - Static method in class org.javalite.app_config.AppConfig
-
Returns current environment name as defined by environment variable ACTIVE_ENV
.
- ActiveJdbcFilter - Class in org.javalite.activejdbc.web
-
This is a filter for opening a connection before and closing connection after servlet.
- ActiveJdbcFilter() - Constructor for class org.javalite.activejdbc.web.ActiveJdbcFilter
-
- ActiveJdbcInstrumentationPlugin - Class in org.javalite.instrumentation
-
- ActiveJdbcInstrumentationPlugin() - Constructor for class org.javalite.instrumentation.ActiveJdbcInstrumentationPlugin
-
- ActiveJDBCLogger - Interface in org.javalite.activejdbc.logging
-
Implement this interface if you want to completely replace logging behavior with your own.
- activeReload() - Static method in class org.javalite.activeweb.Configuration
-
- add(E) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- add(int, E) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- add(Model) - Method in class org.javalite.activejdbc.Model
-
Adds a new child dependency.
- add(T) - Method in class org.javalite.activejdbc.SuperLazyList
-
- add(HttpSupportFilter...) - Method in class org.javalite.activeweb.AbstractControllerConfig
-
Adds a set of filters to a set of controllers.
- addAll(Collection<? extends E>) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- addAll(int, Collection<? extends E>) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- addAssociation(Association) - Method in class org.javalite.activejdbc.MetaModel
-
- addAttributesExcept(Map, String...) - Method in class org.javalite.activeweb.freemarker.TagFactory
-
Will add values from params map except the exceptions.
- addBatch(PreparedStatement, Object...) - Static method in class org.javalite.activejdbc.Base
-
Adds a batch statement using given java.sql.PreparedStatement
and parameters.
- addBatch(PreparedStatement, Object...) - Method in class org.javalite.activejdbc.DB
-
Adds a batch statement using given java.sql.PreparedStatement
and parameters.
- addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.CacheManager
-
Adds item to cache.
- addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.EHCache3Manager
-
- addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.EHCacheManager
-
- addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.NopeCacheManager
-
- addCache(String, String, Object) - Method in class org.javalite.activejdbc.cache.RedisCacheManager
-
- addCacheEventListener(CacheEventListener) - Method in class org.javalite.activejdbc.cache.CacheManager
-
- addConnectionWrapper(ConnectionSpecWrapper, boolean) - Static method in class org.javalite.activejdbc.connection_config.DbConfiguration
-
- addCookie(Cookie) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- addDateHeader(String, long) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- addError(String, String) - Method in class org.javalite.activejdbc.Model
-
Adds a new error to the collection of errors.
- addFilter(Class<? extends AppController>, HttpSupportFilter) - Method in class org.javalite.activeweb.IntegrationSpec
-
Adds a filter to a specific controller for the duration of the current spec.
- addFilter(HttpSupportFilter) - Method in class org.javalite.activeweb.IntegrationSpec
-
Adds a global filter for the duration of the current spec.
- addFormItem(FormItem) - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- addHeader(String, String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- addIntHeader(String, int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- addIrregular(String, String) - Static method in class org.javalite.common.Inflector
-
- addItem(String, String, Object[], Object) - Method in enum org.javalite.activejdbc.cache.QueryCache
-
Adds an item to cache.
- addModels(List<T>) - Method in class org.javalite.activejdbc.Model
-
Convenience method.
- addPlural(String, String) - Static method in class org.javalite.common.Inflector
-
- addQueryTime(long) - Method in class org.javalite.activejdbc.statistics.QueryStats
-
Whenever this query was executed, add execution time with this method.
- addScope(String, String) - Static method in class org.javalite.activejdbc.Model
-
Use in a static block of a model definotion to add a scope.
- addScope(String, String, String) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- addSingular(String, String) - Static method in class org.javalite.common.Inflector
-
- addValidator(String, Validator) - Method in class org.javalite.activejdbc.Errors
-
Adds a validator whose validation failed.
- addValidator(Validator) - Static method in class org.javalite.activejdbc.Model
-
Adds a validator to the model.
- addValidator(Validator, String) - Method in class org.javalite.activejdbc.Model
-
Binds a validator to an attribute if validation fails.
- after() - Method in interface org.javalite.activeweb.controller_filters.ControllerFilter
-
Called by framework after executing a controller
- after() - Method in class org.javalite.activeweb.controller_filters.ControllerFilterAdapter
-
- after() - Method in class org.javalite.activeweb.controller_filters.DBConnectionFilter
-
- after() - Method in class org.javalite.activeweb.controller_filters.HeadersLogFilter
-
- after() - Method in class org.javalite.activeweb.controller_filters.HttpSupportFilter
-
- after() - Method in class org.javalite.activeweb.controller_filters.StatisticsFilter
-
- after() - Method in class org.javalite.activeweb.DBIntegrationSpec
-
- afterAppIntegrationSpec() - Method in class org.javalite.activeweb.AppIntegrationSpec
-
- afterCreate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterCreate(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- afterDelete(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterDelete(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- afterEnd() - Method in class org.javalite.activeweb.SpecHelper
-
- afterLoad(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterLoad(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- afterSave(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterSave(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- afterTest() - Method in class org.javalite.activeweb.ViewSpec
-
- afterUpdate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterUpdate(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- afterValidation(T) - Method in class org.javalite.activejdbc.CallbackAdapter
-
- afterValidation(T) - Method in interface org.javalite.activejdbc.CallbackListener
-
- ALL - Static variable in class org.javalite.activejdbc.cache.CacheEvent
-
- all(String, Object...) - Method in class org.javalite.activejdbc.DB
-
- all(String) - Method in class org.javalite.activejdbc.DB
-
- all() - Method in class org.javalite.activejdbc.ScopeBuilder
-
Use in case the scopes define all criteria you need.
- allowBlank(boolean) - Method in class org.javalite.activejdbc.validation.length.AttributeLengthValidator
-
- allowedActions(String) - Method in class org.javalite.activeweb.AppController
-
- allowNull(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
-
Will ignore validation if set to true
.
- app.controllers - package app.controllers
-
- AppConfig - Class in org.javalite.app_config
-
This class allows configuration of applications for different deployment environments, such as development, test, staging, production, etc.
- AppConfig() - Constructor for class org.javalite.app_config.AppConfig
-
- AppContext - Class in org.javalite.activeweb
-
Instance of this class can hold application-specific objects for duration of application life span.
- AppContext() - Constructor for class org.javalite.activeweb.AppContext
-
- appContext() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- appContext() - Method in class org.javalite.activeweb.HttpSupport
-
- appContext() - Static method in class org.javalite.activeweb.RequestUtils
-
- AppController - Class in org.javalite.activeweb
-
Subclass this class to create application controllers.
- AppController() - Constructor for class org.javalite.activeweb.AppController
-
- AppControllerFilter - Class in org.javalite.activeweb.controller_filters
-
Controller filters are similar to that of Servlet filters, but designed to wrap execution of controllers.
- AppControllerFilter() - Constructor for class org.javalite.activeweb.controller_filters.AppControllerFilter
-
- append(LoggingEvent) - Method in class org.javalite.logging.LoggingTestAppender
-
- appendDate(StringBuilder, Date) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendDate(StringBuilder, Date) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
-
- appendDate(StringBuilder, Date) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
-
- appendEmptyRow(MetaModel, StringBuilder) - Method in class org.javalite.activejdbc.dialects.DB2Dialect
-
- appendEmptyRow(MetaModel, StringBuilder) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendEmptyRow(MetaModel, StringBuilder) - Method in class org.javalite.activejdbc.dialects.MySQLDialect
-
- appendEmptyRow(MetaModel, StringBuilder) - Method in class org.javalite.activejdbc.dialects.OracleDialect
-
- appendOrderBy(StringBuilder, List<String>) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendQuestions(StringBuilder, int) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendSelect(StringBuilder, String, String[], String, String, List<String>) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendSubQuery(StringBuilder, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
-
- appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.OracleDialect
-
- appendTime(StringBuilder, Time) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
-
- appendTimestamp(StringBuilder, Timestamp) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- appendTimestamp(StringBuilder, Timestamp) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
-
- appendTimestamp(StringBuilder, Timestamp) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
-
- appendValue(StringBuilder, Object, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- AppIntegrationSpec - Class in org.javalite.activeweb
-
Bootstraps entire application, including AppControllerConfig class, which sets up all filters exactly as at run time.
- AppIntegrationSpec() - Constructor for class org.javalite.activeweb.AppIntegrationSpec
-
- APPLIED_DATE_COLUMN - Static variable in class org.javalite.db_migrator.VersionStrategy
-
- arr(T...) - Static method in class org.javalite.common.Collections
-
Create array from values.
- arr(String...) - Method in class org.javalite.common.Util
-
Convenience method to create literal String arrays.
- array(T...) - Static method in class org.javalite.common.Collections
-
Create array from values.
- assign(String, Object) - Method in class org.javalite.activeweb.HttpSupport
-
Assigns a value for a view.
- assigns() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Provides values assigned by controller during execution.
- Association - Class in org.javalite.activejdbc
-
Associations are synonymous with relationships.
- Association(Map<String, Object>) - Constructor for class org.javalite.activejdbc.Association
-
- Association(Class<? extends Model>, Class<? extends Model>) - Constructor for class org.javalite.activejdbc.Association
-
- associations() - Static method in class org.javalite.activejdbc.Model
-
Returns all associations of this model.
- associations(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- Async - Class in org.javalite.async
-
Wrapper for embedded Apache ActiveMQ Artemis.
- Async(String, boolean, QueueConfig...) - Constructor for class org.javalite.async.Async
-
Creates and configures a new instance.
- Async(String, boolean, Injector, QueueConfig...) - Constructor for class org.javalite.async.Async
-
Creates and configures a new instance.
- AsyncException - Exception in org.javalite.async
-
- AsyncException() - Constructor for exception org.javalite.async.AsyncException
-
- AsyncException(Throwable) - Constructor for exception org.javalite.async.AsyncException
-
- AsyncException(String) - Constructor for exception org.javalite.async.AsyncException
-
- AsyncException(String, Throwable) - Constructor for exception org.javalite.async.AsyncException
-
- atStart() - Method in class org.javalite.activeweb.ControllerSpec
-
- atStart() - Method in class org.javalite.activeweb.SpecHelper
-
- atStart00() - Method in class org.javalite.activeweb.RequestSpecHelper
-
- attach(Connection) - Static method in class org.javalite.activejdbc.Base
-
Attaches a database connection to current thread under a default name.
- attach(Connection) - Method in class org.javalite.activejdbc.DB
-
Attaches a database connection to current thread under a name provided to constructor.
- attach(Connection) - Static method in class org.javalite.db_migrator.DbUtils
-
- attribute(String, String) - Method in class org.javalite.activeweb.freemarker.TagFactory
-
- AttributeLengthValidator - Class in org.javalite.activejdbc.validation.length
-
Attribute length validator.
- attributeNames() - Static method in class org.javalite.activejdbc.Model
-
Returns names of all attributes from this model.
- attributeNames(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- AttributePresenceValidator - Class in org.javalite.activejdbc.validation
-
- AttributePresenceValidator(String) - Constructor for class org.javalite.activejdbc.validation.AttributePresenceValidator
-
- attributeValue(String) - Method in class org.javalite.test.XPathHelper
-
Returns a value of an attribute.
- attributeValue(String, String) - Static method in class org.javalite.test.XPathHelper
-
Selects a value of attribute.
- Cached - Annotation Type in org.javalite.activejdbc.annotations
-
- cached() - Method in class org.javalite.activejdbc.MetaModel
-
- CacheEvent - Class in org.javalite.activejdbc.cache
-
Event object.
- CacheEvent(String, String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
-
- CacheEvent(String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
-
- CacheEvent.CacheEventType - Enum in org.javalite.activejdbc.cache
-
- CacheEventListener - Interface in org.javalite.activejdbc.cache
-
- CacheException - Exception in org.javalite.activejdbc.cache
-
- CacheException(String, Throwable) - Constructor for exception org.javalite.activejdbc.cache.CacheException
-
- CacheManager - Class in org.javalite.activejdbc.cache
-
Abstract method to be sub-classed by various caching technologies.
- CacheManager() - Constructor for class org.javalite.activejdbc.cache.CacheManager
-
- cacheManager() - Static method in enum org.javalite.activejdbc.Registry
-
- CallbackAdapter<T extends Model> - Class in org.javalite.activejdbc
-
- CallbackAdapter() - Constructor for class org.javalite.activejdbc.CallbackAdapter
-
- CallbackListener<T extends Model> - Interface in org.javalite.activejdbc
-
- callbackWith(CallbackListener...) - Static method in class org.javalite.activejdbc.Model
-
Sets lifecycle listeners on current model.
- callbackWith(Class<? extends Model>, CallbackListener...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- camelize(String) - Static method in class org.javalite.common.Inflector
-
Generates a camel case version of a phrase from underscore.
- camelize(String, boolean) - Static method in class org.javalite.common.Inflector
-
Generates a camel case version of a phrase from underscore.
- canConvert(Class, Class) - Method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
-
- canConvert(Class, Class) - Method in interface org.javalite.activejdbc.conversion.Converter
-
Returns true if this converter can convert instances of sourceClass to
destinationClass.
- canConvert(Class, Class) - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
-
- canConvert(Class, Class) - Method in class org.javalite.activejdbc.conversion.DateToStringConverter
-
- canConvert(Class, Class) - Method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
-
- capitalize(String) - Static method in class org.javalite.common.Inflector
-
Capitalizes a word - only a first character is converted to upper case.
- Captcha - Class in org.javalite.activeweb
-
This is a simple captcha class, use it to generate a random string and then to create an image of it.
- CaseInsensitiveMap<V> - Class in org.javalite.activejdbc
-
A case insensitive map for java.lang.String
keys.
- CaseInsensitiveMap() - Constructor for class org.javalite.activejdbc.CaseInsensitiveMap
-
- CaseInsensitiveMap(Map<? extends String, V>) - Constructor for class org.javalite.activejdbc.CaseInsensitiveMap
-
- CaseInsensitiveSet - Class in org.javalite.activejdbc
-
A case insensitive set for java.lang.String
elements.
- CaseInsensitiveSet() - Constructor for class org.javalite.activejdbc.CaseInsensitiveSet
-
- CaseInsensitiveSet(Collection<? extends String>) - Constructor for class org.javalite.activejdbc.CaseInsensitiveSet
-
- checkAttribute(String) - Method in class org.javalite.activejdbc.MetaModel
-
Checks if this model has a named attribute that has the same name as argument.
- checkDuplicateVersions(List<File>) - Method in class org.javalite.db_migrator.MigrationResolver
-
- CheckMojo - Class in org.javalite.db_migrator.maven
-
Check current schema against available migrations to see if database is up to date,
causing the build to fail if the database is not up to date.
- CheckMojo() - Constructor for class org.javalite.db_migrator.maven.CheckMojo
-
- CLASS - Static variable in class org.javalite.activejdbc.Association
-
- Classes - Class in org.javalite.instrumentation
-
- Classes() - Constructor for class org.javalite.instrumentation.Classes
-
- ClassLoadException - Exception in org.javalite.activeweb
-
- ClassLoadException(String) - Constructor for exception org.javalite.activeweb.ClassLoadException
-
- ClassLoadException(Throwable) - Constructor for exception org.javalite.activeweb.ClassLoadException
-
- cleanControlChars(String) - Static method in class org.javalite.common.JsonHelper
-
Clean control characters in a string.
- clear() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- clear() - Method in class org.javalite.activejdbc.Errors
-
- clear() - Method in class org.javalite.activeweb.AbstractRouteConfig
-
- clear() - Method in class org.javalite.activeweb.SessionFacade
-
- clear() - Method in class org.javalite.app_config.AppConfig
-
- clear() - Static method in class org.javalite.logging.Context
-
Clears current context of any values.
- clearConnectionWrappers() - Static method in class org.javalite.activejdbc.connection_config.DbConfiguration
-
- clearConnectionWrappers(String) - Static method in class org.javalite.activejdbc.connection_config.DbConfiguration
-
- clearConnectionWrappers() - Static method in class org.javalite.activeweb.DBSpecHelper
-
- clearShardTableName() - Method in class org.javalite.activejdbc.MetaModel
-
Clears sharding name of table attached to current thread.
- close(boolean) - Static method in class org.javalite.activejdbc.Base
-
Closes connection and detaches it from current thread.
- close() - Static method in class org.javalite.activejdbc.Base
-
Closes connection and detaches it from current thread.
- close() - Method in class org.javalite.activejdbc.DB
-
Closes connection and detaches it from current thread.
- close(boolean) - Method in class org.javalite.activejdbc.DB
-
Closes connection and detaches it from current thread.
- close() - Method in class org.javalite.activejdbc.DBProxy
-
- close() - Method in class org.javalite.activeweb.DBControllerSpec
-
- close() - Method in class org.javalite.async.BatchReceiver
-
Closes this resource (calling it is mandatory).
- close() - Method in class org.javalite.async.SessionPool
-
Closes all underlying JMS sessions.
- close() - Method in class org.javalite.logging.LoggingTestAppender
-
- closeAllConnections() - Static method in class org.javalite.activejdbc.DB
-
Closes all current connections.
- closeConnection() - Static method in class org.javalite.db_migrator.DbUtils
-
- closePreparedStatement(PreparedStatement) - Static method in class org.javalite.activejdbc.Base
-
Quietly closes the java.sql.PreparedStatement
used in a batch execution.
- closePreparedStatement(PreparedStatement) - Method in class org.javalite.activejdbc.DB
-
Quietly closes the java.sql.PreparedStatement
used in a batch execution.
- closeQuietly(AutoCloseable) - Static method in class org.javalite.common.Util
-
Closes a resource and swallows exception if thrown during a close.
- closeQuietly(Object) - Static method in class org.javalite.db_migrator.DbUtils
-
- closeTestConnections() - Method in class org.javalite.activejdbc.test.DBSpec
-
- closeTestConnections() - Static method in class org.javalite.activeweb.DBSpecHelper
-
- collect(String) - Method in class org.javalite.activejdbc.LazyList
-
Collects values from a result set that correspond to a attribute name.
- collect(String, String, Object) - Method in class org.javalite.activejdbc.LazyList
-
- collectDistinct(String) - Method in class org.javalite.activejdbc.LazyList
-
- collectDistinct(String, String, Object) - Method in class org.javalite.activejdbc.LazyList
-
- Collections - Class in org.javalite.common
-
- collectStatistics() - Method in class org.javalite.activejdbc.Configuration
-
- collectStatisticsOnHold() - Method in class org.javalite.activejdbc.Configuration
-
- ColumnMetadata - Class in org.javalite.activejdbc
-
- ColumnMetadata(String, String, int) - Constructor for class org.javalite.activejdbc.ColumnMetadata
-
- Command - Class in org.javalite.async
-
Super class of all commands.
- Command() - Constructor for class org.javalite.async.Command
-
- CommandListener - Class in org.javalite.async
-
- CommandListener() - Constructor for class org.javalite.async.CommandListener
-
- commit() - Method in class org.javalite.async.BatchReceiver
-
Commits a current transaction.
- commitTransaction() - Static method in class org.javalite.activejdbc.Base
-
Commits local transaction.
- commitTransaction() - Method in class org.javalite.activejdbc.DB
-
Commits local transaction.
- compareTo(Object) - Method in class org.javalite.db_migrator.Migration
-
- CompilationException - Exception in org.javalite.activeweb
-
- CompilationException(String) - Constructor for exception org.javalite.activeweb.CompilationException
-
- compile(File, String) - Method in class org.javalite.lessc.maven.CompileLesscFilesMojo
-
- compileClass(String) - Static method in class org.javalite.activeweb.DynamicClassFactory
-
- CompileLesscFilesMojo - Class in org.javalite.lessc.maven
-
- CompileLesscFilesMojo() - Constructor for class org.javalite.lessc.maven.CompileLesscFilesMojo
-
- completeInit() - Method in class org.javalite.activeweb.AbstractControllerConfig
-
- completeInit() - Method in interface org.javalite.activeweb.InitConfig
-
- CompositePK - Annotation Type in org.javalite.activejdbc.annotations
-
- configFile(String) - Method in class org.javalite.activeweb.AbstractDBConfig
-
Configures multiple database connections from a single property file.
- ConfigInitException - Exception in org.javalite.app_config
-
- ConfigInitException(Throwable) - Constructor for exception org.javalite.app_config.ConfigInitException
-
- ConfigInitException(String) - Constructor for exception org.javalite.app_config.ConfigInitException
-
- Configuration - Class in org.javalite.activejdbc
-
- Configuration() - Constructor for class org.javalite.activejdbc.Configuration
-
- Configuration - Class in org.javalite.activeweb
-
- Configuration() - Constructor for class org.javalite.activeweb.Configuration
-
- Configuration.PropertyName - Enum in org.javalite.activejdbc
-
All properties defined in framework.
- ConfigurationException - Exception in org.javalite.activeweb
-
- ConfigurationException(String) - Constructor for exception org.javalite.activeweb.ConfigurationException
-
- configureNetty(String, int) - Method in class org.javalite.async.Async
-
Call this method once after a constructor in order to create a Netty instance to accept out of VM messages.
- ConfirmationTag - Class in org.javalite.activeweb.freemarker
-
Simple confirmation tag.
- ConfirmationTag() - Constructor for class org.javalite.activeweb.freemarker.ConfirmationTag
-
- connect() - Method in class org.javalite.http.Request
-
- connection() - Static method in class org.javalite.activejdbc.Base
-
Returns connection attached to a current thread and named "default".
- connection() - Method in class org.javalite.activejdbc.DB
-
Provides connection from current thread.
- connection() - Static method in class org.javalite.db_migrator.DbUtils
-
- connection - Variable in class org.javalite.http.Request
-
- CONNECTION_TIMEOUT - Static variable in class org.javalite.http.Http
-
Connection timeout in milliseconds.
- ConnectionBuilder - Class in org.javalite.activeweb
-
Supports DSL for specifying connection parameters for various environments and modes.
- ConnectionDataSourceSpec - Class in org.javalite.activejdbc.connection_config
-
- ConnectionDataSourceSpec(DataSource) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionDataSourceSpec
-
- ConnectionJdbcSpec - Class in org.javalite.activejdbc.connection_config
-
Specification for a JDBC connection
- ConnectionJdbcSpec(String, String, String, String) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJdbcSpec
-
- ConnectionJdbcSpec(String, String, Properties) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJdbcSpec
-
- ConnectionJndiSpec - Class in org.javalite.activejdbc.connection_config
-
Specification for a JNDI connection.
- ConnectionJndiSpec(String) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJndiSpec
-
- ConnectionJndiSpec(InitialContext) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJndiSpec
-
- connections() - Static method in class org.javalite.activejdbc.DB
-
Provides connections available on current thread.
- ConnectionsAccess - Class in org.javalite.activejdbc
-
- ConnectionSpec - Interface in org.javalite.activejdbc.connection_config
-
Tag interface.
- ConnectionSpecWrapper - Class in org.javalite.activejdbc.connection_config
-
- ConnectionSpecWrapper() - Constructor for class org.javalite.activejdbc.connection_config.ConnectionSpecWrapper
-
- contains(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- containsAll(Collection<?>) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- containsHeader(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- containsKey(Object) - Method in class org.javalite.activejdbc.Errors
-
- containsKey(Object) - Method in class org.javalite.activeweb.SessionFacade
-
- containsKey(Object) - Method in class org.javalite.app_config.AppConfig
-
- containsValue(Object) - Method in class org.javalite.activejdbc.Errors
-
- containsValue(Object) - Method in class org.javalite.activeweb.SessionFacade
-
- containsValue(Object) - Method in class org.javalite.app_config.AppConfig
-
- content(byte[]) - Method in class org.javalite.activeweb.RequestBuilder
-
- contentFor(String) - Method in class org.javalite.activeweb.ViewSpec
-
This method returns chunks of content that was assigned from a tested template.
- ContentForTag - Class in org.javalite.activeweb.freemarker
-
- ContentForTag() - Constructor for class org.javalite.activeweb.freemarker.ContentForTag
-
- ContentTL - Class in org.javalite.activeweb.freemarker
-
- contentType(String) - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
-
Sets content type of response.
- contentType(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Sets content type on request.
- contentType() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Provides content type set on response by controller
- context() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Provides a context of the request - usually an app name (as seen on URL of request).
- context() - Method in class org.javalite.activeweb.HttpSupport
-
Provides a context of the request - usually an app name (as seen on URL of request).
- context() - Static method in class org.javalite.activeweb.RequestUtils
-
Provides a context of the request - usually an app name (as seen on URL of request).
- Context - Class in org.javalite.logging
-
Serves mostly to pass name and values from any code down to the logging system to be included on
every log line by a current thread..
- Context() - Constructor for class org.javalite.logging.Context
-
- controller(String) - Method in class org.javalite.activeweb.AppIntegrationSpec
-
Takes controller path.
- controller(String) - Method in class org.javalite.activeweb.IntegrationSpec
-
- ControllerException - Exception in org.javalite.activeweb
-
- ControllerException() - Constructor for exception org.javalite.activeweb.ControllerException
-
- ControllerException(String) - Constructor for exception org.javalite.activeweb.ControllerException
-
- ControllerException(String, Throwable) - Constructor for exception org.javalite.activeweb.ControllerException
-
- ControllerException(Throwable) - Constructor for exception org.javalite.activeweb.ControllerException
-
- ControllerFactory - Class in org.javalite.activeweb
-
- ControllerFilter - Interface in org.javalite.activeweb.controller_filters
-
Controller filters are similar to that of Servlet filters, but designed to wrap execution of controllers.
- ControllerFilterAdapter - Class in org.javalite.activeweb.controller_filters
-
This is a convenience class for filters to extend.
- ControllerFilterAdapter() - Constructor for class org.javalite.activeweb.controller_filters.ControllerFilterAdapter
-
- ControllerSpec - Class in org.javalite.activeweb
-
Super class for controller tests.
- ControllerSpec() - Constructor for class org.javalite.activeweb.ControllerSpec
-
- ConversionException - Exception in org.javalite.activejdbc.conversion
-
Class for conversion exceptions.
- ConversionException() - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
-
- ConversionException(String) - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
-
- ConversionException(String, Throwable) - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
-
- ConversionException(Throwable) - Constructor for exception org.javalite.activejdbc.conversion.ConversionException
-
- ConversionException - Exception in org.javalite.common
-
- ConversionException() - Constructor for exception org.javalite.common.ConversionException
-
- ConversionException(String) - Constructor for exception org.javalite.common.ConversionException
-
- ConversionException(String, Throwable) - Constructor for exception org.javalite.common.ConversionException
-
- ConversionException(Throwable) - Constructor for exception org.javalite.common.ConversionException
-
- convert(String) - Method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
-
- convert(S) - Method in interface org.javalite.activejdbc.conversion.Converter
-
Converts instance of S to T.
- convert(S) - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
-
- convert(Date) - Method in class org.javalite.activejdbc.conversion.DateToStringConverter
-
- convert(Number) - Method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
-
- Convert - Class in org.javalite.common
-
Convenience class for type conversions.
- convertDate(String, String) - Static method in class org.javalite.activejdbc.Model
-
Converts a named attribute to java.sql.Date
if possible.
- convertDate(Class<? extends Model>, String, String) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- Converter<S,T> - Interface in org.javalite.activejdbc.conversion
-
Converts instances of S to T.
- ConverterAdapter<S,T> - Class in org.javalite.activejdbc.conversion
-
Converts instances of S to T.
- ConverterAdapter() - Constructor for class org.javalite.activejdbc.conversion.ConverterAdapter
-
- convertNullIfEmpty() - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
-
Converts an empty string to null before validation.
- convertNullIfEmpty(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- convertTimestamp(String, String) - Static method in class org.javalite.activejdbc.Model
-
Converts a named attribute to java.sql.Timestamp
if possible.
- convertTimestamp(Class<? extends Model>, String, String) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- convertWith(Converter, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers a custom converter for the specified attributes.
- convertWith(Class<? extends Model>, Converter, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- Cookie - Class in org.javalite.activeweb
-
- Cookie(String, String) - Constructor for class org.javalite.activeweb.Cookie
-
- Cookie(String, String, boolean) - Constructor for class org.javalite.activeweb.Cookie
-
- cookie(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns a cookie by name, null if not found.
- cookie(String) - Method in class org.javalite.activeweb.HttpSupport
-
Returns a cookie by name, null if not found.
- cookie(Cookie) - Method in class org.javalite.activeweb.RequestBuilder
-
Adds cookie to current request.
- cookie(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns a cookie from last response by name, null
if not found.
- cookie(String) - Static method in class org.javalite.activeweb.RequestUtils
-
Returns a cookie by name, null if not found.
- cookies() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns collection of all cookies browser sent.
- cookies() - Method in class org.javalite.activeweb.HttpSupport
-
Returns collection of all cookies browser sent.
- cookies() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns collection of all cookies browser sent.
- cookieValue(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Convenience method, returns cookie value.
- cookieValue(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns cookie value.
- cookieValue(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
Convenience method, returns cookie value.
- cookieValue(String) - Static method in class org.javalite.activeweb.RequestUtils
-
Convenience method, returns cookie value.
- copyFrom(Model) - Method in class org.javalite.activejdbc.Model
-
Copies all attribute values (except for ID, created_at and updated_at) from other instance to this one.
- copyTo(Model) - Method in class org.javalite.activejdbc.Model
-
Copies all attribute values (except for ID, created_at and updated_at) from this instance to the other.
- count(String) - Static method in class org.javalite.activejdbc.Base
-
Returns count of rows in table.
- count(String, String, Object...) - Static method in class org.javalite.activejdbc.Base
-
Runs a count query, returns a number of matching records.
- count(String) - Method in class org.javalite.activejdbc.DB
-
Returns count of rows in table.
- count(String, String, Object...) - Method in class org.javalite.activejdbc.DB
-
Runs a count query, returns a number of matching records.
- count() - Static method in class org.javalite.activejdbc.Model
-
Returns total count of records in table.
- count(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Returns count of records in table under a condition.
- count(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- count(Class<? extends Model>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- count(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
Parses controller response and counts elements that are found by a CSS query.
- count(String) - Method in class org.javalite.test.XPathHelper
-
Counts a collection selected by XPath expression.
- count(String, String) - Static method in class org.javalite.test.XPathHelper
-
Counts a collection selected by XPath expression.
- counter() - Static method in class org.javalite.async.pooltest.HelloPerformanceCommand
-
- countMigrations() - Static method in class org.javalite.db_migrator.DbUtils
-
- countQuery(String) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
-
Part of the query that is responsible for count.
- countRows(String) - Static method in class org.javalite.db_migrator.DbUtils
-
- create(Object...) - Static method in class org.javalite.activejdbc.Model
-
This is a convenience method to create a model instance already initialized with values.
- create(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- create() - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
-
Terminal method to create an instance of Paginator.
- create() - Method in class org.javalite.activeweb.SpecHelper.DynamicBuilder
-
- create() - Method in class org.javalite.activeweb.SpecHelper.ModuleBuilder
-
Terminal method of a builder.
- createControllerInstance(String) - Static method in class org.javalite.activeweb.ControllerFactory
-
- createInjector(T) - Method in class org.javalite.activeweb.SpecHelper
-
This is a convenience method for setting Guice modules and service mocks.
- createInstance(String, Class<T>) - Static method in class org.javalite.activeweb.DynamicClassFactory
-
- createIt(Object...) - Static method in class org.javalite.activejdbc.Model
-
- createIt(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- CreateMojo - Class in org.javalite.db_migrator.maven
-
- CreateMojo() - Constructor for class org.javalite.db_migrator.maven.CreateMojo
-
- createNewSession() - Method in class org.javalite.async.SessionPool
-
- createSchemaVersionTable() - Method in class org.javalite.db_migrator.MigrationManager
-
- createSchemaVersionTable(DatabaseType) - Method in class org.javalite.db_migrator.VersionStrategy
-
- createTree(Path) - Static method in class org.javalite.common.Util
-
Creates directories recursively.
- CSRF - Class in org.javalite.activeweb
-
Responsible for generating tokens for CSRF protection support.
- CSRF() - Constructor for class org.javalite.activeweb.CSRF
-
- CSRF_TOKEN_NAME - Static variable in class org.javalite.activeweb.CSRF
-
- CSRF_TOKEN_VALUE - Static variable in class org.javalite.activeweb.CSRF
-
- CSRFFilter - Class in org.javalite.activeweb.controller_filters
-
- CSRFFilter() - Constructor for class org.javalite.activeweb.controller_filters.CSRFFilter
-
- CSRFTokenTag - Class in org.javalite.activeweb.freemarker
-
- CSRFTokenTag() - Constructor for class org.javalite.activeweb.freemarker.CSRFTokenTag
-
- currentPageIndex(int, boolean) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
-
- DatabaseType - Enum in org.javalite.db_migrator
-
- databaseType(String) - Static method in class org.javalite.db_migrator.DbUtils
-
- dataSource(DataSource) - Method in class org.javalite.activeweb.ConnectionBuilder
-
Sets a DataSource
to be used by this configuration.
- dateFormat(String, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- dateFormat(DateFormat, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- dateFormat(Class<? extends Model>, DateFormat, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- dateFormat(Class<? extends Model>, String, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- DateToStringConverter - Class in org.javalite.activejdbc.conversion
-
- DateToStringConverter(String) - Constructor for class org.javalite.activejdbc.conversion.DateToStringConverter
-
- DateToStringConverter(DateFormat) - Constructor for class org.javalite.activejdbc.conversion.DateToStringConverter
-
- DateValidator - Class in org.javalite.activejdbc.validation
-
- DateValidator(String, String) - Constructor for class org.javalite.activejdbc.validation.DateValidator
-
- DB - Class in org.javalite.activejdbc
-
This class provides a number of convenience methods for opening/closing database connections, running various
types of queries, and executing SQL statements.
- DB(String) - Constructor for class org.javalite.activejdbc.DB
-
Creates a new DB object representing a connection to a DB.
- DB() - Constructor for class org.javalite.activejdbc.DB
-
Creates a new DB object representing a connection to a DB with default name.
- db(String) - Method in class org.javalite.activeweb.ConnectionBuilder
-
Name of a database.
- DB - Static variable in class org.javalite.instrumentation.Classes
-
- DB2Dialect - Class in org.javalite.activejdbc.dialects
-
- DB2Dialect() - Constructor for class org.javalite.activejdbc.dialects.DB2Dialect
-
- DBCommandListener - Class in org.javalite.async
-
Standard command listener to process commands that require a database access.
- DBCommandListener(String) - Constructor for class org.javalite.async.DBCommandListener
-
JNDI string to open a connection from a pool.
- DBCommandListener() - Constructor for class org.javalite.async.DBCommandListener
-
Use this constructor to open a connection using a set of properties from "database.properties"
file according to current ACTIVE_ENV environment (development, production, etc.).
- DbConfiguration - Class in org.javalite.activejdbc.connection_config
-
- DbConfiguration() - Constructor for class org.javalite.activejdbc.connection_config.DbConfiguration
-
- DBConnectionFilter - Class in org.javalite.activeweb.controller_filters
-
Class is to be used in web apps that use ActiveJDBC.
- DBConnectionFilter() - Constructor for class org.javalite.activeweb.controller_filters.DBConnectionFilter
-
This constructor is used to open all configured connections for a current environment.
- DBConnectionFilter(String) - Constructor for class org.javalite.activeweb.controller_filters.DBConnectionFilter
-
Use this constructor to only open a named DB connection for a given environment.
- DBConnectionFilter(String, boolean) - Constructor for class org.javalite.activeweb.controller_filters.DBConnectionFilter
-
Use this constructor to only open a named DB connection for a given environment and specify
if this filter needs to manage transactions.
- DBControllerSpec - Class in org.javalite.activeweb
-
Super class for controllers requiring a DB connection to the test DB.
- DBControllerSpec() - Constructor for class org.javalite.activeweb.DBControllerSpec
-
- DBException - Exception in org.javalite.activejdbc
-
Generic exception wrapper for all things DB.
- DBException() - Constructor for exception org.javalite.activejdbc.DBException
-
- DBException(Throwable) - Constructor for exception org.javalite.activejdbc.DBException
-
- DBException(String) - Constructor for exception org.javalite.activejdbc.DBException
-
- DBException(String, Throwable) - Constructor for exception org.javalite.activejdbc.DBException
-
- DBException(String, Object[], Throwable) - Constructor for exception org.javalite.activejdbc.DBException
-
- DBIntegrationSpec - Class in org.javalite.activeweb
-
Use this as a super class for integration tests that requires a DB connection
to the test DB.
- DBIntegrationSpec() - Constructor for class org.javalite.activeweb.DBIntegrationSpec
-
- DbName - Annotation Type in org.javalite.activejdbc.annotations
-
- DbName - Static variable in class org.javalite.instrumentation.Classes
-
- DBParameters - Class in org.javalite.instrumentation
-
- DBParameters() - Constructor for class org.javalite.instrumentation.DBParameters
-
- DBProxy - Class in org.javalite.activejdbc
-
- DBSpec - Class in org.javalite.activejdbc.test
-
Super class for tests that need to use a DB connection.
- DBSpec() - Constructor for class org.javalite.activejdbc.test.DBSpec
-
- DBSpecHelper - Class in org.javalite.activeweb
-
Used by test classes as a helper to open/close DB connection, start and rollback transactions.
- DbUtils - Class in org.javalite.db_migrator
-
- debug(String) - Static method in class org.javalite.instrumentation.Logger
-
- DebugTag - Class in org.javalite.activeweb.freemarker
-
Debug tag is for printing an arbitrary object from page context.
- DebugTag() - Constructor for class org.javalite.activeweb.freemarker.DebugTag
-
- decode(byte[]) - Method in class org.javalite.common.Base64.Decoder
-
Decodes all bytes from the input byte array using the
Base64
encoding scheme, writing the results into a newly-allocated output
byte array.
- decode(String) - Method in class org.javalite.common.Base64.Decoder
-
Decodes a Base64 encoded String into a newly-allocated byte array
using the
Base64
encoding scheme.
- decode(byte[], byte[]) - Method in class org.javalite.common.Base64.Decoder
-
Decodes all bytes from the input byte array using the
Base64
encoding scheme, writing the results into the given output byte array,
starting at offset 0.
- decode(ByteBuffer) - Method in class org.javalite.common.Base64.Decoder
-
Decodes all bytes from the input byte buffer using the
Base64
encoding scheme, writing the results into a newly-allocated ByteBuffer.
- DEFAULT_NAME - Static variable in class org.javalite.activejdbc.DB
-
- DefaultDialect - Class in org.javalite.activejdbc.dialects
-
- DefaultDialect() - Constructor for class org.javalite.activejdbc.dialects.DefaultDialect
-
- defrost() - Method in class org.javalite.activejdbc.Model
-
- delegate - Variable in class org.javalite.activejdbc.AbstractLazyList
-
- delete() - Method in class org.javalite.activejdbc.Model
-
Deletes a single table record represented by this instance.
- delete(boolean) - Method in class org.javalite.activejdbc.Model
-
- delete(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Deletes some records from associated table.
- delete(Class<? extends Model>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- DELETE - Annotation Type in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP DELETE request.
- delete(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Simulate HTTP DELETE call to an action of controller.
- delete() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP DELETE method.
- Delete - Class in org.javalite.http
-
Executes a DELETE request.
- Delete(String, int, int) - Constructor for class org.javalite.http.Delete
-
Constructor for making DELETE requests.
- delete(String) - Static method in class org.javalite.http.Http
-
Executes a DELETE request.
- delete(String, int, int) - Static method in class org.javalite.http.Http
-
Executes a DELETE request.
- deleteAll() - Static method in class org.javalite.activejdbc.Model
-
Deletes all records from associated table.
- deleteAll(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- deleteCascade() - Method in class org.javalite.activejdbc.Model
-
Deletes this record from associated table, as well as children.
- deleteCascadeExcept(Association...) - Method in class org.javalite.activejdbc.Model
-
This method does everything
Model.deleteCascade()
does, but in addition allows to exclude some associations
from this action.
- deleteCascadeShallow() - Method in class org.javalite.activejdbc.Model
-
Deletes this record from associated table, as well as its immediate children.
- deleteChildrenShallow(Class<T>) - Method in class org.javalite.activejdbc.Model
-
Deletes immediate children (does not walk the dependency tree).
- deleteManyToManyAssociation(Many2ManyAssociation) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- deleteManyToManyAssociation(Many2ManyAssociation) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- destinationClass() - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
-
- destinationClass() - Method in class org.javalite.activejdbc.conversion.StringToSqlDateConverter
-
- destinationClass() - Method in class org.javalite.activejdbc.conversion.StringToTimestampConverter
-
- destroy() - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
-
- destroy(AppContext) - Method in class org.javalite.activeweb.Bootstrap
-
Called when application is destroyed (un-deployed).
- destroy() - Method in class org.javalite.activeweb.RequestDispatcher
-
- destroy() - Method in class org.javalite.activeweb.SessionFacade
-
Destroys current session
- detach() - Static method in class org.javalite.activejdbc.Base
-
Detaches a default connection from current thread and returns an instance of it.
- detach() - Method in class org.javalite.activejdbc.DB
-
Detaches a connection from current thread and returns an instance of it.
- detach() - Static method in class org.javalite.db_migrator.DbUtils
-
- determineDatabaseType() - Method in class org.javalite.db_migrator.MigrationManager
-
- Dialect - Interface in org.javalite.activejdbc.dialects
-
- Dialects - Class in org.javalite.activejdbc.dialects
-
- Dialects() - Constructor for class org.javalite.activejdbc.dialects.Dialects
-
- DifferenceExpectation<T> - Class in org.javalite.test.jspec
-
- DifferenceExpectation(T) - Constructor for class org.javalite.test.jspec.DifferenceExpectation
-
- dirtyAttributeNames() - Method in class org.javalite.activejdbc.Model
-
- disableVerification() - Static method in class org.javalite.activeweb.CSRF
-
- dispose() - Method in class org.javalite.http.Request
-
- doConnect() - Method in class org.javalite.http.Delete
-
- doConnect() - Method in class org.javalite.http.Get
-
- doConnect() - Method in class org.javalite.http.Multipart
-
- doConnect() - Method in class org.javalite.http.Patch
-
- doConnect() - Method in class org.javalite.http.Post
-
- doConnect() - Method in class org.javalite.http.Put
-
- doConnect() - Method in class org.javalite.http.Request
-
Makes a connection to the remote resource.
- doConvert(S) - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
-
Converts instance of S to T.
- doConvert(String) - Method in class org.javalite.activejdbc.conversion.StringToSqlDateConverter
-
- doConvert(String) - Method in class org.javalite.activejdbc.conversion.StringToTimestampConverter
-
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
-
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.javalite.activeweb.RequestDispatcher
-
- doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.CacheManager
-
- doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.EHCache3Manager
-
- doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.EHCacheManager
-
- doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.NopeCacheManager
-
- doFlush(CacheEvent) - Method in class org.javalite.activejdbc.cache.RedisCacheManager
-
- driver() - Static method in class org.javalite.db_migrator.JdbcPropertiesOverride
-
- driverClass(String) - Static method in class org.javalite.db_migrator.DbUtils
-
Given a jdbc url, this tries to determine the target database and returns the driver class name as a string.
- DropMojo - Class in org.javalite.db_migrator.maven
-
- DropMojo() - Constructor for class org.javalite.db_migrator.maven.DropMojo
-
- dummy - package dummy
-
- Dummy - Class in dummy
-
- Dummy() - Constructor for class dummy.Dummy
-
- dump() - Method in class org.javalite.activejdbc.LazyList
-
Dumps contents of this list to System.out
.
- dump(OutputStream) - Method in class org.javalite.activejdbc.LazyList
-
Dumps content of list to a stream.
- DURATION_COLUMN - Static variable in class org.javalite.db_migrator.VersionStrategy
-
- DynamicBuilder() - Constructor for class org.javalite.activeweb.SpecHelper.DynamicBuilder
-
- DynamicClassFactory - Class in org.javalite.activeweb
-
Created By
User: evan
Date: 4/30/13
- DynamicClassFactory() - Constructor for class org.javalite.activeweb.DynamicClassFactory
-
- EHCache3Manager - Class in org.javalite.activejdbc.cache
-
Cache implementation based on EHCache 3.
- EHCache3Manager() - Constructor for class org.javalite.activejdbc.cache.EHCache3Manager
-
- EHCacheManager - Class in org.javalite.activejdbc.cache
-
Cache implementation based on EHCache 2.
- EHCacheManager() - Constructor for class org.javalite.activejdbc.cache.EHCacheManager
-
- EmailValidator - Class in org.javalite.activejdbc.validation
-
- EmailValidator(String) - Constructor for class org.javalite.activejdbc.validation.EmailValidator
-
- empty(Object[]) - Static method in class org.javalite.common.Util
-
Returns true if array is either null or empty.
- empty(Collection<?>) - Static method in class org.javalite.common.Util
-
Returns true if collection is either null or empty.
- enableVerification() - Static method in class org.javalite.activeweb.CSRF
-
- encode(byte[]) - Method in class org.javalite.common.Base64.Encoder
-
Encodes all bytes from the specified byte array into a newly-allocated
byte array using the
Base64
encoding scheme.
- encode(byte[], byte[]) - Method in class org.javalite.common.Base64.Encoder
-
Encodes all bytes from the specified byte array using the
Base64
encoding scheme, writing the resulting bytes to the
given output byte array, starting at offset 0.
- encode(ByteBuffer) - Method in class org.javalite.common.Base64.Encoder
-
Encodes all remaining bytes from the specified byte buffer into
a newly-allocated ByteBuffer using the
Base64
encoding
scheme.
- encodeRedirectURL(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- encodeRedirectUrl(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- encodeToString(byte[]) - Method in class org.javalite.common.Base64.Encoder
-
Encodes the specified byte array into a String using the
Base64
encoding scheme.
- encodeURL(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- encodeUrl(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- encoding(String) - Method in class org.javalite.activeweb.HttpSupport
-
- enqueue(QueryExecutionEvent) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
Enqueues a query execution event for processing.
- entrySet() - Method in class org.javalite.activejdbc.Errors
-
- entrySet() - Method in class org.javalite.activeweb.SessionFacade
-
- entrySet() - Method in class org.javalite.app_config.AppConfig
-
- environment(String) - Method in class org.javalite.activeweb.AbstractDBConfig
-
- environment(String, boolean) - Method in class org.javalite.activeweb.AbstractDBConfig
-
- equals(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- equals(Object) - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
-
- equals(Object) - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
-
- equals(Object) - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- equals(Object) - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
-
- equals(Object) - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
-
- equals(Object) - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
-
- equals(Object) - Method in class org.javalite.app_config.Property
-
- err - Variable in class org.javalite.common.RuntimeUtil.Response
-
- error(String) - Method in class org.javalite.instrumentation.Log
-
- error(String) - Static method in class org.javalite.instrumentation.Logger
-
- Errors - Class in org.javalite.activejdbc
-
Collection of error messages generated by validation process.
- Errors() - Constructor for class org.javalite.activejdbc.Errors
-
- errors() - Method in class org.javalite.activejdbc.Model
-
Provides an instance of Errors
object, filled with error messages after validation.
- errors(Locale) - Method in class org.javalite.activejdbc.Model
-
Provides an instance of localized Errors
object, filled with error messages after validation.
- errors() - Method in exception org.javalite.activejdbc.validation.ValidationException
-
Convenience method, returns the same object with errors that is attached to a model generated this exception.
- errors(Locale) - Method in exception org.javalite.activejdbc.validation.ValidationException
-
Convenience method, returns the same object with errors that is attached to a model generated this exception.
- Escape - Class in org.javalite.common
-
- escapeControlChars(String) - Static method in class org.javalite.common.JsonHelper
-
Escapes control characters in a string.
- Exact - Class in org.javalite.activejdbc.validation.length
-
The attribute length must be equal to a given value.
- exceptFor(Class<T>...) - Method in class org.javalite.activeweb.AbstractControllerConfig.FilterBuilder
-
Pass controllers to this method if you want to exclude supplied filters to be applied to them.
- exceptIn(String) - Method in class org.javalite.activeweb.IgnoreSpec
-
Sets an environment in which NOT TO ignore a URI.
- exceptionDidHappen() - Static method in class org.javalite.activeweb.RequestContext
-
- ExceptionExpectation<T> - Class in org.javalite.test.jspec
-
- ExceptionExpectation(Class<T>) - Constructor for class org.javalite.test.jspec.ExceptionExpectation
-
- exceptionHappened() - Static method in class org.javalite.activeweb.RequestContext
-
- excludeActions(String...) - Method in class org.javalite.activeweb.AbstractControllerConfig.FilterBuilder
-
Excludes actions from filter configuration.
- exec(String) - Static method in class org.javalite.activejdbc.Base
-
Executes DML.
- exec(String, Object...) - Static method in class org.javalite.activejdbc.Base
-
Executes parametrized DML - will contain question marks as placeholders.
- exec(String) - Method in class org.javalite.activejdbc.DB
-
Executes DML.
- exec(String, Object...) - Method in class org.javalite.activejdbc.DB
-
Executes parametrized DML - will contain question marks as placeholders.
- exec(String) - Static method in class org.javalite.db_migrator.DbUtils
-
- exec() - Method in class org.javalite.test.jspec.DifferenceExpectation
-
- exec() - Method in class org.javalite.test.jspec.ExceptionExpectation
-
- execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.javalite.activeweb.freemarker.ContentForTag
-
- execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.javalite.activeweb.freemarker.FlashTag
-
- execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.javalite.activeweb.freemarker.RenderTag
-
- execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.javalite.activeweb.freemarker.WrapTag
-
- execute() - Method in class org.javalite.async.Command
-
Subclasses are to provide implementation of this method to get application-specific work done.
- execute() - Method in class org.javalite.async.pooltest.HelloPerformanceCommand
-
- execute(int, String...) - Static method in class org.javalite.common.RuntimeUtil
-
Executes an external command and provides results of execution at the current location.
- execute(int, File, String...) - Static method in class org.javalite.common.RuntimeUtil
-
Executes an external command and provides results of execution.
- execute(String...) - Static method in class org.javalite.common.RuntimeUtil
-
Executes an external command and provides results of execution.
- execute(String) - Static method in class org.javalite.common.RuntimeUtil
-
- execute() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- execute() - Method in class org.javalite.db_migrator.maven.HelpMojo
-
- execute() - Method in class org.javalite.db_migrator.maven.NewMojo
-
- execute() - Method in class org.javalite.instrumentation.ActiveJdbcInstrumentationPlugin
-
- execute() - Method in class org.javalite.lessc.maven.CompileLesscFilesMojo
-
- executeBatch(PreparedStatement) - Static method in class org.javalite.activejdbc.Base
-
Executes a batch on java.sql.PreparedStatement
.
- executeBatch(PreparedStatement) - Method in class org.javalite.activejdbc.DB
-
Executes a batch on java.sql.PreparedStatement
.
- executeMojo() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.CheckMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.CreateMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.DropMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.MigrateMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.ResetMojo
-
- executeMojo() - Method in class org.javalite.db_migrator.maven.ValidateMojo
-
- exists(Object) - Static method in class org.javalite.activejdbc.Model
-
Returns true if record corresponding to the id passed exists in the DB.
- exists() - Method in class org.javalite.activejdbc.Model
-
Returns true if record corresponding to the id of this instance exists in the DB.
- exists(Class<? extends Model>, Object) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- exists(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Tests if a request parameter exists.
- exists(String) - Method in class org.javalite.activeweb.HttpSupport
-
Tests if a request parameter exists.
- exists(String) - Static method in class org.javalite.activeweb.RequestUtils
-
Tests if a request parameter exists.
- exitValue - Variable in class org.javalite.common.RuntimeUtil.Response
-
- expect(ExceptionExpectation<T>) - Static method in class org.javalite.test.jspec.JSpec
-
- expect(DifferenceExpectation<T>) - Static method in class org.javalite.test.jspec.JSpec
-
Expect that the results are different, throw TestException if same.
- expect(ExceptionExpectation<T>) - Method in interface org.javalite.test.jspec.JSpecSupport
-
- expect(DifferenceExpectation<T>) - Method in interface org.javalite.test.jspec.JSpecSupport
-
- Expectation<T> - Class in org.javalite.test.jspec
-
- Expectation(T) - Constructor for class org.javalite.test.jspec.Expectation
-
- extractDatabaseName(String) - Static method in class org.javalite.db_migrator.DbUtils
-
Given a JDBC connection URL, extract only the database name.
- extractServerUrl(String) - Static method in class org.javalite.db_migrator.DbUtils
-
Given a JDBC connection URL, generate a new connection URL to connect directly to the database server itself (ie: no database specified).
- extractVersion(String) - Method in class org.javalite.db_migrator.MigrationResolver
-
- field(FormField) - Method in class org.javalite.http.Multipart
-
Adds a form field to the request
- field(String, String) - Method in class org.javalite.http.Multipart
-
Convenience method to add a form field to the request.
- fields(String...) - Method in class org.javalite.http.Multipart
-
Convenience method to add multiple fields to the request.
- file(String, String) - Method in class org.javalite.http.Multipart
-
Convenience method to add a file fields to the request.
- FileField - Class in org.javalite.http
-
- FileField(String, File) - Constructor for class org.javalite.http.FileField
-
- FileItem - Class in org.javalite.activeweb
-
Convenience class for use in tests.
- FileItem(String, String, String, byte[]) - Constructor for class org.javalite.activeweb.FileItem
-
Constructor to be used in tests.
- FileItem(String, String, byte[]) - Constructor for class org.javalite.activeweb.FileItem
-
Constructor to be used in tests.
- FileItem(File) - Constructor for class org.javalite.activeweb.FileItem
-
Constructor to be used in tests, field name and file name are set to File name.
- FilterBuilder(HttpSupportFilter[]) - Constructor for class org.javalite.activeweb.AbstractControllerConfig.FilterBuilder
-
- FilterException - Exception in org.javalite.activeweb
-
- FilterException(Throwable) - Constructor for exception org.javalite.activeweb.FilterException
-
- find(String, Object...) - Static method in class org.javalite.activejdbc.Base
-
Executes a raw query and returns an instance of
RowProcessor
.
- find(String, RowListener) - Static method in class org.javalite.activejdbc.Base
-
Executes a raw query and calls instance of RowListener
with every row found.
- find(String, Object...) - Method in class org.javalite.activejdbc.DB
-
Executes a raw query and returns an instance of
RowProcessor
.
- find(String, RowListener) - Method in class org.javalite.activejdbc.DB
-
Executes a raw query and calls instance of RowListener
with every row found.
- find(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
- findAll(String, Object...) - Static method in class org.javalite.activejdbc.Base
-
This method returns entire resultset as one list.
- findAll(String) - Static method in class org.javalite.activejdbc.Base
-
This method returns entire resultset as one list.
- findAll(String, Object...) - Method in class org.javalite.activejdbc.DB
-
This method returns entire resultset as one list.
- findAll(String) - Method in class org.javalite.activejdbc.DB
-
This method returns entire resultset as one list.
- findAll() - Static method in class org.javalite.activejdbc.Model
-
This method returns all records from this table.
- findAll(Class<T>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findByCompositeKeys(Object...) - Static method in class org.javalite.activejdbc.Model
-
Composite PK values in exactly the same order as specified in
CompositePK
.
- findByCompositeKeys(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findById(Object) - Static method in class org.javalite.activejdbc.Model
-
- findById(Class<T>, Object) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findBySQL(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Free form query finder.
- findBySql(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findControllerNamePart(String, String) - Static method in class org.javalite.activeweb.Router
-
Now that we know that this controller is under a package, need to find the controller short name.
- findFirst(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
- findFirst(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findOrCreateIt(Object...) - Static method in class org.javalite.activejdbc.Model
-
A convenience method to fetch existing model from db or to create and insert new record with attribute values.
- findOrCreateIt(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findOrCreateIt(Class<T>, boolean, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findOrInit(Object...) - Static method in class org.javalite.activejdbc.Model
-
A convenience method to fetch existing model from db or to create a new instance in memory initialized with
some attribute values.
- findOrInit(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- findPackageSuffix(String) - Method in class org.javalite.activeweb.Router
-
Finds a part of a package name which can be found in between "app.controllers" and short name of class.
- findWith(ModelListener, String, Object...) - Static method in class org.javalite.activejdbc.Model
-
This method is for processing really large result sets.
- findWith(Class<M>, ModelListener<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- first(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Returns a first result for this condition.
- firstCell(String, Object...) - Static method in class org.javalite.activejdbc.Base
-
Returns a value of the first column of the first row.
- firstCell(String, Object...) - Method in class org.javalite.activejdbc.DB
-
This method returns the value of the first column of the first row.
- firstColumn(String, Object...) - Static method in class org.javalite.activejdbc.Base
-
This method returns entire resultset as one list.
- firstColumn(String, Object...) - Method in class org.javalite.activejdbc.DB
-
This method returns entire resultset with one column as a list.
- FK - Static variable in class org.javalite.activejdbc.associations.BelongsToAssociation
-
- FK - Static variable in class org.javalite.activejdbc.associations.OneToManyAssociation
-
- flash(Map) - Method in class org.javalite.activeweb.HttpSupport
-
Flash method to display multiple flash messages.
- flash(Object...) - Method in class org.javalite.activeweb.HttpSupport
-
Flash method to display multiple flash messages.
- flash(String) - Method in class org.javalite.activeweb.HttpSupport
-
Sets a flash name for a flash with a body.
- flash(String, Object) - Method in class org.javalite.activeweb.HttpSupport
-
Sends value to flash.
- flash(String) - Method in class org.javalite.activeweb.SpecHelper
-
Returns a named flash value assigned to session by controller.
- flash(String, Class<T>) - Method in class org.javalite.activeweb.SpecHelper
-
Returns a named flash value assigned to session by controller.
- flashExists(String) - Method in class org.javalite.activeweb.SpecHelper
-
Tests if flash by name exists.
- FlashTag - Class in org.javalite.activeweb.freemarker
-
This tag allows to display a message on a page that lives for one more request.
- FlashTag() - Constructor for class org.javalite.activeweb.freemarker.FlashTag
-
- flush(CacheEvent, boolean) - Method in class org.javalite.activejdbc.cache.CacheManager
-
Flashes cache.
- flush(CacheEvent) - Method in class org.javalite.activejdbc.cache.CacheManager
-
Flashes cache.
- flushBuffer() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- forActions(String...) - Method in class org.javalite.activeweb.AbstractControllerConfig.FilterBuilder
-
Adds a list of actions for which filters are configured.
- format() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns a format part of the URI, or null if URI does not have a format part.
- format() - Method in class org.javalite.activeweb.HttpSupport
-
Returns a format part of the URI, or null if URI does not have a format part.
- format(String) - Method in class org.javalite.activeweb.HttpSupport.RenderBuilder
-
Sets a format for the current request.
- format(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Sets format for this request.
- format() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns a format part of the URI, or null if URI does not have a format part.
- format(LoggingEvent) - Method in class org.javalite.logging.JsonLog4jLayout
-
- formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.DateValidator
-
- formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.length.AttributeLengthValidator
-
- formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.RangeValidator
-
- formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.TimestampValidator
-
- formatMessage(Locale, Object...) - Method in interface org.javalite.activejdbc.validation.Validator
-
Formats a message with locale.
- formatMessage(Locale, Object...) - Method in class org.javalite.activejdbc.validation.ValidatorAdapter
-
Provides default implementation, will look for a property in resource bundle, using set message as key.
- FormField - Class in org.javalite.http
-
- FormField(String, String) - Constructor for class org.javalite.http.FormField
-
- FormField() - Constructor for class org.javalite.http.FormField
-
- FormItem - Class in org.javalite.activeweb
-
Represents an form item from a multi-part form.
- FormItem(String, String, boolean, String, byte[]) - Constructor for class org.javalite.activeweb.FormItem
-
This constructor is used for testing.
- formItem(Object, Object) - Method in class org.javalite.activeweb.RequestBuilder
-
Convenience method to add a non-file form item to request.
- formItem(String, String, boolean, String, byte[]) - Method in class org.javalite.activeweb.RequestBuilder
-
Adds an "uploaded" file to the request.
- formItem(FormItem) - Method in class org.javalite.activeweb.RequestBuilder
-
Adds "uploaded" file to the request.
- formItems(Object...) - Method in class org.javalite.activeweb.RequestBuilder
-
Convenience method for sending pairs of name and values with multi-part request.
- formSelect(String, String[], String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.DB2Dialect
-
- formSelect(String, String[], String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- formSelect(String, String[], String, List<String>, long, long) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- formSelect(String, String[], String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
-
Generates adds limit, offset and order bys to a sub-query
- formSelect(String, String[], String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.MySQLDialect
-
- formSelect(String, String[], String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.OracleDialect
-
Example of a query we are building here:
- formSelect(String, String[], String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.PostgreSQLDialect
-
Generates adds limit, offset and order bys to a sub-query
- formSelect(String, String[], String, List<String>, long, long) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
-
- FormTag - Class in org.javalite.activeweb.freemarker
-
This is a FreeMarker directive which is registered as <@form...
- FormTag() - Constructor for class org.javalite.activeweb.freemarker.FormTag
-
- FreeMarkerTag - Class in org.javalite.activeweb.freemarker
-
Convenience class for implementing application - specific tags.
- FreeMarkerTag() - Constructor for class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- FreeMarkerTemplateManager - Class in org.javalite.activeweb.freemarker
-
- FreeMarkerTemplateManager() - Constructor for class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
-
- fromBase64(String) - Static method in class org.javalite.common.Util
-
Will decode Base64-encoded string back into byte array.
- fromBytes(byte[]) - Static method in class org.javalite.async.Command
-
- fromMap(Map) - Method in class org.javalite.activejdbc.Model
-
Overrides attribute values from input map.
- fromXml(String) - Method in class org.javalite.activejdbc.Model
-
Parses XML into a model.
- fromXml(String) - Static method in class org.javalite.async.Command
-
Method used by framework to de-serialize a command from XML.
- frozen() - Method in class org.javalite.activejdbc.Model
-
- FrozenException - Exception in org.javalite.activejdbc
-
- FrozenException(Model) - Constructor for exception org.javalite.activejdbc.FrozenException
-
- generate(String) - Method in class org.javalite.activejdbc.StaticMetadataGenerator
-
- generate(String, String, String, boolean, Map) - Static method in class org.javalite.activeweb.Router
-
Generates a URI for a controller.
- generateImage(String) - Static method in class org.javalite.activeweb.Captcha
-
Generates a PNG image of text 180 pixels wide, 40 pixels high with white background.
- generateText() - Static method in class org.javalite.activeweb.Captcha
-
Generates a random alpha-numeric string of eight characters.
- get(int) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- get(Object) - Method in class org.javalite.activejdbc.Errors
-
Provides a message from a resource bundle activejdbc_messages
.
- get(String, Object...) - Method in class org.javalite.activejdbc.Errors
-
Provides a message from the resource bundle activejdbc_messages
which is merged
with parameters.
- get(String) - Method in class org.javalite.activejdbc.Model
-
Returns a value for attribute.
- get(Class<C>, String, Object...) - Method in class org.javalite.activejdbc.Model
-
Provides a list of child models in one to many, many to many and polymorphic associations, but in addition also allows to filter this list
by criteria.
- GET - Annotation Type in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP GET request.
- get(String) - Method in class org.javalite.activeweb.AppContext
-
Retrieves object by name
- get(String, Class<T>) - Method in class org.javalite.activeweb.AppContext
-
Retrieves object by name.
- get() - Static method in class org.javalite.activeweb.async.Host
-
- get(String) - Static method in class org.javalite.activeweb.Configuration
-
- get(Object) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Gets an object from context - by name.
- get(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Simulate HTTP GET call to an action of controller.
- get(String) - Method in class org.javalite.activeweb.RequestVo
-
- get() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP GET method.
- get(String) - Method in class org.javalite.activeweb.SessionFacade
-
Retrieve object from session.
- get(String, Class<T>) - Method in class org.javalite.activeweb.SessionFacade
-
Convenience method, will do internal check for null and then cast.
- get(Object) - Method in class org.javalite.activeweb.SessionFacade
-
- get(String) - Method in class org.javalite.activeweb.SessionTestFacade
-
Retrieve object from session.
- get(String, Class<T>) - Method in class org.javalite.activeweb.SessionTestFacade
-
Convenience method, will do internal check for null and then cast.
- get(Object) - Method in class org.javalite.app_config.AppConfig
-
- Get - Class in org.javalite.http
-
Executes a GET request.
- Get(String, int, int) - Constructor for class org.javalite.http.Get
-
Constructor for making GET requests.
- get(String) - Static method in class org.javalite.http.Http
-
Executes a GET request.
- get(String, int, int) - Static method in class org.javalite.http.Http
-
Executes a GET request
- getActionName() - Method in class org.javalite.activeweb.Route
-
- getActionName() - Method in class org.javalite.activeweb.RouteBuilder
-
- getActiveLogger() - Static method in class org.javalite.activejdbc.Configuration
-
- getAll(Class<C>) - Method in class org.javalite.activejdbc.Model
-
This methods supports one to many, many to many relationships as well as polymorphic associations.
- getAllContent() - Static method in class org.javalite.activeweb.freemarker.ContentTL
-
- getAllProperties() - Static method in class org.javalite.app_config.AppConfig
-
- getAllVariables() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns a map of all variables in scope.
- getAppliedMigrations() - Method in class org.javalite.db_migrator.VersionStrategy
-
- getAppliedMigrationVersions() - Method in class org.javalite.db_migrator.MigrationManager
-
- getAsProperty(String) - Static method in class org.javalite.app_config.AppConfig
-
Returns property instance corresponding to key.
- getAssociationForTarget(Class<? extends Model>, Class<A>) - Method in class org.javalite.activejdbc.MetaModel
-
Returns association of this table with the target table.
- getAssociationForTarget(Class<? extends Model>) - Method in class org.javalite.activejdbc.MetaModel
-
Returns association of this table with the target table.
- getAssociations() - Method in class org.javalite.activejdbc.MetaModel
-
- getAssociationsForTarget(Class<? extends Model>) - Method in class org.javalite.activejdbc.MetaModel
-
Returns associations of this table with the target table.
- getAsyncContext() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- getAttributeNames() - Method in class org.javalite.activejdbc.MetaModel
-
Retrieves all attribute names.
- getAttributeNamesSkip(String...) - Method in class org.javalite.activejdbc.MetaModel
-
Finds all attribute names except those provided as arguments.
- getAttributeNamesSkipGenerated() - Method in class org.javalite.activejdbc.MetaModel
-
Convenience method.
- getAttributeNamesSkipGenerated(boolean) - Method in class org.javalite.activejdbc.MetaModel
-
Finds all attribute names except managed like id
,
created_at
, updated_at
and record_version
, depending on argument.
- getAttributeNamesSkipId() - Method in class org.javalite.activejdbc.MetaModel
-
Finds all attribute names except for id.
- getAttributes() - Method in class org.javalite.activejdbc.Model
-
- getAvg() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getBatchReceiver(String, long) - Method in class org.javalite.async.Async
-
- getBigDecimal(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as java.math.BigDecimal
.
- getBoolean(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Boolean
.
- getBootstrapClassName() - Static method in class org.javalite.activeweb.Configuration
-
- getBufferSize() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getBytes(String) - Method in class org.javalite.activejdbc.Model
-
Gets a value as bytes.
- getBytes() - Method in class org.javalite.activeweb.FormItem
-
Reads contents of a file into a byte array at once.
- getBytes(BytesMessage) - Static method in class org.javalite.async.Async
-
- getCache(String, String) - Method in class org.javalite.activejdbc.cache.CacheManager
-
Returns a cached item.
- getCache(String, String) - Method in class org.javalite.activejdbc.cache.EHCache3Manager
-
- getCache(String, String) - Method in class org.javalite.activejdbc.cache.EHCacheManager
-
- getCache(String, String) - Method in class org.javalite.activejdbc.cache.NopeCacheManager
-
- getCache(String, String) - Method in class org.javalite.activejdbc.cache.RedisCacheManager
-
- getCacheManager() - Method in enum org.javalite.activejdbc.cache.QueryCache
-
- getCacheManager() - Method in class org.javalite.activejdbc.Configuration
-
- getCharacterEncoding() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getClazz(String) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
-
- getClazz() - Method in class org.javalite.test.jspec.ExceptionExpectation
-
- getColumnMetadata() - Method in class org.javalite.activejdbc.MetaModel
-
Provides column metadata map, keyed by attribute names.
- getColumnName() - Method in class org.javalite.activejdbc.ColumnMetadata
-
Column name as reported by DBMS driver.
- getColumnSize() - Method in class org.javalite.activejdbc.ColumnMetadata
-
Column size as reported by DBMS driver.
- getCommandListener() - Method in class org.javalite.async.QueueConfig
-
- getCompiledClass(String) - Static method in class org.javalite.activeweb.DynamicClassFactory
-
- getCompositeKeys() - Method in class org.javalite.activejdbc.MetaModel
-
Returns optional composite primary key class
- getCompositeKeys() - Method in class org.javalite.activejdbc.Model
-
Provides a list of composite keys as specified in
CompositePK
.
- getConfig() - Method in class org.javalite.async.Async
-
Get additional server configuration.
- getConfigFile() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getConfiguration() - Method in enum org.javalite.activejdbc.Registry
-
- getConfiguration() - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
-
- getConnection() - Method in class org.javalite.activejdbc.DB
-
- getConnectionSpec(String) - Method in class org.javalite.activejdbc.Configuration
-
- getConnectionSpec() - Method in class org.javalite.activejdbc.connection_config.ConnectionSpecWrapper
-
- getConnectionSpecWrappers() - Static method in class org.javalite.activejdbc.connection_config.DbConfiguration
-
Provides a list of all connection wrappers corresponding to a current environment.
- getConnectionSpecWrappers(String) - Static method in class org.javalite.activejdbc.connection_config.DbConfiguration
-
Provides a list of all connection wrappers corresponding to a given environment.
- getContentType() - Method in class org.javalite.activeweb.AppController
-
Returns hardcoded value "text/html".
- getContentType() - Method in class org.javalite.activeweb.FormItem
-
Content type of this form field.
- getContentType() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getContext() - Method in class org.javalite.activejdbc.connection_config.ConnectionJndiSpec
-
- getContext() - Method in class org.javalite.activeweb.AppIntegrationSpec
-
- getContext() - Method in class org.javalite.activeweb.RequestDispatcher
-
- getContextPath() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns this applications' context path.
- getController() - Method in class org.javalite.activeweb.Route
-
- getController() - Method in class org.javalite.activeweb.RouteBuilder
-
- getControllerClassName(String) - Static method in class org.javalite.activeweb.ControllerFactory
-
Expected paths: /controller, /package/controller, /package/package2/controller, /package/package2/package3/controller, etc.
- getControllerClassName() - Method in class org.javalite.activeweb.ControllerSpec
-
- getControllerClassName() - Method in class org.javalite.activeweb.Route
-
This is used in specs
- getControllerConfigClassName() - Static method in class org.javalite.activeweb.Configuration
-
- getControllerPath() - Method in class org.javalite.activeweb.ControllerSpec
-
Returns a controller path - this includes packages if there are any after "app.controllers".
- getControllerPath() - Method in class org.javalite.activeweb.Route
-
- getControllerPath(String) - Method in class org.javalite.activeweb.Router
-
Finds a controller path from URI.
- getControllerResponse() - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
-
- getCookies() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns all cookies from last response.
- getCount() - Method in class org.javalite.activejdbc.Paginator
-
Returns total count of records based on provided criteria.
- getCount() - Method in class org.javalite.activejdbc.RawPaginator
-
Returns total count of records based on provided criteria.
- getCount() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getCreateSql() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- getCreationTime() - Method in class org.javalite.activeweb.SessionFacade
-
Returns time when session was created.
- getCreationTime() - Method in class org.javalite.activeweb.SessionTestFacade
-
Returns time when session was created.
- getCurrentConnectionSpec() - Method in class org.javalite.activejdbc.Configuration
-
Finds a connection
ConnectionSpec
that corresponds to system properties,
environment variables of
database.properties
configuration, whichever is found first.
- getCurrentPage() - Method in class org.javalite.activejdbc.Paginator
-
Returns index of current page, or 0 if this instance has not produced a page yet.
- getCurrentPage() - Method in class org.javalite.activejdbc.RawPaginator
-
Returns index of current page, or 0 if this instance has not produced a page yet.
- getCurrrentConnectionNames() - Static method in class org.javalite.activejdbc.DB
-
Provides a names' list of current connections.
- getDatabaseName(CtClass) - Static method in class org.javalite.instrumentation.Instrumentation
-
- getDataSource() - Method in class org.javalite.activejdbc.connection_config.ConnectionDataSourceSpec
-
- getDataSourceJndiName() - Method in class org.javalite.activejdbc.connection_config.ConnectionJndiSpec
-
- getDate(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as java.sql.Date
.
- getDbConfigClassName() - Static method in class org.javalite.activeweb.Configuration
-
- getDbName() - Method in class org.javalite.activejdbc.connection_config.ConnectionSpecWrapper
-
- getDbName() - Method in class org.javalite.activejdbc.MetaModel
-
- getDbName(Class<? extends Model>) - Static method in class org.javalite.activejdbc.MetaModel
-
- getDbType() - Method in class org.javalite.activejdbc.MetaModel
-
- getDecoder() - Static method in class org.javalite.common.Base64
-
- getDefaultLayout() - Static method in class org.javalite.activeweb.Configuration
-
- getDialect(String) - Static method in class org.javalite.activejdbc.dialects.Dialects
-
- getDialect() - Method in class org.javalite.activejdbc.MetaModel
-
- getDispatcherType() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- getDomain() - Method in class org.javalite.activeweb.Cookie
-
- getDouble(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Double
.
- getDriver() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcSpec
-
- getDriver() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getDriver() - Method in class org.javalite.instrumentation.DBParameters
-
- getDropSql() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- getEdges(String) - Method in enum org.javalite.activejdbc.Registry
-
Returns edges for a join.
- getEncoder() - Static method in class org.javalite.common.Base64
-
- getEncoding() - Method in class org.javalite.activeweb.HttpSupport
-
Controllers can override this method to return encoding they require.
- getEncoding() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- getEnv() - Static method in class org.javalite.activejdbc.Configuration
-
Returns name of environment, such as "development", "production", etc.
- getEnv() - Static method in class org.javalite.activeweb.Configuration
-
Returns name of environment, such as "development", "production", etc.
- getEnvironment() - Method in class org.javalite.activejdbc.Configuration
-
- getEnvironment() - Method in class org.javalite.activejdbc.connection_config.ConnectionSpecWrapper
-
- getEnvironments() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getExpected() - Method in class org.javalite.test.jspec.DifferenceExpectation
-
- getFieldName() - Method in class org.javalite.activeweb.FormItem
-
Form field name.
- getFile(String, List<FormItem>) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method to get file content from multipart/form-data
request.
- getFile() - Method in class org.javalite.http.FileField
-
- getFileName() - Method in class org.javalite.activeweb.FormItem
-
File name.
- getFilters() - Static method in class org.javalite.activeweb.Configuration
-
- getFkName() - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
-
- getFkName() - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
-
- getFKName() - Method in class org.javalite.activejdbc.MetaModel
-
FK name is a foreign key name used in relationships as a foreign key column in a child table (table represented by this
instance is a parent table).
- getFloat(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Float
.
- getFormItemIterator() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- getFormItems() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- getFreeMarkerConfig() - Static method in class org.javalite.activeweb.Configuration
-
- getFrom() - Method in class org.javalite.activejdbc.Paginator
-
Returns index of the first item in a current page.
- getGroup() - Method in class org.javalite.activejdbc.cache.CacheEvent
-
- getHeader(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getHeaderNames() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getHeaders(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getHttpServletRequest() - Method in class org.javalite.activeweb.HttpSupport
-
Direct access to current HttpServletRequest
for low level operations.
- getHttpServletResponse() - Method in class org.javalite.activeweb.HttpSupport
-
Direct access to current HttpServletResponse
for low level operations.
- getId() - Method in class org.javalite.activejdbc.Model
-
Value of ID.
- getId() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns value of ID if one is present on a URL.
- getId() - Method in class org.javalite.activeweb.HttpSupport
-
Returns value of ID if one is present on a URL.
- getId() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns value of ID if one is present on a URL.
- getId() - Method in class org.javalite.activeweb.Route
-
- getId() - Method in class org.javalite.activeweb.RouteBuilder
-
- getId() - Method in class org.javalite.activeweb.SessionFacade
-
returns ID of the underlying session
- getIdGeneratorCode() - Method in class org.javalite.activejdbc.MetaModel
-
- getIdName() - Method in class org.javalite.activejdbc.MetaModel
-
- getIdName() - Method in class org.javalite.activejdbc.Model
-
Name of ID column.
- getIdName(String) - Static method in class org.javalite.common.Inflector
-
- getIgnoreSpecs() - Method in class org.javalite.activeweb.AbstractRouteConfig
-
- getImplementation() - Method in class org.javalite.activejdbc.cache.CacheManager
-
Returns underlying instance of implementation for specific configuration.
- getImplementation() - Method in class org.javalite.activejdbc.cache.EHCache3Manager
-
- getImplementation() - Method in class org.javalite.activejdbc.cache.EHCacheManager
-
- getImplementation() - Method in class org.javalite.activejdbc.cache.NopeCacheManager
-
- getImplementation() - Method in class org.javalite.activejdbc.cache.RedisCacheManager
-
- getInjector() - Method in class org.javalite.activeweb.Bootstrap
-
Subclasses need to override this method to return instance of Injector to use for dependency injection.
- getInputStream() - Method in class org.javalite.activeweb.FormItem
-
Returns input stream to read uploaded file contents from.
- getInputStream() - Method in class org.javalite.http.Request
-
Returns input stream to read server response from.
- getInteger(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Integer
.
- getItem(String, String, Object[]) - Method in enum org.javalite.activejdbc.cache.QueryCache
-
Returns an item from cache, or null if nothing found.
- getJmsConfig() - Method in class org.javalite.async.Async
-
Get additional JMS configuration.
- getJMSMessageID() - Method in class org.javalite.async.Command
-
- getJoin() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- getKey(String, String, Object[]) - Method in class org.javalite.activejdbc.cache.CacheManager
-
Generates a cache key.
- getKeys(String) - Static method in class org.javalite.app_config.AppConfig
-
Returns all keys that start with a prefix
- getLabel() - Method in class org.javalite.activeweb.freemarker.SelectOption
-
- getLayout() - Method in class org.javalite.activeweb.AppController
-
Returns a name for a default layout as provided in activeweb_defaults.properties
file.
- getLayout() - Method in class org.javalite.logging.LoggingTestAppender
-
- getLesscArguments() - Method in class org.javalite.activeweb.controllers.AbstractLesscController
-
Subclass should override this method if they want to provide custom list of arguments to LessC compiler.
- getLesscArguments() - Method in class org.javalite.lessc.maven.LessConfig
-
- getLesscMain() - Method in class org.javalite.lessc.maven.LessConfig
-
- getLessFile() - Method in class org.javalite.activeweb.controllers.AbstractLesscController
-
Subclass should return a file handle pointing to the main Less file.
- getLevel() - Method in enum org.javalite.activejdbc.logging.LogLevel
-
- getLevel() - Method in class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
-
- getListenerCount() - Method in class org.javalite.async.QueueConfig
-
- getLocale() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- getLocale() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getLocale() - Method in class org.javalite.activeweb.HttpSupport
-
- getLocale() - Static method in class org.javalite.activeweb.RequestUtils
-
- getLogHeaders() - Static method in class org.javalite.activeweb.Configuration
-
- getLong(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Long
.
- getLongId() - Method in class org.javalite.activejdbc.Model
-
Convenience method: converts ID value to Long and returns it.
- getManyToManyAssociations(Association...) - Method in class org.javalite.activejdbc.MetaModel
-
- getMap(String) - Method in class org.javalite.activeweb.HttpSupport
-
Returns a map parsed from a request if parameter names have a "hash" syntax:
- getMap(String, List<FormItem>) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method to get parameter map in case multipart/form-data
request was used.
- getMax() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getMaxAge() - Method in class org.javalite.activeweb.Cookie
-
- getMaxUploadSize() - Static method in class org.javalite.activeweb.Configuration
-
- getMessage() - Method in exception org.javalite.activejdbc.associations.NotAssociatedException
-
- getMessage() - Method in exception org.javalite.activejdbc.validation.ValidationException
-
- getMessage() - Method in class org.javalite.activejdbc.validation.ValidatorAdapter
-
- getMessage() - Method in class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
-
- getMessage() - Method in class org.javalite.activeweb.controller_filters.HeadersLogFilter
-
- getMessage() - Method in class org.javalite.activeweb.controller_filters.RequestParamsLogFilter
-
- getMessage() - Method in class org.javalite.activeweb.controller_filters.RequestPropertiesLogFilter
-
- getMessage() - Method in exception org.javalite.activeweb.ViewMissingException
-
- getMessage() - Method in exception org.javalite.activeweb.WebException
-
- getMessageCount(String) - Method in class org.javalite.async.Async
-
Returns number of messages currently in queue
- getMessageCounts() - Method in class org.javalite.async.Async
-
Returns counts of messages for all queues.
- getMessageParameters() - Method in class org.javalite.activejdbc.validation.length.Exact
-
- getMessageParameters() - Method in interface org.javalite.activejdbc.validation.length.LengthOption
-
- getMessageParameters() - Method in class org.javalite.activejdbc.validation.length.Max
-
- getMessageParameters() - Method in class org.javalite.activejdbc.validation.length.Min
-
- getMessageParameters() - Method in class org.javalite.activejdbc.validation.length.Range
-
- getMetaModel() - Static method in class org.javalite.activejdbc.Model
-
Provides
MetaModel
object related to this model class.
- getMetaModel(String) - Method in enum org.javalite.activejdbc.Registry
-
Provides a MetaModel of a model representing a table.
- getMetaModel(Class<? extends Model>) - Method in enum org.javalite.activejdbc.Registry
-
- getMethod() - Method in class org.javalite.activeweb.Route
-
- getMigrationsPath() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- getMimeDecoder() - Static method in class org.javalite.common.Base64
-
- getMimeEncoder() - Static method in class org.javalite.common.Base64
-
- getMimeEncoder(int, byte[]) - Static method in class org.javalite.common.Base64
-
Returns a
Base64.Encoder
that encodes using the
MIME type base64 encoding scheme
with specified line length and line separators.
- getMin() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getModelClass() - Method in class org.javalite.activejdbc.MetaModel
-
- getModelClass(String, boolean) - Method in enum org.javalite.activejdbc.Registry
-
Returns model class for a table name, null if not found.
- getModelFile() - Method in enum org.javalite.activejdbc.Registry
-
- getModels() - Method in class org.javalite.instrumentation.InstrumentationModelFinder
-
- getModelsForDb(String) - Static method in class org.javalite.activejdbc.ModelFinder
-
- getName() - Method in class org.javalite.activeweb.Cookie
-
- getName() - Method in class org.javalite.activeweb.FormItem
-
File name.
- getName() - Method in class org.javalite.app_config.Property
-
- getName() - Method in class org.javalite.async.QueueConfig
-
- getName() - Method in class org.javalite.db_migrator.Migration
-
- getName() - Method in class org.javalite.http.FormField
-
- getName() - Method in class org.javalite.instrumentation.DBParameters
-
- getNext() - Method in class org.javalite.activejdbc.Paginator
-
- getNext() - Method in class org.javalite.activejdbc.RawPaginator
-
- getOneToManyAssociations(Association...) - Method in class org.javalite.activejdbc.MetaModel
-
- getOtherName(String, String) - Static method in class org.javalite.common.Inflector
-
If a table name is made of two other table names (as is typical for many to many relationships),
this method retrieves a name of "another" table from a join table name.
- getOutputStream() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getPage(int) - Method in class org.javalite.activejdbc.Paginator
-
This method will return a list of records for a specific page.
- getPage() - Method in class org.javalite.activejdbc.Paginator
-
- getPage(int) - Method in class org.javalite.activejdbc.RawPaginator
-
This method will return a list of records for a specific page.
- getPageSize() - Method in class org.javalite.activejdbc.Paginator
-
- getParametrizedMessage() - Method in class org.javalite.activejdbc.validation.length.Exact
-
- getParametrizedMessage() - Method in interface org.javalite.activejdbc.validation.length.LengthOption
-
- getParametrizedMessage() - Method in class org.javalite.activejdbc.validation.length.Max
-
- getParametrizedMessage() - Method in class org.javalite.activejdbc.validation.length.Min
-
- getParametrizedMessage() - Method in class org.javalite.activejdbc.validation.length.Range
-
- getParentClassName() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
-
- getPart(String) - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- getPartitionIDs() - Method in class org.javalite.activejdbc.MetaModel
-
- getParts() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- getPassword() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcSpec
-
- getPassword() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getPassword() - Method in class org.javalite.instrumentation.DBParameters
-
- getPath() - Method in class org.javalite.activeweb.Cookie
-
- getPendingMigrations() - Method in class org.javalite.db_migrator.MigrationManager
-
Returns pending migrations.
- getPolymorphicAssociations(Association...) - Method in class org.javalite.activejdbc.MetaModel
-
- getPrevious() - Method in class org.javalite.activejdbc.Paginator
-
- getPrevious() - Method in class org.javalite.activejdbc.RawPaginator
-
- getProperties(String) - Static method in class org.javalite.app_config.AppConfig
-
Return all numbered properties with a prefix.
- getProperty(String) - Static method in class org.javalite.app_config.AppConfig
-
Returns property value for a key.
- getPropertyFile() - Method in class org.javalite.app_config.Property
-
- getProps() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcSpec
-
- getQuery() - Method in class org.javalite.activejdbc.statistics.QueryExecutionEvent
-
- getQuery() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getRealPath(String) - Method in class org.javalite.activeweb.HttpSupport
-
Returns a String containing the real path for a given virtual path.
- getRenderTemplateResponse() - Method in class org.javalite.activeweb.HttpSupport.RenderBuilder
-
- getReportSortedBy(String) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
Produces a report sorted by one of the accepted value.
- getRequestBytes() - Method in class org.javalite.activeweb.HttpSupport
-
Reads entire request data as byte array.
- getRequestHost() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
This method returns a host name of a web server if this container is fronted by one, such that
it sets a header X-Forwarded-Host
on the request and forwards it to the Java container.
- getRequestHost() - Method in class org.javalite.activeweb.HttpSupport
-
This method returns a host name of a web server if this container is fronted by one, such that
it sets a header X-Forwarded-Host
on the request and forwards it to the Java container.
- getRequestHost() - Static method in class org.javalite.activeweb.RequestUtils
-
This method returns a host name of a web server if this container is fronted by one, such that
it sets a header X-Forwarded-Host
on the request and forwards it to the Java container.
- getRequestInputStream() - Method in class org.javalite.activeweb.HttpSupport
-
Returns InputStream of the request.
- getRequestPort() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
This method returns a port of a web server if this Java container is fronted by one, such that
it sets a header X-Forwarded-Port
on the request and forwards it to the Java container.
- getRequestPort() - Method in class org.javalite.activeweb.HttpSupport
-
This method returns a port of a web server if this Java container is fronted by one, such that
it sets a header X-Forwarded-Port
on the request and forwards it to the Java container.
- getRequestPort() - Static method in class org.javalite.activeweb.RequestUtils
-
This method returns a port of a web server if this Java container is fronted by one, such that
it sets a header X-Forwarded-Port
on the request and forwards it to the Java container.
- getRequestProperties() - Static method in class org.javalite.activeweb.RequestUtils
-
- getRequestProtocol() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
This method returns a protocol of a request to web server if this container is fronted by one, such that
it sets a header X-Forwarded-Proto
on the request and forwards it to the Java container.
- getRequestProtocol() - Method in class org.javalite.activeweb.HttpSupport
-
This method returns a protocol of a request to web server if this container is fronted by one, such that
it sets a header X-Forwarded-Proto
on the request and forwards it to the Java container.
- getRequestProtocol() - Static method in class org.javalite.activeweb.RequestUtils
-
This method returns a protocol of a request to web server if this container is fronted by one, such that
it sets a header X-Forwarded-Proto
on the request and forwards it to the Java container.
- getRequestStream() - Method in class org.javalite.activeweb.HttpSupport
-
- getRequestString() - Method in class org.javalite.activeweb.HttpSupport
-
Reads entire request data as String.
- getResourceLines(String) - Static method in class org.javalite.common.Util
-
Returns lines of text of a resource as list.
- getResponseHeaders() - Method in class org.javalite.activeweb.HttpSupport
-
Returns response headers
- getRootPackage() - Static method in class org.javalite.activeweb.Configuration
-
- getRoute() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns instance of
Route
to be used for potential conditional logic inside controller filters.
- getRoute() - Method in class org.javalite.activeweb.HttpSupport
-
Returns instance of
Route
to be used for potential conditional logic inside controller filters.
- getRoute() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns instance of
Route
to be used for potential conditional logic inside controller filters.
- getRouteConfigClassName() - Static method in class org.javalite.activeweb.Configuration
-
- getRoutes() - Method in class org.javalite.activeweb.AbstractRouteConfig
-
- getSession() - Method in class org.javalite.activeweb.SessionTestFacade
-
- getSession() - Method in class org.javalite.async.SessionPool
-
- getShort(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as Short
.
- getSource() - Method in class org.javalite.activejdbc.cache.CacheEvent
-
- getSourceClass() - Method in class org.javalite.activejdbc.Association
-
Returns source class of this association.
- getSourceFkName() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- getStackTraceString(Throwable) - Static method in class org.javalite.common.Util
-
Converts stack trace to string.
- getStatisticsQueue() - Method in enum org.javalite.activejdbc.Registry
-
- getStatus() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getStreamAsString() - Method in class org.javalite.activeweb.FormItem
-
Converts entire content of this item to String.
- getString(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as String
.
- getSystemErr() - Static method in class org.javalite.test.SystemStreamUtil
-
Returns buffer accumulated with data as string.
- getSystemOut() - Static method in class org.javalite.test.SystemStreamUtil
-
Returns buffer accumulated with data as string.
- getTableName() - Method in class org.javalite.activejdbc.MetaModel
-
Returns table name currently associated with this model.
- getTableName() - Static method in class org.javalite.activejdbc.Model
-
Returns name of corresponding table.
- getTableName(Class<? extends Model>) - Method in enum org.javalite.activejdbc.Registry
-
- getTag(String) - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
-
- getTag(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
-
- getTargetAction() - Method in class org.javalite.activeweb.Route
-
In case of OPTIONS HTTP method, the controller action might be routed to Controller#options
, in which case
you can use this getter to see what was the original intended controller action.
- getTargetClass() - Method in class org.javalite.activejdbc.Association
-
Returns target class of this association.
- getTargetDir() - Static method in class org.javalite.activeweb.Configuration
-
- getTargetDirectory() - Method in class org.javalite.lessc.maven.LessConfig
-
- getTargetFileName() - Method in class org.javalite.lessc.maven.LessConfig
-
- getTargetFkName() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- getTargetPk() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- getTemplateManager() - Static method in class org.javalite.activeweb.Configuration
-
- getTestConnectionWrappers() - Method in class org.javalite.activejdbc.connection_config.DbConfiguration
-
- getTime(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as java.sql.Time
.
- getTime() - Method in class org.javalite.activejdbc.statistics.QueryExecutionEvent
-
- getTimestamp(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as java.sql.Timestamp
.
- getTmpDir() - Static method in class org.javalite.activeweb.Configuration
-
- getTo() - Method in class org.javalite.activejdbc.Paginator
-
Returns index of the last item in a current page.
- getTopCommands(int, String) - Method in class org.javalite.async.Async
-
Returns top commands in queue.
- getTopTextMessages(int, String) - Method in class org.javalite.async.Async
-
Returns top TextMessage
s in queue.
- getTotal() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- getType() - Method in class org.javalite.activejdbc.cache.CacheEvent
-
- getTypeLabel() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
-
- getTypeLabel() - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
-
- getTypeName() - Method in class org.javalite.activejdbc.ColumnMetadata
-
Column type name as reported by DBMS driver.
- getUnwrapped(Object) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Gets an object from context - by name.
- getUnwrapped(Object, Class<T>) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- getUrl() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcSpec
-
- getUrl() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getUrl() - Method in class org.javalite.instrumentation.DBParameters
-
- getUrlDecoder() - Static method in class org.javalite.common.Base64
-
- getUrlEncoder() - Static method in class org.javalite.common.Base64
-
- getUser() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcSpec
-
- getUsername() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- getUsername() - Method in class org.javalite.instrumentation.DBParameters
-
- getUserSegmentName(String) - Method in class org.javalite.activeweb.RouteBuilder
-
Extracts user segment name from route config.
- getUserSegments() - Method in class org.javalite.activeweb.RequestVo
-
- getValidators(Class<? extends Model>) - Static method in class org.javalite.activejdbc.Model
-
- getValue() - Method in class org.javalite.activeweb.Cookie
-
- getValue() - Method in class org.javalite.activeweb.freemarker.SelectOption
-
- getValue() - Method in class org.javalite.app_config.Property
-
- getValue() - Method in class org.javalite.http.FormField
-
- getVersion() - Method in class org.javalite.activeweb.Cookie
-
- getVersion() - Method in class org.javalite.db_migrator.Migration
-
- getVersionColumn() - Method in class org.javalite.activejdbc.MetaModel
-
- getWildCardName() - Method in class org.javalite.activeweb.RequestVo
-
- getWildCardName() - Method in class org.javalite.activeweb.Route
-
- getWildcardName() - Method in class org.javalite.activeweb.RouteBuilder
-
- getWildCardValue() - Method in class org.javalite.activeweb.RequestVo
-
- getWildCardValue() - Method in class org.javalite.activeweb.Route
-
- getWildCardValue() - Method in class org.javalite.activeweb.RouteBuilder
-
- getWriter() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- greaterThan(double) - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
-
Specify a lower bound for a value, not inclusive.
- GROUP_BY_PATTERN - Static variable in class org.javalite.activejdbc.dialects.DefaultDialect
-
- gsub(String, String, String) - Static method in class org.javalite.common.Inflector
-
Replaces a found pattern in a word and returns a transformed word.
- H2Dialect - Class in org.javalite.activejdbc.dialects
-
Supports features of the h2 sql dialect.
- H2Dialect() - Constructor for class org.javalite.activejdbc.dialects.H2Dialect
-
- hasActiveLogger() - Static method in class org.javalite.activejdbc.Configuration
-
- hasAssociation(Class<? extends Model>, Class<? extends Association>) - Method in class org.javalite.activejdbc.MetaModel
-
- hasConnection() - Static method in class org.javalite.activejdbc.Base
-
Use to check if there is a default connection present on current thread.
- hasConnection() - Method in class org.javalite.activejdbc.DB
-
Use to check if there is a connection present on current thread.
- hasErrors() - Method in class org.javalite.activejdbc.Model
-
- hashCode() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- hashCode() - Method in class org.javalite.activejdbc.Association
-
- hashCode() - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
-
- hashCode() - Method in class org.javalite.app_config.Property
-
- HasMany - Annotation Type in org.javalite.activejdbc.annotations
-
Place on a parent model of the One-to-many relationship if the tables do not follow
the ActiveJDBC naming conventions.
- hasNext() - Method in class org.javalite.activejdbc.Paginator
-
- hasNext() - Method in class org.javalite.activejdbc.RawPaginator
-
- hasPartitionIDs() - Method in class org.javalite.activejdbc.MetaModel
-
- hasPrevious() - Method in class org.javalite.activejdbc.Paginator
-
- hasPrevious() - Method in class org.javalite.activejdbc.RawPaginator
-
- HEAD - Annotation Type in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP HEAD request.
- header(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns a request header by name.
- header(String) - Method in class org.javalite.activeweb.HttpSupport
-
Returns a request header by name.
- header(String, String) - Method in class org.javalite.activeweb.HttpSupport
-
Adds a header to response.
- header(String, Object) - Method in class org.javalite.activeweb.HttpSupport
-
Adds a header to response.
- header(String, String) - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
-
Sets a HTTP header on response.
- header(String, String) - Method in class org.javalite.activeweb.RequestBuilder
-
Sets a single header for the request.
- header(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns header set by controller or filter.
- header(String) - Static method in class org.javalite.activeweb.RequestUtils
-
Returns a request header by name.
- header(String, String) - Method in class org.javalite.http.Request
-
Sets an HTTP header - call before making a request.
- headerNames() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns all headers set by controller or filter.
- headers() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns all headers from a request keyed by header name.
- headers() - Method in class org.javalite.activeweb.HttpSupport
-
Returns all headers from a request keyed by header name.
- headers(String...) - Method in class org.javalite.activeweb.RequestBuilder
-
Convenience method to set names and values for headers.
- headers() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns all headers set by controller or filter.
- headers() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns all headers from a request keyed by header name.
- headers() - Method in class org.javalite.http.Request
-
Returns HTTP headers as sent by server.
- HeadersLogFilter - Class in org.javalite.activeweb.controller_filters
-
Use this filter to log HTTP request (and response) headers to a log system.
- HeadersLogFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.HeadersLogFilter
-
Creates a filter with preset log level.
- HeadersLogFilter(AbstractLoggingFilter.Level, boolean) - Constructor for class org.javalite.activeweb.controller_filters.HeadersLogFilter
-
Creates a filter with preset log level.
- HeadersLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.HeadersLogFilter
-
Creates a filter with default "INFO" level.
- HelloPerformanceCommand - Class in org.javalite.async.pooltest
-
- HelloPerformanceCommand(String) - Constructor for class org.javalite.async.pooltest.HelloPerformanceCommand
-
- HelloPerformanceCommand() - Constructor for class org.javalite.async.pooltest.HelloPerformanceCommand
-
- HelpMojo - Class in org.javalite.db_migrator.maven
-
- HelpMojo() - Constructor for class org.javalite.db_migrator.maven.HelpMojo
-
- Host - Class in org.javalite.activeweb.async
-
- host() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns local host name on which request was received.
- host() - Method in class org.javalite.activeweb.HttpSupport
-
Returns local host name on which request was received.
- host() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns local host name on which request was received.
- html(StringBuilder, String) - Static method in class org.javalite.common.Escape
-
Escapes HTML appending to StringBuilder.
- html(String) - Static method in class org.javalite.common.Escape
-
Escapes HTML.
- Http - Class in org.javalite.http
-
This is a convenience class to allow creation of request objects on one line with some pre-defined values.
- HTTP_HEADER_NAME - Static variable in class org.javalite.activeweb.CSRF
-
- HttpException - Exception in org.javalite.http
-
- HttpException(String, Throwable) - Constructor for exception org.javalite.http.HttpException
-
- HttpException(Throwable) - Constructor for exception org.javalite.http.HttpException
-
- HttpMethod - Enum in org.javalite.activeweb
-
- HttpServletResponseProxy - Class in org.javalite.activeweb
-
- HttpSupport - Class in org.javalite.activeweb
-
- HttpSupport() - Constructor for class org.javalite.activeweb.HttpSupport
-
- HttpSupport.HttpBuilder - Class in org.javalite.activeweb
-
- HttpSupport.RenderBuilder - Class in org.javalite.activeweb
-
- HttpSupportFilter - Class in org.javalite.activeweb.controller_filters
-
Adds support for access to HTTP parameters.
- HttpSupportFilter() - Constructor for class org.javalite.activeweb.controller_filters.HttpSupportFilter
-
- HumanDate - Class in org.javalite.common
-
This is a helper class for converting distance bewteen two dates to a human format, like:
"two days", "three months", etc.
- hydrate() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- hydrate() - Method in class org.javalite.activejdbc.LazyList
-
- hydrate(Map<String, Object>, boolean) - Method in class org.javalite.activejdbc.Model
-
Hydrates a this instance of model from a map.
- hydrate() - Method in class org.javalite.activejdbc.SuperLazyList
-
- id(Object) - Method in class org.javalite.activeweb.RequestBuilder
-
Sets ID for this request.
- id() - Method in class org.javalite.activeweb.SessionFacade
-
Returns a session ID from underlying session.
- IdGenerator - Annotation Type in org.javalite.activejdbc.annotations
-
- IdName - Annotation Type in org.javalite.activejdbc.annotations
-
- ignore(String...) - Method in class org.javalite.activeweb.AbstractRouteConfig
-
Use to ignore requests.
- ignores(String) - Method in class org.javalite.activeweb.IgnoreSpec
-
- ignores(String) - Method in class org.javalite.activeweb.Route
-
- IgnoreSpec - Class in org.javalite.activeweb
-
Created by igor on 4/29/14.
- ignoresThrowable() - Method in class org.javalite.logging.JsonLog4jLayout
-
- include(Class<? extends Model>...) - Method in class org.javalite.activejdbc.LazyList
-
This method includes associated objects.
- include(Class<? extends Model>...) - Method in class org.javalite.activejdbc.SuperLazyList
-
- index() - Method in class app.controllers.SimpleController
-
- index() - Method in class org.javalite.activeweb.controllers.AbstractLesscController
-
- indexOf(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- Inflector - Class in org.javalite.common
-
- info(String) - Method in class org.javalite.instrumentation.Log
-
- info(String) - Static method in class org.javalite.instrumentation.Logger
-
- init(String) - Method in class org.javalite.activejdbc.RegistryProxy
-
- init(FilterConfig) - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
-
- init(AppContext) - Method in class org.javalite.activeweb.Bootstrap
-
Called when application is bootstraps.
- init() - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
-
Called by framework during initialization.
- init(AppContext) - Method in interface org.javalite.activeweb.InitConfig
-
- init(FilterConfig) - Method in class org.javalite.activeweb.RequestDispatcher
-
- init() - Static method in class org.javalite.app_config.AppConfig
-
- initApp(AppContext) - Method in class org.javalite.activeweb.RequestDispatcher
-
- InitConfig - Interface in org.javalite.activeweb
-
- initDBConfig() - Static method in class org.javalite.activeweb.DBControllerSpec
-
- initDBConfig() - Static method in class org.javalite.activeweb.DBSpecHelper
-
- InitException - Exception in org.javalite.activejdbc
-
- InitException() - Constructor for exception org.javalite.activejdbc.InitException
-
- InitException(String) - Constructor for exception org.javalite.activejdbc.InitException
-
- InitException(String, Throwable) - Constructor for exception org.javalite.activejdbc.InitException
-
- InitException(Throwable) - Constructor for exception org.javalite.activejdbc.InitException
-
- InitException - Exception in org.javalite.activeweb
-
- InitException() - Constructor for exception org.javalite.activeweb.InitException
-
- InitException(String) - Constructor for exception org.javalite.activeweb.InitException
-
- InitException(String, Throwable) - Constructor for exception org.javalite.activeweb.InitException
-
- InitException(Throwable) - Constructor for exception org.javalite.activeweb.InitException
-
- inject(Injector) - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
-
Injects user tags with members
- injectFilters() - Static method in class org.javalite.activeweb.Configuration
-
- injector() - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method: allows to set services without explicitly configuring a new module for mocking.
- insert(MetaModel, Map<String, Object>, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- insert(MetaModel, Map<String, Object>, String...) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- insert() - Method in class org.javalite.activejdbc.Model
-
This method will save a model as new.
- insertManyToManyAssociation(Many2ManyAssociation) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- insertManyToManyAssociation(Many2ManyAssociation) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- insertParametrized(MetaModel, List<String>, boolean) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- insertParametrized(MetaModel, List<String>, boolean) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- instance() - Static method in enum org.javalite.activejdbc.cache.QueryCache
-
This class is a singleton, get an instance with this method.
- instance() - Static method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
-
- instance() - Static method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
-
- instance() - Static method in class org.javalite.activejdbc.Paginator
-
Use to create a paginator instance, and provide arguments as needed.
- instance() - Static method in enum org.javalite.activejdbc.Registry
-
- instrument() - Method in class org.javalite.instrumentation.Instrumentation
-
- instrument(CtClass) - Method in class org.javalite.instrumentation.ModelInstrumentation
-
- Instrumentation - Class in org.javalite.instrumentation
-
This class is for static instrumentation
- Instrumentation() - Constructor for class org.javalite.instrumentation.Instrumentation
-
- InstrumentationException - Exception in org.javalite.instrumentation
-
- InstrumentationException() - Constructor for exception org.javalite.instrumentation.InstrumentationException
-
- InstrumentationException(String) - Constructor for exception org.javalite.instrumentation.InstrumentationException
-
- InstrumentationException(String, Throwable) - Constructor for exception org.javalite.instrumentation.InstrumentationException
-
- InstrumentationException(Throwable) - Constructor for exception org.javalite.instrumentation.InstrumentationException
-
- InstrumentationModelFinder - Class in org.javalite.instrumentation
-
- InstrumentationModelFinder() - Constructor for class org.javalite.instrumentation.InstrumentationModelFinder
-
- IntegrationSpec - Class in org.javalite.activeweb
-
Use this as a super class for integration tests that do not require a DB connection.
- IntegrationSpec() - Constructor for class org.javalite.activeweb.IntegrationSpec
-
- InternalException - Exception in org.javalite.activejdbc
-
This exception is for some severe unexplained things
- InternalException(Throwable) - Constructor for exception org.javalite.activejdbc.InternalException
-
- InternalException(String) - Constructor for exception org.javalite.activejdbc.InternalException
-
- invalidate() - Method in class org.javalite.activeweb.SessionFacade
-
Invalidates current session.
- invalidate() - Method in class org.javalite.activeweb.SessionTestFacade
-
Invalidates current session.
- ipAddress() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns local IP address on which request was received.
- ipAddress() - Method in class org.javalite.activeweb.HttpSupport
-
Returns local IP address on which request was received.
- ipAddress() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns local IP address on which request was received.
- ipForwardedFor() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns IP address that the web server forwarded request for.
- ipForwardedFor() - Method in class org.javalite.activeweb.HttpSupport
-
Returns IP address that the web server forwarded request for.
- ipForwardedFor() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns IP address that the web server forwarded request for.
- isAssociatedTo(Class<? extends Model>) - Method in class org.javalite.activejdbc.MetaModel
-
Checks if there is association to the target model class.,
- isAsyncStarted() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- isAsyncSupported() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- isCached() - Static method in class org.javalite.activejdbc.Model
-
- isCommitted() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- isCustom() - Method in class org.javalite.activeweb.Route
-
- isDelete() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
True if this request uses HTTP DELETE method, false otherwise.
- isDelete() - Method in class org.javalite.activeweb.HttpSupport
-
True if this request uses HTTP DELETE method, false otherwise.
- isDelete() - Static method in class org.javalite.activeweb.RequestUtils
-
True if this request uses HTTP DELETE method, false otherwise.
- isDurable() - Method in class org.javalite.async.QueueConfig
-
- isEmpty() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- isEmpty() - Method in class org.javalite.activejdbc.Errors
-
- isEmpty() - Method in class org.javalite.activeweb.SessionFacade
-
- isEmpty() - Method in class org.javalite.app_config.AppConfig
-
- isEnabled() - Method in enum org.javalite.activejdbc.cache.QueryCache
-
- isEnabled() - Method in class org.javalite.activeweb.freemarker.SelectOption
-
- isFile() - Method in class org.javalite.activeweb.FormItem
-
Returns true if this is a file, false if not.
- isFile() - Method in class org.javalite.http.FileField
-
- isFile() - Method in class org.javalite.http.FormField
-
- isFormField() - Method in class org.javalite.activeweb.FormItem
-
returns true if this is a form field, false if not.
- isFrozen() - Method in class org.javalite.activejdbc.Model
-
Will return true if this instance is frozen, false otherwise.
- isGet() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
True if this request uses HTTP GET method, false otherwise.
- isGet() - Method in class org.javalite.activeweb.HttpSupport
-
True if this request uses HTTP GET method, false otherwise.
- isGet() - Static method in class org.javalite.activeweb.RequestUtils
-
True if this request uses HTTP GET method, false otherwise.
- isHead() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
True if this request uses HTTP HEAD method, false otherwise.
- isHead() - Method in class org.javalite.activeweb.HttpSupport
-
True if this request uses HTTP HEAD method, false otherwise.
- isHead() - Static method in class org.javalite.activeweb.RequestUtils
-
True if this request uses HTTP HEAD method, false otherwise.
- isHttpOnly() - Method in class org.javalite.activeweb.Cookie
-
Tells if a cookie HTTP only or not.
- isInDevelopment() - Static method in class org.javalite.app_config.AppConfig
-
- isInProduction() - Static method in class org.javalite.app_config.AppConfig
-
- isInStaging() - Static method in class org.javalite.app_config.AppConfig
-
- isInTestEnv() - Static method in class org.javalite.app_config.AppConfig
-
- isInTestMode() - Static method in class org.javalite.app_config.AppConfig
-
Checks if running in a context of a test by checking of a presence of a class org.junit.Test
on classpath.
- isMethod(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- isMethod(String) - Static method in class org.javalite.activeweb.RequestUtils
-
- isModel(CtClass) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
-
- isModified() - Method in class org.javalite.activejdbc.Model
-
Will return true if any attribute of this instance was changed after latest load/save.
- isMultipartContent() - Static method in class org.javalite.activeweb.RequestUtils
-
- isNew() - Method in class org.javalite.activejdbc.Model
-
returns true if this is a new instance, not saved yet to DB, false otherwise.
- isPaused() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
- isPaused(String) - Method in class org.javalite.async.Async
-
- isPost() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
True if this request uses HTTP POST method, false otherwise.
- isPost() - Method in class org.javalite.activeweb.HttpSupport
-
True if this request uses HTTP POST method, false otherwise.
- isPost() - Static method in class org.javalite.activeweb.RequestUtils
-
True if this request uses HTTP POST method, false otherwise.
- isPut() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
True if this request uses HTTP PUT method, false otherwise.
- isPut() - Method in class org.javalite.activeweb.HttpSupport
-
True if this request uses HTTP PUT method, false otherwise.
- isPut() - Static method in class org.javalite.activeweb.RequestUtils
-
True if this request uses HTTP PUT method, false otherwise.
- isSecure() - Method in class org.javalite.activeweb.Cookie
-
- isSelected() - Method in class org.javalite.activeweb.freemarker.SelectOption
-
- isTesting() - Method in class org.javalite.activejdbc.connection_config.ConnectionSpecWrapper
-
- isTesting() - Static method in class org.javalite.activeweb.Configuration
-
This method is used internally by ActiveWeb tests.
- isValid() - Method in class org.javalite.activejdbc.Model
-
This method performs validations and then returns true if no errors were generated, otherwise returns false.
- isVersioned() - Method in class org.javalite.activejdbc.MetaModel
-
Returns true if this model supports optimistic locking, false if not
- isWildCard() - Method in class org.javalite.activeweb.Route
-
- isWildcard() - Method in class org.javalite.activeweb.RouteBuilder
-
- isXhr() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns true if this request is Ajax.
- isXhr() - Method in class org.javalite.activeweb.HttpSupport
-
Returns true if this request is Ajax.
- isXhr() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns true if this request is Ajax.
- it(T) - Static method in class org.javalite.test.jspec.JSpec
-
- it(T) - Method in interface org.javalite.test.jspec.JSpecSupport
-
- iterator() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- main(String[]) - Static method in class org.javalite.async.pooltest.TestReceive
-
- main(String[]) - Static method in class org.javalite.async.pooltest.TestSend
-
- main(String[]) - Static method in class org.javalite.http.Delete
-
- main(String[]) - Static method in class org.javalite.http.Get
-
- main(String[]) - Static method in class org.javalite.http.Multipart
-
- main(String[]) - Static method in class org.javalite.http.Post
-
- main(String[]) - Static method in class org.javalite.http.Put
-
- Main - Class in org.javalite.instrumentation
-
- Main() - Constructor for class org.javalite.instrumentation.Main
-
- main(String[]) - Static method in class org.javalite.instrumentation.Main
-
- manageTime(boolean) - Method in class org.javalite.activejdbc.Model
-
Turns off automatic management of time-related attributes created_at
and updated_at
.
- Many2Manies - Annotation Type in org.javalite.activejdbc.annotations
-
- Many2Many - Annotation Type in org.javalite.activejdbc.annotations
-
Use this annotation to override conventions in cases where they are impossible to follow.
- Many2ManyAssociation - Class in org.javalite.activejdbc.associations
-
- Many2ManyAssociation(Map<String, Object>) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- Many2ManyAssociation(Class<? extends Model>, Class<? extends Model>, String, String, String, String) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- Many2ManyAssociation(Class<? extends Model>, Class<? extends Model>, String, String, String) - Constructor for class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- map(Object...) - Static method in class org.javalite.common.Collections
-
Create a map from keys and values.
- map2URLEncoded(Map) - Static method in class org.javalite.http.Http
-
Converts a map to URL- encoded string.
- matches(String, ControllerPath, HttpMethod) - Method in class org.javalite.activeweb.RouteBuilder
-
Returns true if this route matches the request URI, otherwise returns false.
- Max - Class in org.javalite.activejdbc.validation.length
-
The attribute length must be less than or equal to the given value.
- merge(Map<String, Object>, String, Writer) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
-
- merge(Map<String, Object>, String, String, String, Writer) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
-
- merge(String, Map) - Method in class org.javalite.activeweb.HttpSupport
-
Will merge a template and return resulting string.
- merge(Map<String, Object>, String, String, String, Writer) - Method in class org.javalite.activeweb.TemplateManager
-
Merges values with templates and writes a merged template to the writer.
- merge(Map<String, Object>, String, Writer) - Method in class org.javalite.activeweb.TemplateManager
-
- merge(Map<String, ?>) - Method in class org.javalite.common.Templator
-
This method is used in repeated operations, since it will load a resource once.
- mergeFromPath(String, Map<String, ?>) - Static method in class org.javalite.common.Templator
-
This method is used in one-off operations, where it is OK to load a template every time.
- mergeFromTemplate(String, Map<String, ?>) - Static method in class org.javalite.common.Templator
-
Merges from string as template.
- message(String, Locale, Object...) - Static method in class org.javalite.activejdbc.Messages
-
Looks for a localized property/message in activejdbc_messages
bundle.
- message(String, Object...) - Static method in class org.javalite.activejdbc.Messages
-
Looks for a property/message in activejdbc_messages
bundle.
- message(String) - Method in class org.javalite.activejdbc.validation.ValidationBuilder
-
- message(String, Locale, Object...) - Static method in class org.javalite.activeweb.Messages
-
Looks for a localized property/message in activeweb_messages
bundle.
- message(String, Object...) - Static method in class org.javalite.activeweb.Messages
-
Looks for a property/message in activeweb_messages
bundle.
- Messages - Class in org.javalite.activejdbc
-
This class is used to pull messages from a resource bundle called activejdbc_messages
.
- Messages - Class in org.javalite.activeweb
-
This class is used to pull messages from a resource bundle called activeweb_messages
.
- MESSAGES_PER_THREAD - Static variable in class org.javalite.async.pooltest.TestReceive
-
- MESSAGES_PER_THREAD - Static variable in class org.javalite.async.pooltest.TestSend
-
- MessageTag - Class in org.javalite.activeweb.freemarker
-
The message tag is designed to display messages in view templates.
- MessageTag() - Constructor for class org.javalite.activeweb.freemarker.MessageTag
-
- metadataToJSON() - Method in enum org.javalite.activejdbc.Registry
-
- MetaModel - Class in org.javalite.activejdbc
-
- MetaModel(String, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.MetaModel
-
- metaModel() - Static method in class org.javalite.activejdbc.Model
-
- metaModelFor(String) - Static method in class org.javalite.activejdbc.ModelDelegate
-
Returns
MetaModel
associated with table name.
- metaModelOf(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
Returns
MetaModel
associated with model class.
- method() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns an HTTP method from the request.
- method(Annotation) - Static method in enum org.javalite.activeweb.HttpMethod
-
Detects a method from annotation
- method() - Method in class org.javalite.activeweb.HttpSupport
-
Returns an HTTP method from the request.
- method() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns an HTTP method from the request.
- migrate(String) - Method in class org.javalite.db_migrator.Migration
-
- migrate(Log, String) - Method in class org.javalite.db_migrator.MigrationManager
-
Migrates the database to the latest version, enabling migrations if necessary.
- MigrateMojo - Class in org.javalite.db_migrator.maven
-
Migrate to latest schema version.
- MigrateMojo() - Constructor for class org.javalite.db_migrator.maven.MigrateMojo
-
- Migration - Class in org.javalite.db_migrator
-
- Migration(String, File) - Constructor for class org.javalite.db_migrator.Migration
-
- MigrationException - Exception in org.javalite.db_migrator
-
- MigrationException(String) - Constructor for exception org.javalite.db_migrator.MigrationException
-
- MigrationException(String, Throwable) - Constructor for exception org.javalite.db_migrator.MigrationException
-
- MigrationException(Throwable) - Constructor for exception org.javalite.db_migrator.MigrationException
-
- MigrationManager - Class in org.javalite.db_migrator
-
- MigrationManager(String) - Constructor for class org.javalite.db_migrator.MigrationManager
-
- MigrationResolver - Class in org.javalite.db_migrator
-
- MigrationResolver(String) - Constructor for class org.javalite.db_migrator.MigrationResolver
-
- Min - Class in org.javalite.activejdbc.validation.length
-
The attribute length must be more than or equal to the given value.
- MockMultipartHttpServletRequestImpl - Class in org.javalite.activeweb
-
- MockMultipartHttpServletRequestImpl() - Constructor for class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- Model - Class in org.javalite.activejdbc
-
This class is a super class of all "models" and provides most functionality
necessary for implementation of Active Record pattern.
- Model() - Constructor for class org.javalite.activejdbc.Model
-
- Model - Static variable in class org.javalite.instrumentation.Classes
-
- modelClass(Class<T>) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
-
Model class mapped to a table.>
- ModelDelegate - Class in org.javalite.activejdbc
-
This class exists to offload some logic from
Model
class.
- ModelFinder - Class in org.javalite.activejdbc
-
- ModelFinder() - Constructor for class org.javalite.activejdbc.ModelFinder
-
- ModelFinder - Static variable in class org.javalite.instrumentation.Classes
-
- ModelInstrumentation - Class in org.javalite.instrumentation
-
- ModelInstrumentation() - Constructor for class org.javalite.instrumentation.ModelInstrumentation
-
- ModelListener<T extends Model> - Interface in org.javalite.activejdbc
-
- modified() - Method in class org.javalite.activejdbc.Model
-
- ModuleBuilder(Module) - Constructor for class org.javalite.activeweb.SpecHelper.ModuleBuilder
-
- moveMessage(String, String, String) - Method in class org.javalite.async.Async
-
Moves a message from one queue to another
- moveMessages(String, String) - Method in class org.javalite.async.Async
-
Moves all messages from one queue to another
- MSSQLDialect - Class in org.javalite.activejdbc.dialects
-
- MSSQLDialect() - Constructor for class org.javalite.activejdbc.dialects.MSSQLDialect
-
- multipart(String) - Static method in class org.javalite.http.Http
-
Create multipart request
- multipart(String, int, int) - Static method in class org.javalite.http.Http
-
Create multipart request
- Multipart - Class in org.javalite.http
-
Sets up a Multipart request to send multiple text fields as well as upload files.
- Multipart(String, int, int) - Constructor for class org.javalite.http.Multipart
-
Constructor to make multipart requests
- multipartFormItems() - Method in class org.javalite.activeweb.HttpSupport
-
- multipartFormItems(String) - Method in class org.javalite.activeweb.HttpSupport
-
Returns a collection of uploaded files and form fields from a multi-part request.
- multipartFormItems(String, long) - Method in class org.javalite.activeweb.HttpSupport
-
Returns a collection of uploaded files and form fields from a multi-part request.
- MySQLDialect - Class in org.javalite.activejdbc.dialects
-
- MySQLDialect() - Constructor for class org.javalite.activejdbc.dialects.MySQLDialect
-
- of(int) - Static method in class org.javalite.activejdbc.validation.length.Exact
-
- of(int) - Static method in class org.javalite.activejdbc.validation.length.Max
-
- of(int) - Static method in class org.javalite.activejdbc.validation.length.Min
-
- of(int, int) - Static method in class org.javalite.activejdbc.validation.length.Range
-
- offset(long) - Method in class org.javalite.activejdbc.LazyList
-
This method sets an offset of a resultset.
- offset(long) - Method in class org.javalite.activejdbc.SuperLazyList
-
- on(String) - Static method in class org.javalite.activejdbc.validation.length.AttributeLengthValidator
-
- onCommand(T) - Method in class org.javalite.async.CommandListener
-
- onCommand(T) - Method in class org.javalite.async.DBCommandListener
-
- OneToManyAssociation - Class in org.javalite.activejdbc.associations
-
- OneToManyAssociation(Map<String, Object>) - Constructor for class org.javalite.activejdbc.associations.OneToManyAssociation
-
- OneToManyAssociation(Class<? extends Model>, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyAssociation
-
- OneToManyPolymorphicAssociation - Class in org.javalite.activejdbc.associations
-
- OneToManyPolymorphicAssociation(Map<String, Object>) - Constructor for class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
-
- OneToManyPolymorphicAssociation(Class<? extends Model>, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
-
- onException(Exception) - Method in interface org.javalite.activeweb.controller_filters.ControllerFilter
-
Called by framework in case there was an exception inside a controller
- onException(Exception) - Method in class org.javalite.activeweb.controller_filters.ControllerFilterAdapter
-
- onException(Exception) - Method in class org.javalite.activeweb.controller_filters.DBConnectionFilter
-
- onException(Exception) - Method in class org.javalite.activeweb.controller_filters.HttpSupportFilter
-
To be implemented by application level filters.
- onException(Command, Exception) - Method in class org.javalite.async.DBCommandListener
-
Override in subclasses to handle exceptions.
- onFlush(CacheEvent) - Method in interface org.javalite.activejdbc.cache.CacheEventListener
-
- onlyInteger() - Method in class org.javalite.activejdbc.validation.NumericValidationBuilder
-
Will invalidate the value if it is not integer.
- onMessage(Message) - Method in class org.javalite.async.CommandListener
-
- onModel(T) - Method in interface org.javalite.activejdbc.ModelListener
-
- onNext(Map<String, Object>) - Method in class org.javalite.activejdbc.RowListenerAdapter
-
Called when a new row is encountered.
- open() - Static method in class org.javalite.activejdbc.Base
-
This method will open a connection defined in the file 'database.properties' located at
root of classpath.
- open(String, String, String, String) - Static method in class org.javalite.activejdbc.Base
-
Opens a new connection based on JDBC properties and attaches it to a current thread.
- open(String, String, Properties) - Static method in class org.javalite.activejdbc.Base
-
Opens a new connection in case additional driver-specific parameters need to be passed in.
- open(String) - Static method in class org.javalite.activejdbc.Base
-
Opens a connection from JNDI based on a registered name.
- open(String, Properties) - Static method in class org.javalite.activejdbc.Base
-
Opens a new connection from JNDI data source by name using explicit JNDI properties.
- open(DataSource) - Static method in class org.javalite.activejdbc.Base
-
Opens a connection from a datasource.
- open(String, String, String, String) - Method in class org.javalite.activejdbc.DB
-
Opens a new connection based on JDBC properties and attaches it to a current thread.
- open(String, String, Properties) - Method in class org.javalite.activejdbc.DB
-
Opens a new connection in case additional driver-specific parameters need to be passed in.
- open(String) - Method in class org.javalite.activejdbc.DB
-
Opens a connection from JNDI based on a registered name.
- open() - Method in class org.javalite.activejdbc.DB
-
This method will open a connection defined in the file 'database.properties' located at
root of classpath.
- open(DataSource) - Method in class org.javalite.activejdbc.DB
-
Opens a connection from a datasource.
- open(String, Properties) - Method in class org.javalite.activejdbc.DB
-
Opens a new connection from JNDI data source by name using explicit JNDI properties.
- open(ConnectionSpec) - Method in class org.javalite.activejdbc.DB
-
This method is used internally by the framework.
- open() - Method in class org.javalite.activejdbc.DBProxy
-
- open(String, String, String, String) - Method in class org.javalite.activejdbc.DBProxy
-
- open() - Method in class org.javalite.activeweb.DBControllerSpec
-
- openConnection(String, String, String, String) - Static method in class org.javalite.db_migrator.DbUtils
-
- openConnection() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- openConnection(boolean) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- openTestConnections() - Method in class org.javalite.activejdbc.test.DBSpec
-
- openTestConnections() - Static method in class org.javalite.activeweb.DBSpecHelper
-
- openTransaction() - Static method in class org.javalite.activejdbc.Base
-
Opens local transaction.
- openTransaction() - Method in class org.javalite.activejdbc.DB
-
Opens local transaction.
- OPTIONS - Annotation Type in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP OPTIONS request.
- options(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Simulate HTTP OPTIONS call to an action of controller.
- options() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP OPTIONS method.
- OracleDialect - Class in org.javalite.activejdbc.dialects
-
- OracleDialect() - Constructor for class org.javalite.activejdbc.dialects.OracleDialect
-
- ORDER_BY_PATTERN - Static variable in class org.javalite.activejdbc.dialects.DefaultDialect
-
- orderBy(String) - Method in class org.javalite.activejdbc.LazyList
-
Use this method to order results by a column.
- orderBy(String) - Method in class org.javalite.activejdbc.Paginator
-
Use to set order by(s).
- orderBy(String) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
-
- orderBy(String) - Method in class org.javalite.activejdbc.RawPaginator
-
Use to set order by(s).
- orderBy(String) - Method in class org.javalite.activejdbc.SuperLazyList
-
- org.javalite - package org.javalite
-
This is a root package for all classes in JavaLite ecosystem.
- org.javalite.activejdbc - package org.javalite.activejdbc
-
ActiveJDBC - the agile Java ORM.
- org.javalite.activejdbc.annotations - package org.javalite.activejdbc.annotations
-
Contains annotations for overriding default behaviour.
- org.javalite.activejdbc.associations - package org.javalite.activejdbc.associations
-
Contains classes describing various association types.
- org.javalite.activejdbc.cache - package org.javalite.activejdbc.cache
-
Classes for operations with caches.
- org.javalite.activejdbc.connection_config - package org.javalite.activejdbc.connection_config
-
Classes to manage connections to databases.
- org.javalite.activejdbc.conversion - package org.javalite.activejdbc.conversion
-
- org.javalite.activejdbc.dialects - package org.javalite.activejdbc.dialects
-
Classes to manage database dialects, used internally.
- org.javalite.activejdbc.logging - package org.javalite.activejdbc.logging
-
- org.javalite.activejdbc.models - package org.javalite.activejdbc.models
-
- org.javalite.activejdbc.statistics - package org.javalite.activejdbc.statistics
-
ActiveJDBC - collection of statistics on queries.
- org.javalite.activejdbc.test - package org.javalite.activejdbc.test
-
- org.javalite.activejdbc.validation - package org.javalite.activejdbc.validation
-
- org.javalite.activejdbc.validation.length - package org.javalite.activejdbc.validation.length
-
- org.javalite.activejdbc.web - package org.javalite.activejdbc.web
-
Primitive example of opening anc closing connection for servlets.
- org.javalite.activeweb - package org.javalite.activeweb
-
ActiveWeb - the agile java framework
- org.javalite.activeweb.annotations - package org.javalite.activeweb.annotations
-
- org.javalite.activeweb.async - package org.javalite.activeweb.async
-
- org.javalite.activeweb.controller_filters - package org.javalite.activeweb.controller_filters
-
- org.javalite.activeweb.controllers - package org.javalite.activeweb.controllers
-
Some abstract controllers.
- org.javalite.activeweb.freemarker - package org.javalite.activeweb.freemarker
-
Freemarker Tags, see
Views.
- org.javalite.app_config - package org.javalite.app_config
-
AppConfig for configuring your system for different environments.
- org.javalite.async - package org.javalite.async
-
- org.javalite.async.pooltest - package org.javalite.async.pooltest
-
- org.javalite.common - package org.javalite.common
-
This package is a Swiss Army knife of utilities used in JavaLite as well as outside
- org.javalite.db_migrator - package org.javalite.db_migrator
-
- org.javalite.db_migrator.maven - package org.javalite.db_migrator.maven
-
- org.javalite.http - package org.javalite.http
-
JavaLite HTTP library.
- org.javalite.instrumentation - package org.javalite.instrumentation
-
- org.javalite.lessc.maven - package org.javalite.lessc.maven
-
LessC integration, see
LessC.
- org.javalite.logging - package org.javalite.logging
-
JavaLite Logging, see http://javalite.io/logging
- org.javalite.test - package org.javalite.test
-
Package contains utilities classes to use in tests.
- org.javalite.test.jspec - package org.javalite.test.jspec
-
JSpec library, see http://javalite.io/jspec
- out - Variable in class org.javalite.common.RuntimeUtil.Response
-
- outputStream() - Method in class org.javalite.activeweb.HttpSupport
-
Use to send raw data to HTTP client.
- outputStream(String) - Method in class org.javalite.activeweb.HttpSupport
-
Use to send raw data to HTTP client.
- outputStream(String, Map, int) - Method in class org.javalite.activeweb.HttpSupport
-
Use to send raw data to HTTP client.
- override(Class) - Method in class org.javalite.activeweb.SpecHelper.ModuleBuilder
-
Specifies what interface to override with a mock.
- overrideContext(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Use to override context of the application.
- overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- overrideDriverTypeConversion(MetaModel, String, Object) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.MSSQLDialect
-
TDS converts a number of important data types to String.
- overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.OracleDialect
-
- overrideDriverTypeConversion(MetaModel, String, Object) - Method in class org.javalite.activejdbc.dialects.SQLiteDialect
-
- p(String) - Static method in class org.javalite.app_config.AppConfig
-
- pageCount() - Method in class org.javalite.activejdbc.Paginator
-
- pageCount() - Method in class org.javalite.activejdbc.RawPaginator
-
- pageSize(int) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
-
Page size - number of items in a page
- Paginator<T extends Model> - Class in org.javalite.activejdbc
-
This class supports pagination of result sets in ActiveJDBC.
- Paginator(Class<? extends T>, int, String, Object...) - Constructor for class org.javalite.activejdbc.Paginator
-
Convenience constructor.
- Paginator(Class<? extends T>, int, boolean, String, Object...) - Constructor for class org.javalite.activejdbc.Paginator
-
Convenience constructor.
- Paginator(Class<? extends T>, int, boolean, String, String, Object...) - Constructor for class org.javalite.activejdbc.Paginator
-
Paginator is created with parameters to jump to chunks of result sets (pages).
- Paginator.PaginatorBuilder<T extends Model> - Class in org.javalite.activejdbc
-
Provides a builder pattern to create new instances of paginator.
- PaginatorBuilder() - Constructor for class org.javalite.activejdbc.Paginator.PaginatorBuilder
-
- param(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns value of one named parameter from request.
- param(String) - Method in class org.javalite.activeweb.HttpSupport
-
Returns value of one named parameter from request.
- param(String, List<FormItem>) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method to get a parameter in case multipart/form-data
request was used.
- param(String, Object) - Method in class org.javalite.activeweb.RequestBuilder
-
Sets a single parameter for request.
- param(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Convenience method, exists to pass parameters with blank values.
- param(String) - Static method in class org.javalite.activeweb.RequestUtils
-
Returns value of routing user segment, or route wild card value, or request parameter.
- param(String, List<FormItem>) - Static method in class org.javalite.activeweb.RequestUtils
-
Convenience method to get a parameter value in case multipart/form-data
request was used.
- param(String, String) - Method in class org.javalite.http.Post
-
Adds a parameter to the request as in a HTML form.
- params(Object...) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
-
Array of parameters in case a query is parametrized
- params(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns multiple request values for a name.
- params() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns an instance of java.util.Map
containing parameter names as keys and parameter values as map values.
- params(String) - Method in class org.javalite.activeweb.HttpSupport
-
Returns multiple request values for a name.
- params() - Method in class org.javalite.activeweb.HttpSupport
-
Returns an instance of java.util.Map
containing parameter names as keys and parameter values as map values.
- params(String, List<FormItem>) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method to get parameters in case multipart/form-data
request was used.
- params(Object...) - Method in class org.javalite.activeweb.RequestBuilder
-
Convenience method for setting parameters of the request.
- params(String) - Static method in class org.javalite.activeweb.RequestUtils
-
Returns multiple request values for a name.
- params(String, List<FormItem>) - Static method in class org.javalite.activeweb.RequestUtils
-
Convenience method to get parameter values in case multipart/form-data
request was used.
- params() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns an instance of java.util.Map
containing parameter names as keys and parameter values as map values.
- params(String...) - Method in class org.javalite.http.Post
-
Convenience method to add multiple parameters to the request.
- params1st() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns a map where keys are names of all parameters, while values are first value for each parameter, even
if such parameter has more than one value submitted.
- params1st() - Method in class org.javalite.activeweb.HttpSupport
-
Returns a map where keys are names of all parameters, while values are first value for each parameter, even
if such parameter has more than one value submitted.
- params1st(List<FormItem>) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method to get first parameter values in case multipart/form-data
request was used.
- params1st() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns a map where keys are names of all parameters, while values are the first value for each parameter, even
if such parameter has more than one value submitted.
- params1st(List<FormItem>) - Static method in class org.javalite.activeweb.RequestUtils
-
Convenience method to get parameters in case multipart/form-data
request was used.
- PARENT - Static variable in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
-
- parent(Class<P>) - Method in class org.javalite.activejdbc.Model
-
Returns parent of this model, assuming that this table represents a child.
- parent(Class<P>, boolean) - Method in class org.javalite.activejdbc.Model
-
- parseCommand(Message) - Method in class org.javalite.async.CommandListener
-
- PartitionIDs - Annotation Type in org.javalite.activejdbc.annotations
-
Specifies columns that must be used to form an UPDATE and DELETE statements in addition to a primary key.
- password() - Static method in class org.javalite.db_migrator.JdbcPropertiesOverride
-
- PATCH - Annotation Type in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP POST request.
- patch(String, String) - Static method in class org.javalite.http.Http
-
Executes a PATCH request.
- patch(String, byte[]) - Static method in class org.javalite.http.Http
-
Executes a PATCH request.
- patch(String, byte[], int, int) - Static method in class org.javalite.http.Http
-
Executes a PATCH request.
- Patch - Class in org.javalite.http
-
Executes a PATCH request.
- Patch(String, byte[], int, int) - Constructor for class org.javalite.http.Patch
-
Constructor for making PATCH requests.
- path() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns a path of the request.
- path() - Method in class org.javalite.activeweb.HttpSupport
-
Returns a path of the request.
- path() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns a path of the request.
- pause(boolean) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
- pause(String) - Method in class org.javalite.async.Async
-
Pauses a queue.
- pBoolean(String) - Static method in class org.javalite.app_config.AppConfig
-
Read property as Boolean
.
- pDouble(String) - Static method in class org.javalite.app_config.AppConfig
-
Read property as Double
.
- pFloat(String) - Static method in class org.javalite.app_config.AppConfig
-
Read property as Float
.
- pInteger(String) - Static method in class org.javalite.app_config.AppConfig
-
Read property as Integer
.
- pluralize(String) - Static method in class org.javalite.common.Inflector
-
- port() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns port on which the of the server received current request.
- port() - Method in class org.javalite.activeweb.HttpSupport
-
Returns port on which the of the server received current request.
- port() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns port on which the of the server received current request.
- POST - Annotation Type in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP POST request.
- post(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Simulate HTTP POST call to an action of controller.
- post() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP POST method.
- post(String, String) - Static method in class org.javalite.http.Http
-
Executes a POST request.
- post(String) - Static method in class org.javalite.http.Http
-
Executes a POST request.
- post(String, byte[]) - Static method in class org.javalite.http.Http
-
Executes a POST request.
- post(String, byte[], int, int) - Static method in class org.javalite.http.Http
-
Executes a POST request.
- post(String, int, int) - Static method in class org.javalite.http.Http
-
Executes a POST request.
- Post - Class in org.javalite.http
-
Executes a POST request.
- Post(String, byte[], int, int) - Constructor for class org.javalite.http.Post
-
Constructor for making POST requests.
- PostgreSQLDialect - Class in org.javalite.activejdbc.dialects
-
- PostgreSQLDialect() - Constructor for class org.javalite.activejdbc.dialects.PostgreSQLDialect
-
- premain(String, Instrumentation) - Static method in class org.javalite.instrumentation.JavaAgent
-
- process(String, Map, Writer) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Processes text as a FreeMarker template.
- processDirectoryPath(File) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
-
- processRS(RowListener) - Method in class org.javalite.activejdbc.RowProcessor
-
- processURL(URL) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
-
- project - Variable in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- project - Variable in class org.javalite.instrumentation.ActiveJdbcInstrumentationPlugin
-
The enclosing project.
- project - Variable in class org.javalite.lessc.maven.CompileLesscFilesMojo
-
- Property - Class in org.javalite.app_config
-
Identifies a configuration property.
- Property(String, String, String) - Constructor for class org.javalite.app_config.Property
-
- protocol() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns protocol of request, for example: HTTP/1.1.
- protocol() - Method in class org.javalite.activeweb.HttpSupport
-
Returns protocol of request, for example: HTTP/1.1.
- protocol() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns protocol of request, for example: HTTP/1.1.
- purgeCache() - Static method in class org.javalite.activejdbc.Model
-
Use to force-purge cache associated with this table.
- purgeCache(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- purgeTableCache(MetaModel) - Method in class org.javalite.activejdbc.cache.CacheManager
-
This method purges (removes) all caches associated with a table, if caching is enabled and
a corresponding model is marked cached.
- purgeTableCache(String) - Method in class org.javalite.activejdbc.cache.CacheManager
-
- purgeTableCache(MetaModel) - Method in enum org.javalite.activejdbc.cache.QueryCache
-
This method purges (removes) all caches associated with a table, if caching is enabled and
a corresponding model is marked cached.
- purgeTableCache(String) - Method in enum org.javalite.activejdbc.cache.QueryCache
-
- put(String, String) - Method in class org.javalite.activejdbc.Errors
-
- PUT - Annotation Type in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP PUT request.
- put(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Simulate HTTP PUT call to an action of controller.
- put() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP PUT method.
- put(String, Serializable) - Method in class org.javalite.activeweb.SessionFacade
-
Add object to a session.
- put(Object, Object) - Method in class org.javalite.activeweb.SessionFacade
-
- put(String, Serializable) - Method in class org.javalite.activeweb.SessionTestFacade
-
Add object to a session.
- put(String, String) - Method in class org.javalite.app_config.AppConfig
-
- put(String, String) - Static method in class org.javalite.http.Http
-
Executes a PUT request.
- put(String, byte[]) - Static method in class org.javalite.http.Http
-
Executes a PUT request.
- put(String, byte[], int, int) - Static method in class org.javalite.http.Http
-
Executes a PUT request.
- Put - Class in org.javalite.http
-
Executes a PUT request.
- Put(String, byte[], int, int) - Constructor for class org.javalite.http.Put
-
Constructor for making PUT requests.
- put(String...) - Static method in class org.javalite.logging.Context
-
Add multiple values in a classical JavaLite style.
- putAll(Map<? extends String, ? extends String>) - Method in class org.javalite.activejdbc.Errors
-
- putAll(Map) - Method in class org.javalite.activeweb.SessionFacade
-
- putAll(Map<? extends String, ? extends String>) - Method in class org.javalite.app_config.AppConfig
-
- Range - Class in org.javalite.activejdbc.validation.length
-
The attribute length must be between the given minimum and maximum length (inclusive).
- RangeValidator - Class in org.javalite.activejdbc.validation
-
- RangeValidator(String, Number, Number) - Constructor for class org.javalite.activejdbc.validation.RangeValidator
-
- RawPaginator - Class in org.javalite.activejdbc
-
This paginator is for paging through free-form queries unrelated to models.
- RawPaginator(String, String[], int, String, Object...) - Constructor for class org.javalite.activejdbc.RawPaginator
-
Convenience constructor.
- RawPaginator(String, String, String[], int, boolean, String, Object...) - Constructor for class org.javalite.activejdbc.RawPaginator
-
Paginator is created with parameters to jump to chunks of result sets (pages).
- read(InputStream) - Static method in class org.javalite.common.Util
-
Reads contents of the input stream fully and returns it as String.
- read(InputStream, String) - Static method in class org.javalite.common.Util
-
Reads contents of the input stream fully and returns it as String.
- read(File) - Static method in class org.javalite.common.Util
-
Reads file into a byte array.
- read(InputStream, String) - Static method in class org.javalite.lessc.maven.CompileLesscFilesMojo
-
- READ_TIMEOUT - Static variable in class org.javalite.http.Http
-
Read timeout in milliseconds.
- Reader - Class in org.javalite.activejdbc.models
-
- Reader() - Constructor for class org.javalite.activejdbc.models.Reader
-
- readExternal(ObjectInput) - Method in class org.javalite.activejdbc.LazyList
-
- readExternal(ObjectInput) - Method in class org.javalite.activejdbc.Model
-
- readFile(String) - Static method in class org.javalite.common.Util
-
Reads contents of file fully and returns as string.
- readFile(String, String) - Static method in class org.javalite.common.Util
-
Reads contents of file fully and returns as string.
- readProperties(String) - Static method in class org.javalite.common.Util
-
Reads a property file from classpath or from a file system to a properties object.
- readResource(String) - Static method in class org.javalite.common.Util
-
Reads contents of resource fully into a string.
- readResource(String, String) - Static method in class org.javalite.common.Util
-
Reads contents of resource fully into a string.
- readResourceBytes(String) - Static method in class org.javalite.common.Util
-
Reads contents of resource fully into a byte array.
- receiveCommand(String) - Method in class org.javalite.async.Async
-
Receives a command from a queue synchronously.
- receiveCommand(String, Class<T>) - Method in class org.javalite.async.Async
-
Receives a command from a queue synchronously.
- receiveCommand(String, int, Class<T>) - Method in class org.javalite.async.Async
-
Receives a command from a queue synchronously.
- receiveCommand(String, long) - Method in class org.javalite.async.Async
-
Receives a command from a queue synchronously.
- receiveMessage(String, long) - Method in class org.javalite.async.Async
-
Receives a messafge from a queue asynchronously.If this queue also has listeners, then messages will be distributed across
all consumers.
- receiveTextMessages(int) - Method in class org.javalite.async.BatchReceiver
-
Receives and returns size
Strings from the queue.
- recognize(String, HttpMethod) - Method in class org.javalite.activeweb.Router
-
This is a main method for recognizing a route to a controller; used when a request is received.
- recordMigration(String, Date, long) - Method in class org.javalite.db_migrator.VersionStrategy
-
- recursiveDelete(Path) - Static method in class org.javalite.common.Util
-
Deletes a directory recursively with all its contents.
- redirect(String) - Method in class org.javalite.activeweb.HttpSupport
-
Redirects to a an action of this controller, or an action of a different controller.
- redirect(URL) - Method in class org.javalite.activeweb.HttpSupport
-
Redirects to another URL (usually another site).
- redirect(Class<T>, String, Object) - Method in class org.javalite.activeweb.HttpSupport
-
- redirect(Class<T>, Object) - Method in class org.javalite.activeweb.HttpSupport
-
- redirect(Class<T>, String) - Method in class org.javalite.activeweb.HttpSupport
-
- redirect() - Method in class org.javalite.activeweb.HttpSupport
-
Redirects to the same controller, and action "index".
- redirect(Class<T>) - Method in class org.javalite.activeweb.HttpSupport
-
Redirects to given controller, action "index" without any parameters.
- redirect(Class<T>, Map) - Method in class org.javalite.activeweb.HttpSupport
-
Redirects to a controller, generates appropriate redirect path.
- redirect - Variable in class org.javalite.http.Request
-
- redirect(boolean) - Method in class org.javalite.http.Request
-
Configures this request to follow redirects.
- redirected() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns true after execution of an action that sent a redirect.
- redirectToReferrer(String) - Method in class org.javalite.activeweb.HttpSupport
-
Redirects to referrer if one exists.
- redirectToReferrer() - Method in class org.javalite.activeweb.HttpSupport
-
Redirects to referrer if one exists.
- redirectValue() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns a redirect value if one was produced by a controller or filter, null if not.
- RedisCacheManager - Class in org.javalite.activejdbc.cache
-
Redis cache manager.
- RedisCacheManager() - Constructor for class org.javalite.activejdbc.cache.RedisCacheManager
-
- refresh() - Method in class org.javalite.activejdbc.Model
-
Re-reads all attribute values from DB.
- RegexpValidator - Class in org.javalite.activejdbc.validation
-
- RegexpValidator(String, String) - Constructor for class org.javalite.activejdbc.validation.RegexpValidator
-
- registerTag(String, FreeMarkerTag) - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
-
Registers an application-specific tag.
- registerTag(String, FreeMarkerTag) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
-
Registers an application-specific tag.
- registerTag(String, FreeMarkerTag) - Method in class org.javalite.activeweb.SpecHelper
-
Registers a single custom tag.
- registerTag(String, FreeMarkerTag) - Method in class org.javalite.activeweb.ViewSpec
-
Use to register a tag before the test.
- Registry - Enum in org.javalite.activejdbc
-
- RegistryProxy - Class in org.javalite.activejdbc
-
- reload() - Static method in class org.javalite.app_config.AppConfig
-
- remoteAddress() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
IP address of the requesting client.
- remoteAddress() - Method in class org.javalite.activeweb.HttpSupport
-
IP address of the requesting client.
- remoteAddress(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Use to simulate a remote IP address.
- remoteAddress() - Static method in class org.javalite.activeweb.RequestUtils
-
IP address of the requesting client.
- remoteHost() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Host name of the requesting client.
- remoteHost() - Method in class org.javalite.activeweb.HttpSupport
-
Host name of the requesting client.
- remoteHost() - Static method in class org.javalite.activeweb.RequestUtils
-
Host name of the requesting client.
- remove(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- remove(int) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- remove(Object) - Method in class org.javalite.activejdbc.Errors
-
- remove(Model) - Method in class org.javalite.activejdbc.Model
-
Removes associated child from this instance.
- remove(String) - Method in class org.javalite.activeweb.SessionFacade
-
Removes object from session.
- remove(Object) - Method in class org.javalite.activeweb.SessionFacade
-
- remove(String) - Method in class org.javalite.activeweb.SessionTestFacade
-
Removes object from session.
- remove(Object) - Method in class org.javalite.app_config.AppConfig
-
- removeAll(Collection<?>) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- removeAllCacheEventListeners() - Method in class org.javalite.activejdbc.cache.CacheManager
-
- removeAllMessages(String) - Method in class org.javalite.async.Async
-
Removes all messages from queue.
- removeAssociationForTarget(Class<? extends Model>) - Method in class org.javalite.activejdbc.MetaModel
-
- removeCacheEventListener(CacheEventListener) - Method in class org.javalite.activejdbc.cache.CacheManager
-
- removeMessages(String, String) - Method in class org.javalite.async.Async
-
Removes messages from queue.
- removeValidator(Validator) - Static method in class org.javalite.activejdbc.Model
-
Removes a validator from model.
- removeValidator(Class<? extends Model>, Validator) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- render(String) - Method in class org.javalite.activeweb.AppController
-
Renders results with a template.
- render() - Method in class org.javalite.activeweb.AppController
-
Use this method in order to override a layout, status code, and content type.
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.ConfirmationTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.CSRFTokenTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.DebugTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.FormTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Implement this method ina concrete subclass.
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.LinkToTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.MessageTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.SelectTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.YieldTag
-
- render(String, Map) - Method in class org.javalite.activeweb.HttpSupport
-
Renders results with a template.
- render(String) - Method in class org.javalite.activeweb.ViewSpec
-
Renders a template by name
- render(String, Map) - Method in class org.javalite.activeweb.ViewSpec
-
Renders a template by name
- render(String, String...) - Method in class org.javalite.activeweb.ViewSpec
-
Renders a template by name.
- RenderTag - Class in org.javalite.activeweb.freemarker
-
Required attribute: partial
- RenderTag() - Constructor for class org.javalite.activeweb.freemarker.RenderTag
-
- repeat(StringBuilder, String, int) - Static method in class org.javalite.common.Util
-
Repeats string of characters a defined number of times, and appends result to StringBuilder.
- replace(Object, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- replaceError() - Static method in class org.javalite.test.SystemStreamUtil
-
Replaces System.err
with internal buffer.
- replaceOut() - Static method in class org.javalite.test.SystemStreamUtil
-
Replaces System.out
with internal buffer.
- request() - Method in class org.javalite.activeweb.ControllerSpec
-
Use this DSL-ish method to send requests to controllers from specs.
- Request<T extends Request> - Class in org.javalite.http
-
This class provides static convenience methods for simple HTTP requests.
- Request(String, int, int) - Constructor for class org.javalite.http.Request
-
- RequestBuilder - Class in org.javalite.activeweb
-
Class is used in DSL for building a fake request for a controller to be tested.
- RequestBuilder(String, SessionTestFacade) - Constructor for class org.javalite.activeweb.RequestBuilder
-
- RequestContext - Class in org.javalite.activeweb
-
This class is used internally by the framework.
- RequestDispatcher - Class in org.javalite.activeweb
-
- RequestDispatcher() - Constructor for class org.javalite.activeweb.RequestDispatcher
-
- requestHas(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- requestHas(String) - Method in class org.javalite.activeweb.HttpSupport
-
- requestHas(String) - Static method in class org.javalite.activeweb.RequestUtils
-
- RequestParamsLogFilter - Class in org.javalite.activeweb.controller_filters
-
Use this filter to log HTTP request parameters to a log system.
- RequestParamsLogFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.RequestParamsLogFilter
-
Creates a filter with preset log level.
- RequestParamsLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.RequestParamsLogFilter
-
Creates a filter with default "INFO" level.
- RequestPropertiesLogFilter - Class in org.javalite.activeweb.controller_filters
-
Use this filter to log HTTP request properties to a log system.
- RequestPropertiesLogFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.RequestPropertiesLogFilter
-
Creates a filter with preset log level.
- RequestPropertiesLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.RequestPropertiesLogFilter
-
Creates a filter with default "INFO" level.
- RequestSpecHelper - Class in org.javalite.activeweb
-
This class is not used directly in applications.
- RequestSpecHelper() - Constructor for class org.javalite.activeweb.RequestSpecHelper
-
- RequestUtils - Class in org.javalite.activeweb
-
TODO: this needs to become a default interface, once we move the project to java 8
- RequestVo - Class in org.javalite.activeweb
-
Carries internal data for the duration of a request.
- RequestVo() - Constructor for class org.javalite.activeweb.RequestVo
-
- requiresLayout() - Method in class org.javalite.logging.LoggingTestAppender
-
- reset() - Method in class org.javalite.activejdbc.Model
-
Resets all data in this model, including the ID.
- reset() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
- reset() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- reset() - Static method in class org.javalite.async.pooltest.HelloPerformanceCommand
-
- resetBuffer() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- resetConnectionWrappers() - Static method in class org.javalite.activejdbc.connection_config.DbConfiguration
-
- resetFilters() - Method in class org.javalite.activeweb.IntegrationSpec
-
Clears all filters from context even if they are defined in the AppControllerConfig
class.
- ResetMojo - Class in org.javalite.db_migrator.maven
-
- ResetMojo() - Constructor for class org.javalite.db_migrator.maven.ResetMojo
-
- resolve() - Method in class org.javalite.db_migrator.MigrationResolver
-
- respond(String) - Method in class org.javalite.activeweb.HttpSupport
-
This method will send the text to a client verbatim.
- responseCode() - Method in class org.javalite.http.Request
-
Returns HTTP response code.
- responseContent() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Provides content generated by controller after controller execution - if views were integrated.
- responseMessage() - Method in class org.javalite.http.Request
-
Returns response message from server, such as "OK", or "Created", etc.
- RESTful - Annotation Type in org.javalite.activeweb.annotations
-
This annotations is to signify that a controller will be providing actions for RESTful routes.
- restful() - Method in class org.javalite.activeweb.AppController
-
Returns true if this controller is configured to be
RESTful
.
- restful(Class<T>) - Static method in class org.javalite.activeweb.AppController
-
- restoreSystemErr() - Static method in class org.javalite.test.SystemStreamUtil
-
Restores System.err
to former glory.
- restoreSystemOut() - Static method in class org.javalite.test.SystemStreamUtil
-
Restores System.out
to former glory.
- resume(String) - Method in class org.javalite.async.Async
-
Resumes a paused queue
- retainAll(Collection<?>) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- rollback() - Method in class org.javalite.activejdbc.test.DBSpec
-
Current state of 'rollback' flag.
- rollback() - Static method in class org.javalite.activeweb.Configuration
-
- rollback() - Method in class org.javalite.async.BatchReceiver
-
Rolls back current transaction.
- rollbackTransaction() - Static method in class org.javalite.activejdbc.Base
-
Rolls back local transaction.
- rollbackTransaction() - Method in class org.javalite.activejdbc.DB
-
Rolls back local transaction.
- route(String) - Method in class org.javalite.activeweb.AbstractRouteConfig
-
- Route - Class in org.javalite.activeweb
-
Instance of this class will contain routing information.
- Route(AppController, String, HttpMethod) - Constructor for class org.javalite.activeweb.Route
-
- Route(AppController, String, String, HttpMethod) - Constructor for class org.javalite.activeweb.Route
-
- Route(RouteBuilder, HttpMethod, boolean) - Constructor for class org.javalite.activeweb.Route
-
- Route(AppController) - Constructor for class org.javalite.activeweb.Route
-
- RouteBuilder - Class in org.javalite.activeweb
-
Instance of this class represents a single custom route configured in the RouteConfig class of the application.
- RouteBuilder(AppController, String, String) - Constructor for class org.javalite.activeweb.RouteBuilder
-
Used for standard and restful routes.
- RouteBuilder(AppController, String) - Constructor for class org.javalite.activeweb.RouteBuilder
-
Used for tests.
- RouteBuilder(String) - Constructor for class org.javalite.activeweb.RouteBuilder
-
Used for custom routes
- RouteException - Exception in org.javalite.activeweb
-
- RouteException(String) - Constructor for exception org.javalite.activeweb.RouteException
-
- RouteException(String, Throwable) - Constructor for exception org.javalite.activeweb.RouteException
-
- Router - Class in org.javalite.activeweb
-
Responsible for looking at a URI and creating a route to controller if one is found.
- Router(String) - Constructor for class org.javalite.activeweb.Router
-
- RowListener - Interface in org.javalite.activejdbc
-
- RowListenerAdapter - Class in org.javalite.activejdbc
-
Use this class in cases where you need to process an entire result set.
- RowListenerAdapter() - Constructor for class org.javalite.activejdbc.RowListenerAdapter
-
- RowProcessor - Class in org.javalite.activejdbc
-
- RowProcessor(ResultSet, Statement) - Constructor for class org.javalite.activejdbc.RowProcessor
-
- runningIn(String) - Static method in class org.javalite.activeweb.Configuration
-
Returns true if the environment is the same as argument.
- RuntimeUtil - Class in org.javalite.common
-
Utility class to shell out system commands.
- RuntimeUtil() - Constructor for class org.javalite.common.RuntimeUtil
-
- RuntimeUtil.Response - Class in org.javalite.common
-
- sanitize(String) - Method in class org.javalite.activeweb.HttpSupport
-
Cleans HTML from harmful tags, making XSS impossible.
- sanitize(String) - Static method in class org.javalite.common.JsonHelper
-
Escapes control characters in a string.
- sanitize(String, boolean) - Static method in class org.javalite.common.JsonHelper
-
- sanitize(String, boolean, Character...) - Static method in class org.javalite.common.JsonHelper
-
Escapes control characters in a string when you need to
generate JSON.
- save() - Method in class org.javalite.activejdbc.Model
-
This method will save data from this instance to a corresponding table in the DB.
- saveIt() - Method in class org.javalite.activejdbc.Model
-
- saveTo(String) - Method in class org.javalite.activeweb.FormItem
-
Saves content of this item to a file.
- saveTo(String, InputStream) - Static method in class org.javalite.common.Util
-
Saves content read from input stream into a file.
- saveTo(String, byte[]) - Static method in class org.javalite.common.Util
-
Saves content of byte array to file.
- scope(String) - Static method in class org.javalite.activejdbc.Model
-
Allows to specify multiple scopes as filters such as:
- scope(String) - Method in class org.javalite.activejdbc.ScopeBuilder
-
- ScopeBuilder<T extends Model> - Class in org.javalite.activejdbc
-
- ScopeBuilder(Class<T>, String[]) - Constructor for class org.javalite.activejdbc.ScopeBuilder
-
- scopes(String...) - Static method in class org.javalite.activejdbc.Model
-
Allows to specify multiple scopes as filters such as:
- selectCount(String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectCount(String, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectCount(String) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectCount(String, String) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectExists(MetaModel) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectExists(MetaModel) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectManyToManyAssociation(Many2ManyAssociation, String, int) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectManyToManyAssociation(Many2ManyAssociation, String, int) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- SelectOption - Class in org.javalite.activeweb.freemarker
-
This class is used to pass data to the <@select/> tag.
- SelectOption(String) - Constructor for class org.javalite.activeweb.freemarker.SelectOption
-
Value is used for both: value and label.
- SelectOption(Object, String) - Constructor for class org.javalite.activeweb.freemarker.SelectOption
-
Enabled, not selected by default
- SelectOption(Object, String, boolean) - Constructor for class org.javalite.activeweb.freemarker.SelectOption
-
Creates new instance with all properties.
- selectPattern - Variable in class org.javalite.activejdbc.dialects.MSSQLDialect
-
- selectStar(String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectStar(String, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
- selectStar(String) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectStar(String, String) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectStarParametrized(String, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
Produces a parametrized AND query.
- selectStarParametrized(String, String...) - Method in interface org.javalite.activejdbc.dialects.Dialect
-
- selectStrings(String, String) - Static method in class org.javalite.test.XPathHelper
-
Selects text nodes as list of strings
- SelectTag - Class in org.javalite.activeweb.freemarker
-
Select tag is to generate the <select> HTML tag based on data passed in dynamically into a view.
- SelectTag() - Constructor for class org.javalite.activeweb.freemarker.SelectTag
-
- selectText(String) - Method in class org.javalite.test.XPathHelper
-
Retrieves text of a single node.
- selectText(String, String) - Static method in class org.javalite.test.XPathHelper
-
Selects text from a single node.
- send(String, Command) - Method in class org.javalite.async.Async
-
Sends a command into a queue for processing
- send(String, Command, int) - Method in class org.javalite.async.Async
-
Sends a command into a queue for processing
- send(String, Command, int, int, int) - Method in class org.javalite.async.Async
-
Sends a command into a queue for processing
- sendCookie(Cookie) - Method in class org.javalite.activeweb.HttpSupport
-
Sends cookie to browse with response.
- sendCookie(String, String) - Method in class org.javalite.activeweb.HttpSupport
-
Sends cookie to browse with response.
- sendError(int, String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- sendError(int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- sendFile(File, boolean) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method for downloading files.
- sendFile(File) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method for downloading files.
- SENDING_THREAD_COUNT - Static variable in class org.javalite.async.pooltest.TestReceive
-
- SENDING_THREAD_COUNT - Static variable in class org.javalite.async.pooltest.TestSend
-
- sendPermanentCookie(String, String) - Method in class org.javalite.activeweb.HttpSupport
-
Sends long to live cookie to browse with response.
- sendRedirect(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- sendTextMessage(String, String) - Method in class org.javalite.async.Async
-
Sends a non-expiring TextMessage
with average priority.
- sendTextMessage(String, String, int, int, int) - Method in class org.javalite.async.Async
-
Sends a TextMessage
.
- servletPath() - Method in class org.javalite.activeweb.AppController
-
- session() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns reference to a current session map.
- session(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- session() - Method in class org.javalite.activeweb.HttpSupport
-
Returns reference to a current session.
- session(String, Serializable) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, sets an object on a session.
- session(String) - Method in class org.javalite.activeweb.HttpSupport
-
- session(String) - Method in class org.javalite.activeweb.RequestUtils
-
- session(String, Object) - Method in class org.javalite.activeweb.RequestUtils
-
Sets an object on a current session.
- session() - Method in class org.javalite.activeweb.SpecHelper
-
Allows access to session in test context.
- session(String, Serializable) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, sets an object on a session.
- session(String, Class<T>) - Method in class org.javalite.activeweb.SpecHelper
-
Returns object from session that is already cast to expected type.
- sessionBoolean(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionBoolean(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- sessionDouble(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionDouble(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- SessionFacade - Class in org.javalite.activeweb
-
Facade to HTTP session.
- SessionFacade() - Constructor for class org.javalite.activeweb.SessionFacade
-
- sessionFloat(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionFloat(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- sessionHas(String) - Method in class org.javalite.activeweb.HttpSupport
-
Returns true if session has named object, false if not.
- sessionHas(String) - Method in class org.javalite.activeweb.SpecHelper
-
Returns true if session has named object, false if not.
- sessionId() - Method in class org.javalite.activeweb.TemplateManager
-
Session ID from underlying session, or null if session does not exist.
- sessionInteger(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionInteger(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- sessionLong(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionLong(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- sessionObject(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Convenience method, returns object from session, equivalent of:
- sessionObject(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionObject(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- SessionPool - Class in org.javalite.async
-
Serves as a pool of sessions for local sending/receiving to/from the Async.
- SessionPool(String, Connection) - Constructor for class org.javalite.async.SessionPool
-
- sessionString(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionString(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- SessionTestFacade - Class in org.javalite.activeweb
-
- SessionTestFacade(HttpSession) - Constructor for class org.javalite.activeweb.SessionTestFacade
-
- set(int, E) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- set(String[], Object[]) - Method in class org.javalite.activejdbc.Model
-
Sets values for this model instance.
- set(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets a value of an attribute.
- set(Object...) - Method in class org.javalite.activejdbc.Model
-
This is a convenience method to set multiple values to a model.
- set(String, Object) - Method in class org.javalite.activeweb.AppContext
-
Sets an application - wide object by name.
- set(String, Object) - Method in class org.javalite.activeweb.RequestVo
-
- set(T...) - Static method in class org.javalite.common.Collections
-
Creates a set from values.
- setAllowNull(Boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- setBigDecimal(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as java.math.BigDecimal
.
- setBinaryMode(boolean) - Method in class org.javalite.async.Async
-
If true, uses binary mode to send messages.
- setBoolean(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Boolean
.
- setBufferSize(int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setCachedParent(Model) - Method in class org.javalite.activejdbc.Model
-
- setCharacterEncoding(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setChildren(Class, List<Model>) - Method in class org.javalite.activejdbc.Model
-
- setConfigFile(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- setConfiguration(Configuration) - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
-
- setConnectionSpec(ConnectionSpec) - Method in class org.javalite.activejdbc.connection_config.ConnectionSpecWrapper
-
- setContentLength(int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setContentLength(int) - Method in class org.javalite.activeweb.HttpSupport
-
Sets content length of response.
- setContentLengthLong(long) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setContentType(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setCreateSql(String) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- setCurrentController(Class<T>) - Method in class org.javalite.activeweb.ViewSpec
-
This method is only needed as a hint to the
LinkToTag
.
- setCurrentPageIndex(int, boolean) - Method in class org.javalite.activejdbc.Paginator
-
Sets an index of a current page.
- setDate(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as java.sql.Date
.
- setDateFormatPattern(String) - Method in class org.javalite.logging.JsonLog4jLayout
-
Property for specifying date format.
- setDateHeader(String, long) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setDbName(String) - Method in class org.javalite.activejdbc.connection_config.ConnectionSpecWrapper
-
- setDBParameters(List<DBParameters>) - Method in class org.javalite.activejdbc.StaticMetadataGenerator
-
- setDefaultLayout(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
-
- setDomain(String) - Method in class org.javalite.activeweb.Cookie
-
- setDouble(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Double
.
- setDriver(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- setDriver(String) - Method in class org.javalite.instrumentation.DBParameters
-
- setDropSql(String) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- setEnabled(boolean) - Method in class org.javalite.activeweb.freemarker.SelectOption
-
- setEncoding(String) - Method in class org.javalite.activeweb.HttpSupport
-
Sets character encoding on the response.
- setEnv(String) - Static method in class org.javalite.activejdbc.Configuration
-
This method must ony be used in tests.
- setEnv(String) - Static method in class org.javalite.activeweb.Configuration
-
- setEnvironment(String) - Method in class org.javalite.activejdbc.connection_config.ConnectionSpecWrapper
-
- setEnvironments(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- setFilters(List<HttpSupportFilter>) - Static method in class org.javalite.activeweb.Configuration
-
- setFloat(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Float
.
- setHeader(String, String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setHttpOnly() - Method in class org.javalite.activeweb.Cookie
-
Sets this cookie to be HTTP only.
- setHttpOnly(boolean) - Method in class org.javalite.activeweb.Cookie
-
Sets this cookie to be Http only or not
- setId(Object) - Method in class org.javalite.activejdbc.Model
-
Convenience method, sets ID value on this model, equivalent to set(getIdName(), id)
.
- setIgnoreSpecs(List<IgnoreSpec>) - Method in class org.javalite.activeweb.Route
-
- setIgnoreSpecs(List<IgnoreSpec>) - Method in class org.javalite.activeweb.Router
-
- setInjector(Injector) - Method in class org.javalite.activeweb.SpecHelper
-
Use to set injector for current test.
- setInjector(Injector) - Method in class org.javalite.activeweb.ViewSpec
-
Sets injector for tags if they require dependencies.
- setInteger(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Integer
.
- setIntHeader(String, int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setJMSMessageID(String) - Method in class org.javalite.async.Command
-
- setLesscArguments(String) - Method in class org.javalite.lessc.maven.LessConfig
-
- setLesscMain(String) - Method in class org.javalite.lessc.maven.LessConfig
-
- setLocale(Locale) - Method in class org.javalite.activejdbc.Errors
-
Sets a locale on this instance.
- setLocale(Locale) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setLocale(Locale) - Method in class org.javalite.activeweb.HttpSupport
-
Sets locale on response.
- setLogExpression(String) - Static method in class org.javalite.activejdbc.logging.LogFilter
-
- setLong(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Long
.
- setMax(Double) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- setMaxAge(int) - Method in class org.javalite.activeweb.Cookie
-
- setMessage(String) - Method in interface org.javalite.activejdbc.validation.Validator
-
Sets an message on this validator.
- setMessage(String) - Method in class org.javalite.activejdbc.validation.ValidatorAdapter
-
- setMigrationsPath(String) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
-
- setMin(Double) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- setModelFile(String) - Method in enum org.javalite.activejdbc.Registry
-
Used to override the default model file, activejdbc_models.properties.
- setName(String) - Method in class org.javalite.http.FormField
-
- setName(String) - Method in class org.javalite.instrumentation.DBParameters
-
- setOnlyInteger(boolean) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- setOutputDirectory(String) - Method in class org.javalite.instrumentation.Instrumentation
-
- setParent(Model) - Method in class org.javalite.activejdbc.Model
-
Sets a parent on this instance.
- setParents(Model...) - Method in class org.javalite.activejdbc.Model
-
Sets multiple parents on this instance.
- setPassword(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- setPassword(String) - Method in class org.javalite.instrumentation.DBParameters
-
- setPath(String) - Method in class org.javalite.activeweb.Cookie
-
- setProperty(String, String) - Static method in class org.javalite.app_config.AppConfig
-
Sets a property in memory.
- setRequestEncoding(String) - Method in class org.javalite.activeweb.HttpSupport
-
Sets character encoding for request.
- setResponseEncoding(String) - Method in class org.javalite.activeweb.HttpSupport
-
Sets character encoding for response.
- setRollback(boolean) - Method in class org.javalite.activejdbc.test.DBSpec
-
Set to true in order to rollback a transaction at the end of the test.
- setRouteConfig(AbstractRouteConfig) - Method in class org.javalite.activeweb.RequestDispatcher
-
- setRoutes(List<RouteBuilder>) - Method in class org.javalite.activeweb.Router
-
Sets custom routes
- setSecure(boolean) - Method in class org.javalite.activeweb.Cookie
-
- setSelected(boolean) - Method in class org.javalite.activeweb.freemarker.SelectOption
-
- setServletContext(ServletContext) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
-
- setServletContext(ServletContext) - Method in class org.javalite.activeweb.TemplateManager
-
A template manager might need a context to be able to load templates from it.
- setShardTableName(String) - Method in class org.javalite.activejdbc.MetaModel
-
This feature is for sharding!
Do not use it to set table names willy-nilly!
- setShort(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as Short
.
- setStatus(int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setStatus(int, String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setString(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as String
.
- setTargetDirectory(String) - Method in class org.javalite.lessc.maven.LessConfig
-
- setTargetFileName(String) - Method in class org.javalite.lessc.maven.LessConfig
-
- setTemplateClassPath(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
-
This method exists for testing.
- setTemplateLocation(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
-
- setTemplateLocation(String) - Method in class org.javalite.activeweb.IntegrationSpec
-
- setTemplateLocation(String) - Method in class org.javalite.activeweb.SpecHelper
-
- setTemplateLocation(String) - Method in class org.javalite.activeweb.TemplateManager
-
- setTemplateLocation(String) - Method in class org.javalite.activeweb.ViewSpec
-
By default the template location is set to src/main/webapp/WEB-INF/views
.
- setTesting(boolean) - Method in class org.javalite.activejdbc.connection_config.ConnectionSpecWrapper
-
- setTesting(boolean) - Static method in class org.javalite.activeweb.Configuration
-
- setTime(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as java.sql.Time
.
- setTimestamp(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as java.sql.Timestamp
.
- setTimeToLive(int) - Method in class org.javalite.activeweb.SessionFacade
-
Sets time to live in seconds.
- setTimeToLive(int) - Method in class org.javalite.activeweb.SessionTestFacade
-
Sets time to live in seconds.
- setTokenProvider(CSRF.TokenProvider) - Static method in class org.javalite.activeweb.CSRF
-
Use in case you want to use a project-level provider.
- setUrl(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- setUrl(String) - Method in class org.javalite.instrumentation.DBParameters
-
- setUseDefaultLayoutForErrors(boolean) - Static method in class org.javalite.activeweb.Configuration
-
Set to true if you want ActiveWeb to wrap the errors, such as 404, and 500 in a default layout.
- setUsername(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
-
- setUsername(String) - Method in class org.javalite.instrumentation.DBParameters
-
- setValue(String) - Method in class org.javalite.activeweb.Cookie
-
- setVersion(int) - Method in class org.javalite.activeweb.Cookie
-
- setWildCardName(String) - Method in class org.javalite.activeweb.RequestVo
-
- setWildCardValue(String) - Method in class org.javalite.activeweb.RequestVo
-
- shouldBe(String) - Method in class org.javalite.test.jspec.Expectation
-
Invokes a boolean method and uses return value in comparison.
- shouldBeA(Class) - Method in class org.javalite.test.jspec.Expectation
-
Tests that the Tested value is a specific type.
- shouldBeEqual(T) - Method in class org.javalite.test.jspec.Expectation
-
Tested value is equal expected.
- shouldBeFalse() - Method in class org.javalite.test.jspec.Expectation
-
Tested value should be false.
- shouldBeNull() - Method in class org.javalite.test.jspec.Expectation
-
Tested value should be null.
- shouldBeTheSameAs(T) - Method in class org.javalite.test.jspec.Expectation
-
Tested value is the same reference value as expected.
- shouldBeTrue() - Method in class org.javalite.test.jspec.Expectation
-
Tested value should be true.
- shouldBeType(Class) - Method in class org.javalite.test.jspec.Expectation
-
Tests that the Tested value is a specific type.
- shouldContain(Object) - Method in class org.javalite.test.jspec.Expectation
-
Tests that an expected value is contained in the tested object.
- shouldEqual(T) - Method in class org.javalite.test.jspec.Expectation
-
- shouldHave(String) - Method in class org.javalite.test.jspec.Expectation
-
This is for cases suh as: "hasErrors()": a(p).shouldHave("errors")
.
- shouldNotBe(String) - Method in class org.javalite.test.jspec.Expectation
-
Invokes a boolean method and uses return value in comparison.
- shouldNotBeEqual(T) - Method in class org.javalite.test.jspec.Expectation
-
Tested and expected values are not equal.
- shouldNotBeNull() - Method in class org.javalite.test.jspec.Expectation
-
Tested reference should not be null.
- shouldNotBeTheSameAs(T) - Method in class org.javalite.test.jspec.Expectation
-
Tested value is not the same reference value as expected.
- shouldNotContain(Object) - Method in class org.javalite.test.jspec.Expectation
-
- shouldNotHave(String) - Method in class org.javalite.test.jspec.Expectation
-
This is for cases suh as: "hasErrors()": a(p).shouldNotHave("errors")
.
- SimpleController - Class in app.controllers
-
- SimpleController() - Constructor for class app.controllers.SimpleController
-
- SimpleHash - Class in org.javalite.activeweb
-
Class exists for toString() method.
- SimpleHash(Map<String, String[]>) - Constructor for class org.javalite.activeweb.SimpleHash
-
- singularize(String) - Static method in class org.javalite.common.Inflector
-
- size() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- size() - Method in class org.javalite.activejdbc.Errors
-
- size() - Method in class org.javalite.activeweb.SessionFacade
-
- size() - Method in class org.javalite.app_config.AppConfig
-
- SOURCE - Static variable in class org.javalite.activejdbc.Association
-
- SOURCE_FK - Static variable in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- sourceClass() - Method in class org.javalite.activejdbc.conversion.ConverterAdapter
-
- sourceClass() - Method in class org.javalite.activejdbc.conversion.StringToSqlDateConverter
-
- sourceClass() - Method in class org.javalite.activejdbc.conversion.StringToTimestampConverter
-
- SpecException - Exception in org.javalite.activeweb
-
- SpecException(Throwable) - Constructor for exception org.javalite.activeweb.SpecException
-
- SpecException(String) - Constructor for exception org.javalite.activeweb.SpecException
-
- SpecException(String, Throwable) - Constructor for exception org.javalite.activeweb.SpecException
-
- SpecHelper - Class in org.javalite.activeweb
-
This class is not used directly in applications.
- SpecHelper() - Constructor for class org.javalite.activeweb.SpecHelper
-
- SpecHelper.DynamicBuilder - Class in org.javalite.activeweb
-
- SpecHelper.ModuleBuilder - Class in org.javalite.activeweb
-
- split(String, String) - Static method in class org.javalite.common.Util
-
Splits a string into an array using provided delimiters.
- split(String, char) - Static method in class org.javalite.common.Util
-
Splits a string into an array using provided delimiter.
- SQLiteDialect - Class in org.javalite.activejdbc.dialects
-
- SQLiteDialect() - Constructor for class org.javalite.activejdbc.dialects.SQLiteDialect
-
- StaleModelException - Exception in org.javalite.activejdbc
-
- StaleModelException(String) - Constructor for exception org.javalite.activejdbc.StaleModelException
-
- standardActionSupportsHttpMethod(String, HttpMethod) - Method in class org.javalite.activeweb.AppController
-
- start() - Method in class org.javalite.async.Async
-
Starts the server.
- START - Static variable in class org.javalite.async.pooltest.HelloPerformanceCommand
-
- startAsync() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- startAsync(ServletRequest, ServletResponse) - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- startBatch(String) - Static method in class org.javalite.activejdbc.Base
-
Creates a java.sql.PreparedStatement
to be used in batch executions later.
- startBatch(String) - Method in class org.javalite.activejdbc.DB
-
Creates a java.sql.PreparedStatement
to be used in batch executions later.
- StaticMetadataGenerator - Class in org.javalite.activejdbc
-
- StaticMetadataGenerator() - Constructor for class org.javalite.activejdbc.StaticMetadataGenerator
-
- StatisticsFilter - Class in org.javalite.activeweb.controller_filters
-
This filter will collect statistics about controller/action execution into
Statistics Queue for analysis.
- StatisticsFilter() - Constructor for class org.javalite.activeweb.controller_filters.StatisticsFilter
-
- StatisticsQueue - Class in org.javalite.activejdbc.statistics
-
This class will collect statistics on executed queries and then can produce reports sorted by
various parameters.
- StatisticsQueue(boolean) - Constructor for class org.javalite.activejdbc.statistics.StatisticsQueue
-
- status(int) - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
-
Overrides HTTP status with a different value.
- status() - Method in class org.javalite.activeweb.HttpSupport
-
Returns status code from current response.
- statusCode(int) - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
-
- statusCode() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Provides status code set on response by controller
- stop() - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
Shutdowns StatisticsQueue completely, new StatisticsQueue should be created to start gathering statistics again
- stop() - Method in class org.javalite.async.Async
-
Stops this JMS server.
- streamOut(InputStream) - Method in class org.javalite.activeweb.HttpSupport
-
Streams content of the reader
to the HTTP client.
- StringToSqlDateConverter - Class in org.javalite.activejdbc.conversion
-
- StringToSqlDateConverter(String) - Constructor for class org.javalite.activejdbc.conversion.StringToSqlDateConverter
-
- StringToSqlDateConverter(DateFormat) - Constructor for class org.javalite.activejdbc.conversion.StringToSqlDateConverter
-
- StringToTimestampConverter - Class in org.javalite.activejdbc.conversion
-
- StringToTimestampConverter(String) - Constructor for class org.javalite.activejdbc.conversion.StringToTimestampConverter
-
- StringToTimestampConverter(DateFormat) - Constructor for class org.javalite.activejdbc.conversion.StringToTimestampConverter
-
- subList(int, int) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- SuperLazyList<T extends Model> - Class in org.javalite.activejdbc
-
The purpose of this class is to provide toMaps()
method in cases of eager loading of dependencies.
- SuperLazyList() - Constructor for class org.javalite.activejdbc.SuperLazyList
-
- suppressCounts(boolean) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
-
Suppress calling "select count(*)...
- suppressDb(boolean) - Method in class org.javalite.activejdbc.test.DBSpec
-
Call this method from a constructor of your spec in cases you do not need DB connections.
- suppressDb() - Method in class org.javalite.activeweb.AppIntegrationSpec
-
Call this method from a constructor of your spec in cases you do not need DB connections.
- suppressedDb() - Method in class org.javalite.activejdbc.test.DBSpec
-
- SystemStreamUtil - Class in org.javalite.test
-
This class can be used to catch standard and error outputs in tests so as not to
pollute test printout with "good" exceptions stack traces.
- Table - Annotation Type in org.javalite.activejdbc.annotations
-
- tableExists() - Method in class org.javalite.activejdbc.MetaModel
-
- tableize(String) - Static method in class org.javalite.common.Inflector
-
Converts a camel case to underscore and then pluralizes.
- tableNameOf(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- TagFactory - Class in org.javalite.activeweb.freemarker
-
- TagFactory(String, String) - Constructor for class org.javalite.activeweb.freemarker.TagFactory
-
- TARGET - Static variable in class org.javalite.activejdbc.Association
-
- TARGET_FK - Static variable in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- TARGET_PK - Static variable in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- tearDown() - Static method in class org.javalite.activeweb.DBControllerSpec
-
- template() - Method in class org.javalite.activeweb.RequestSpecHelper
-
- TemplateManager - Class in org.javalite.activeweb
-
- TemplateManager() - Constructor for class org.javalite.activeweb.TemplateManager
-
- Templator - Class in org.javalite.common
-
Simple implementation of small quick templates filled with dynamic data.
An example of a template:
- Templator(String) - Constructor for class org.javalite.common.Templator
-
- TestException - Exception in org.javalite.test.jspec
-
- TestException() - Constructor for exception org.javalite.test.jspec.TestException
-
- TestException(String) - Constructor for exception org.javalite.test.jspec.TestException
-
- TestException(String, Throwable) - Constructor for exception org.javalite.test.jspec.TestException
-
- TestException(Throwable) - Constructor for exception org.javalite.test.jspec.TestException
-
- testing() - Method in class org.javalite.activeweb.ConnectionBuilder
-
Marks this connection to be used for testing.
- TestReceive - Class in org.javalite.async.pooltest
-
To execute:
- TestReceive() - Constructor for class org.javalite.async.pooltest.TestReceive
-
- TestSend - Class in org.javalite.async.pooltest
-
To execute:
- TestSend() - Constructor for class org.javalite.async.pooltest.TestSend
-
- text(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
Parses controller response content and selects content of HTML element using CSS selectors.
Example:
- text() - Method in class org.javalite.http.Request
-
Fetches response content from server as String.
- text(String) - Method in class org.javalite.http.Request
-
Fetches response content from server as String.
- textAttributes(String) - Method in class org.javalite.activeweb.freemarker.TagFactory
-
- thaw() - Method in class org.javalite.activejdbc.Model
-
Unfreezes this model.
- the(Object) - Static method in class org.javalite.test.jspec.JSpec
-
- the(Object) - Method in interface org.javalite.test.jspec.JSpecSupport
-
- timestampFormat(String, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- timestampFormat(DateFormat, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- timestampFormat(Class<? extends Model>, String, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- timestampFormat(Class<? extends Model>, DateFormat, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- TimestampValidator - Class in org.javalite.activejdbc.validation
-
Validates presence and correct format of a string and converts it to java.sql.Timestamp
if the
format of correct.
- TimestampValidator(String, String) - Constructor for class org.javalite.activejdbc.validation.TimestampValidator
-
- to(Class<? extends AppController>...) - Method in class org.javalite.activeweb.AbstractControllerConfig.FilterBuilder
-
Provides a list of controllers to which filters are added.
- to(Class<T>) - Method in class org.javalite.activeweb.RouteBuilder
-
Allows to wire a route to a controller.
- to(Class) - Method in class org.javalite.activeweb.SpecHelper.DynamicBuilder
-
This method is optional.
- toArray() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- toArray(T[]) - Method in class org.javalite.activejdbc.AbstractLazyList
-
- toBase64(byte[]) - Static method in class org.javalite.common.Util
-
Will encode byte array using Base64 encoding.
- toBigDecimal(Object) - Static method in class org.javalite.common.Convert
-
Converts value to BigDecimal if it can.
- toBoolean(Object) - Static method in class org.javalite.common.Convert
-
Returns true if the value is any numeric type and has a value of 1, or
if string type has a value of '1', 't', 'y', 'true' or 'yes'.
- toBytes() - Method in class org.javalite.async.Command
-
Flattens(serializes, dehydrates, etc.) this instance to a binary representation.
- toBytes(Object) - Static method in class org.javalite.common.Convert
-
Converts value to bytes array if it can.
- toBytes(Blob) - Static method in class org.javalite.common.Convert
-
Converts java.sql.Blob
to bytes array.
- toDouble(Object) - Static method in class org.javalite.common.Convert
-
Converts any value to Double
.
- toFloat(Object) - Static method in class org.javalite.common.Convert
-
Converts value to Float if it can.
- toHumanFormat(long, long) - Static method in class org.javalite.common.HumanDate
-
Generates a human representation of distance in time between two time stamps.
- toHumanFormat(long) - Static method in class org.javalite.common.HumanDate
-
- toInsert(String...) - Method in class org.javalite.activejdbc.Model
-
Generates INSERT SQL based on this model.
- toInsert(Dialect, String...) - Method in class org.javalite.activejdbc.Model
-
Generates INSERT SQL based on this model with the provided dialect.
- toInteger(Object) - Static method in class org.javalite.common.Convert
-
Converts value to Integer if it can.
- toIsoString(Date) - Static method in class org.javalite.common.Convert
-
Converts a java.util.Date
to a String
in ISO 8601 format: "yyyy-MM-dd'T'HH:mm:ss'Z'"
in UTC timezone for timestamps, and "yyyy-MM-dd" for instances of java.sql.Date
.
- toJson(boolean, String...) - Method in class org.javalite.activejdbc.LazyList
-
Generates JSON from content of this list
- toJson(boolean, String...) - Method in class org.javalite.activejdbc.Model
-
Generates a JSON document from content of this model.
- toJSON() - Method in class org.javalite.activejdbc.RegistryProxy
-
- toJSON() - Static method in class org.javalite.logging.Context
-
- toJsonObject(Object...) - Static method in class org.javalite.common.JsonHelper
-
Converts input into a JSON object.
- toJsonP(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
-
- toJsonString(Object) - Static method in class org.javalite.common.JsonHelper
-
Convert Java object to a JSON string.
- toJsonString(Object, boolean) - Static method in class org.javalite.common.JsonHelper
-
Convert Java object to a JSON string.
- token() - Static method in class org.javalite.activeweb.CSRF
-
- toList(String) - Static method in class org.javalite.common.JsonHelper
-
Convert JSON array tp Java List
- toLong(Object) - Static method in class org.javalite.common.Convert
-
Converts value to Long
if it can.
- toMap() - Method in class org.javalite.activejdbc.Association
-
- toMap() - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
-
- toMap() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
-
- toMap() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- toMap() - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
-
- toMap() - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
-
- toMap() - Method in class org.javalite.activejdbc.Model
-
Returns all values of the model with all attribute names converted to lower case,
regardless how these names came from DB.
- toMap(String) - Static method in class org.javalite.common.JsonHelper
-
Convert a JSON map to a Java Map
- toMaps() - Method in class org.javalite.activejdbc.LazyList
-
Converts the resultset to list of maps, where each map represents a row in the resultset keyed off column names.
- toMaps(String) - Static method in class org.javalite.common.JsonHelper
-
Convert JSON Array to Java array of maps.
- toShort(Object) - Static method in class org.javalite.common.Convert
-
Converts value to Short if it can.
- toSql() - Method in class org.javalite.activejdbc.LazyList
-
- toSql(boolean) - Method in class org.javalite.activejdbc.LazyList
-
Use to see what SQL will be sent to the database.
- toSqlDate(Object) - Static method in class org.javalite.common.Convert
-
Expects a java.sql.Date
, java.sql.Timestamp
, java.sql.Time
, java.util.Date
,
Long
or any object whose toString method has this format: yyyy-mm-dd
.
- toString() - Method in class org.javalite.activejdbc.AbstractLazyList
-
- toString() - Method in class org.javalite.activejdbc.associations.BelongsToAssociation
-
- toString() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
-
- toString() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
-
- toString() - Method in class org.javalite.activejdbc.associations.OneToManyAssociation
-
- toString() - Method in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
-
- toString() - Method in class org.javalite.activejdbc.cache.CacheEvent
-
- toString() - Method in class org.javalite.activejdbc.ColumnMetadata
-
- toString() - Method in class org.javalite.activejdbc.Errors
-
- toString() - Method in class org.javalite.activejdbc.MetaModel
-
- toString() - Method in class org.javalite.activejdbc.Model
-
- toString() - Method in class org.javalite.activejdbc.statistics.QueryStats
-
- toString() - Method in class org.javalite.activeweb.Cookie
-
- toString() - Method in class org.javalite.activeweb.freemarker.TagFactory
-
- toString() - Method in class org.javalite.activeweb.Route
-
- toString() - Method in class org.javalite.activeweb.SimpleHash
-
- toString() - Method in class org.javalite.app_config.Property
-
- toString(Object) - Static method in class org.javalite.common.Convert
-
Returns string representation of an object, including
Clob
.
- toTime(Object) - Static method in class org.javalite.common.Convert
-
If the value is instance of java.sql.Time, returns it, else tries to convert java.util.Date or Long to
Time, else tries to convert using
Time.valueOf(String)
.
- toTimestamp(Object) - Static method in class org.javalite.common.Convert
-
If the value is instance of java.sql.Timestamp, returns it, else tries to convert java.util.Date or Long to
Timestamp, else tries to convert using
Timestamp.valueOf(String)
.
- toUpdate(String...) - Method in class org.javalite.activejdbc.Model
-
Generates UPDATE SQL based on this model.
- toUpdate(Dialect, String...) - Method in class org.javalite.activejdbc.Model
-
Generates UPDATE SQL based on this model with the provided dialect.
- toXml(boolean, boolean, String...) - Method in class org.javalite.activejdbc.LazyList
-
Generates a XML document from content of this list.
- toXml(boolean, boolean, String...) - Method in class org.javalite.activejdbc.Model
-
Generates a XML document from content of this model.
- toXml() - Method in class org.javalite.async.Command
-
Serializes this object into XML.
- toXmlP(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
-
- truncateToSqlDate(Object) - Static method in class org.javalite.common.Convert
-
Expects a java.sql.Date
, java.sql.Timestamp
, java.sql.Time
, java.util.Date
,
Long
or string with format "yyyy-MM-dd".
- truncateToSqlDate(long) - Static method in class org.javalite.common.Convert
-
- tryClass(String) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
-
- TYPE - Static variable in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
-
- TYPE - Static variable in class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
-
- val(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns a single value assigned by controller.
- val(String, Class<T>) - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns a single value assigned by controller.
- valBoolean(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
boolean value assigned by controller.
- valDouble(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
double value assigned by controller.
- valFloat(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
float value assigned by controller.
- validate() - Method in class org.javalite.activejdbc.Model
-
Executes all validators attached to this model.
- validate(Model) - Method in class org.javalite.activejdbc.validation.AttributePresenceValidator
-
- validate(Model) - Method in class org.javalite.activejdbc.validation.DateValidator
-
- validate(Model) - Method in class org.javalite.activejdbc.validation.length.AttributeLengthValidator
-
- validate(String) - Method in class org.javalite.activejdbc.validation.length.Exact
-
- validate(String) - Method in interface org.javalite.activejdbc.validation.length.LengthOption
-
- validate(String) - Method in class org.javalite.activejdbc.validation.length.Max
-
- validate(String) - Method in class org.javalite.activejdbc.validation.length.Min
-
- validate(String) - Method in class org.javalite.activejdbc.validation.length.Range
-
- validate(Model) - Method in class org.javalite.activejdbc.validation.NumericValidator
-
- validate(Model) - Method in class org.javalite.activejdbc.validation.RangeValidator
-
- validate(Model) - Method in class org.javalite.activejdbc.validation.RegexpValidator
-
- validate(Model) - Method in class org.javalite.activejdbc.validation.TimestampValidator
-
- validate(Model) - Method in class org.javalite.activejdbc.validation.UniquenessValidator
-
- validate(Model) - Method in interface org.javalite.activejdbc.validation.Validator
-
- validate() - Method in class org.javalite.db_migrator.MigrationManager
-
Validates whether the database is currently up-to-date.
- validateEmailOf(String) - Static method in class org.javalite.activejdbc.Model
-
Validates email format.
- validateEmailOf(Class<? extends Model>, String) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- ValidateMojo - Class in org.javalite.db_migrator.maven
-
Validate current schema against available migrations.
- ValidateMojo() - Constructor for class org.javalite.db_migrator.maven.ValidateMojo
-
- validateNumericalityOf(String...) - Static method in class org.javalite.activejdbc.Model
-
- validateNumericalityOf(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- validateParamsPresence(Map, String...) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- validateParamsPresence(Map, String...) - Static method in class org.javalite.activeweb.freemarker.Util
-
- validatePresenceOf(String...) - Static method in class org.javalite.activejdbc.Model
-
The validation will not pass if the value is either an empty string "", or null.
- validatePresenceOf(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- validateRange(String, Number, Number) - Static method in class org.javalite.activejdbc.Model
-
Validates range.
- validateRange(Class<? extends Model>, String, Number, Number) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- validateRegexpOf(String, String) - Static method in class org.javalite.activejdbc.Model
-
Validates an attribite format with a ree hand regular expression.
- validateRegexpOf(Class<? extends Model>, String, String) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- validateWith(Validator) - Static method in class org.javalite.activejdbc.Model
-
Add a custom validator to the model.
- validateWith(Class<? extends Model>, Validator) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- ValidationBuilder<T extends Validator> - Class in org.javalite.activejdbc.validation
-
- ValidationBuilder(List<T>) - Constructor for class org.javalite.activejdbc.validation.ValidationBuilder
-
- ValidationBuilder(T) - Constructor for class org.javalite.activejdbc.validation.ValidationBuilder
-
- ValidationException - Exception in org.javalite.activejdbc.validation
-
- ValidationException(Model) - Constructor for exception org.javalite.activejdbc.validation.ValidationException
-
- ValidationException(String) - Constructor for exception org.javalite.activejdbc.validation.ValidationException
-
- Validator - Interface in org.javalite.activejdbc.validation
-
- ValidatorAdapter - Class in org.javalite.activejdbc.validation
-
Subclass this class to create custom validators.
- ValidatorAdapter() - Constructor for class org.javalite.activejdbc.validation.ValidatorAdapter
-
- validators - Variable in class org.javalite.activejdbc.validation.ValidationBuilder
-
- validatorsOf(Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
-
- valInteger(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
int value assigned by controller.
- valLong(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
long value assigned by controller.
- vals() - Method in class org.javalite.activeweb.RequestSpecHelper
-
- valString(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
String value assigned by controller.
- valueOf(String) - Static method in enum org.javalite.activejdbc.cache.CacheEvent.CacheEventType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activejdbc.cache.QueryCache
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activejdbc.Configuration.PropertyName
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activejdbc.logging.LogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activejdbc.Registry
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activeweb.controller_filters.AbstractLoggingFilter.Level
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.activeweb.HttpMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.javalite.db_migrator.DatabaseType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.javalite.activejdbc.cache.CacheEvent.CacheEventType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.javalite.activejdbc.cache.QueryCache
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.javalite.activejdbc.Configuration.PropertyName
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.javalite.activejdbc.conversion.BlankToNullConverter
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.javalite.activejdbc.conversion.ZeroToNullConverter
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class org.javalite.activejdbc.Errors
-
- values() - Static method in enum org.javalite.activejdbc.logging.LogLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.javalite.activejdbc.Registry
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.javalite.activeweb.controller_filters.AbstractLoggingFilter.Level
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.javalite.activeweb.HttpMethod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class org.javalite.activeweb.HttpSupport
-
Returns a mutable Map with all the values from the current request context.
- values() - Method in class org.javalite.activeweb.SessionFacade
-
- values() - Method in class org.javalite.app_config.AppConfig
-
- values() - Static method in enum org.javalite.db_migrator.DatabaseType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verificationEnabled() - Static method in class org.javalite.activeweb.CSRF
-
- VERSION_COLUMN - Static variable in class org.javalite.db_migrator.VersionStrategy
-
- VERSION_TABLE - Static variable in class org.javalite.db_migrator.VersionStrategy
-
- VersionColumn - Annotation Type in org.javalite.activejdbc.annotations
-
This annotation is used to override name of a version column for optimistic locking
- VersionStrategy - Class in org.javalite.db_migrator
-
A trivial VersionStrategy which tracks only the minimal information required to note the current state of the database: the current version.
- VersionStrategy() - Constructor for class org.javalite.db_migrator.VersionStrategy
-
- versionTableExists() - Method in class org.javalite.db_migrator.MigrationManager
-
- versionTableExists() - Method in class org.javalite.db_migrator.VersionStrategy
-
- view(String, Object) - Method in class org.javalite.activeweb.HttpSupport
-
- view(Map) - Method in class org.javalite.activeweb.HttpSupport
-
- view(Object...) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method to pass multiple names and corresponding values to a view.
- ViewException - Exception in org.javalite.activeweb
-
- ViewException(String, Throwable) - Constructor for exception org.javalite.activeweb.ViewException
-
- ViewException(Throwable) - Constructor for exception org.javalite.activeweb.ViewException
-
- ViewException(String) - Constructor for exception org.javalite.activeweb.ViewException
-
- ViewMissingException - Exception in org.javalite.activeweb
-
- ViewMissingException(String) - Constructor for exception org.javalite.activeweb.ViewMissingException
-
- ViewSpec - Class in org.javalite.activeweb
-
This is a spec used to test templates and custom tags.
- ViewSpec() - Constructor for class org.javalite.activeweb.ViewSpec
-