Index
All Classes|All Packages|Constant Field Values|Deprecated API|Serialized Form
$
- $(Object) - Static method in class org.javalite.test.jspec.JSpec
-
Synonym of methods
JSpec.the(Object)
orJSpec.a(Object)
. - $(Object) - Method in interface org.javalite.test.jspec.JSpecSupport
A
- a(Object) - Static method in class org.javalite.test.jspec.JSpec
- a(Object) - Method in interface org.javalite.test.jspec.JSpecSupport
- abort(Executor) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- AbstractControllerConfig - 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<T extends AppController> - 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() - Constructor for class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
-
Creates a filter with default "INFO" level.
- AbstractLoggingFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
-
Creates a filter with preset log level.
- AbstractLoggingFilter.Level - Enum Class 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
- AbstractSASSController - Class in org.javalite.activeweb.controllers
-
Subclass will compile and serve CSS from SASS files.
- AbstractSASSController() - Constructor for class org.javalite.activeweb.controllers.AbstractSASSController
- AbstractWebSocketConfig - Class in org.javalite.activeweb.websockets
-
Subclasses MUST be called WebSocketConfig...
- AbstractWebSocketConfig() - Constructor for class org.javalite.activeweb.websockets.AbstractWebSocketConfig
- AbstractWebSocketConfig.EndpointMapping - Class in org.javalite.activeweb.websockets
- acceptsURL(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCDriver
-
format: jdbc:cassandra://ignored/keyspace
- action(String) - Method in class org.javalite.activeweb.RouteBuilder
-
Name of action to which a route is mapped in the underscore format.
- ActionNotFoundException - Exception in org.javalite.activeweb
- ActionNotFoundException(String) - Constructor for exception org.javalite.activeweb.ActionNotFoundException
- ActionNotFoundException(Throwable) - Constructor for exception org.javalite.activeweb.ActionNotFoundException
- 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 - Enum constant in enum class org.javalite.activejdbc.Configuration.PropertyName
- 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(int, E) - Method in class org.javalite.activejdbc.AbstractLazyList
- add(E) - Method in class org.javalite.activejdbc.AbstractLazyList
- add(String) - Method in class org.javalite.activejdbc.cache.CacheEventSquasher
- add(MetaModel) - Method in class org.javalite.activejdbc.cache.CacheEventSquasher
- add(Model) - Method in class org.javalite.activejdbc.Model
-
Adds a new child dependency.
- add(HttpSupportFilter...) - Method in class org.javalite.activeweb.AbstractControllerConfig
-
Adds a set of filters to a set of controllers.
- add(T) - Method in class org.javalite.activejdbc.SuperLazyList
- addAll(int, Collection<? extends E>) - Method in class org.javalite.activejdbc.AbstractLazyList
- addAll(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() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- addBatch(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- addBatch(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- 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
- addConnectionConfig(ConnectionConfig) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
-
Adds a new connection config for an environment.
- addConnectionConfig(ConnectionConfig, boolean) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
-
Deprecated.
- addCookie(Cookie) - Method in class org.javalite.activeweb.HttpServletResponseProxy
- addDateHeader(String, long) - Method in class org.javalite.activeweb.HttpServletResponseProxy
- addEndpointMapping(AbstractWebSocketConfig.EndpointMapping) - Static method in class org.javalite.activeweb.Configuration
- addEndpointMethod(List<EndPointHttpMethod>) - Method in class org.javalite.activeweb.EndPointDefinition
- addError(String, String) - Method in class org.javalite.activejdbc.Model
-
Adds a new error to the collection of errors.
- addFailedValidator(Validator, String) - Method in class org.javalite.activejdbc.Model
-
Binds a validator to an attribute if validation fails.
- addFailedValidator(Validator, String) - Method in interface org.javalite.validation.Validatable
-
This method is not to add validators for future processing.
- addFailedValidator(Validator, String) - Method in class org.javalite.validation.ValidationSupport
- 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 class 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 definition 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.validation.Errors
-
Adds a validator whose validation failed.
- addValidator(Validator) - Static method in class org.javalite.activejdbc.Model
-
Adds a validator to the model.
- 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() - Method in class org.javalite.activejdbc.Model
- afterCreate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
- afterCreate(T) - Method in interface org.javalite.activejdbc.CallbackListener
- afterDelete() - Method in class org.javalite.activejdbc.Model
- 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() - Method in class org.javalite.activejdbc.Model
- afterLoad(T) - Method in class org.javalite.activejdbc.CallbackAdapter
- afterLoad(T) - Method in interface org.javalite.activejdbc.CallbackListener
- afterSave() - Method in class org.javalite.activejdbc.Model
- 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() - Method in class org.javalite.activejdbc.Model
- afterUpdate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
- afterUpdate(T) - Method in interface org.javalite.activejdbc.CallbackListener
- afterValidation() - Method in class org.javalite.activejdbc.Model
- afterValidation(T) - Method in class org.javalite.activejdbc.CallbackAdapter
- afterValidation(T) - Method in interface org.javalite.activejdbc.CallbackListener
- all() - Method in class org.javalite.activejdbc.ScopeBuilder
-
Use in case the scopes define all criteria you need.
- all(String) - Method in class org.javalite.activejdbc.DB
-
Alias to
DB.findAll(String)
- all(String, Object...) - Method in class org.javalite.activejdbc.DB
-
Alias to
DB.findAll(String, Object...)
- ALL - Enum constant in enum class org.javalite.activejdbc.cache.CacheEvent.CacheEventType
-
This type means that all caches need to be cleared.
- ALL - Static variable in class org.javalite.activejdbc.cache.CacheEvent
- allowBlank(boolean) - Method in class org.javalite.validation.length.AttributeLengthValidator
- allowNull(boolean) - Method in class org.javalite.validation.NumericValidationBuilder
-
Will ignore validation if set to
true
. - AmbiguousActionException - Exception in org.javalite.activeweb
-
Thrown in cases when a controller has multiple overloaded action methods.
- AmbiguousActionException(String) - Constructor for exception org.javalite.activeweb.AmbiguousActionException
- apiLocation - Variable in class org.javalite.activeweb.mojo.GenerateMojo
-
Directory that holds separate JSON files with docs for a specific action/HTTP method.
- 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() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns instance of
AppContext
. - 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
- 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(LogEvent) - Method in class org.javalite.logging.SystemOutAppender
- 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
- AppEndpoint - Class in org.javalite.activeweb.websockets
- AppEndpoint() - Constructor for class org.javalite.activeweb.websockets.AppEndpoint
- 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
- applicationJson() - Method in class org.javalite.http.Request
-
Convenience method to set a ""Content-Type" to "application/json" value.
- applicationJSON() - Method in class org.javalite.activeweb.HttpSupport
-
A convenience method.
- arr(String...) - Method in class org.javalite.common.Util
-
Convenience method to create literal String arrays.
- arr(T...) - Static method in class org.javalite.common.Collections
-
Create array from values.
- 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
-
Associations are synonymous with relationships.
- Association(Class<? extends Model>, Class<? extends Model>) - Constructor for class org.javalite.activejdbc.associations.Association
- Association(Map<String, Object>) - Constructor for class org.javalite.activejdbc.associations.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, Injector, QueueConfig...) - Constructor for class org.javalite.async.Async
-
Creates and configures a new instance.
- Async(String, boolean, QueueConfig...) - Constructor for class org.javalite.async.Async
-
Creates and configures a new instance.
- Async.AsyncBuilder - Class in org.javalite.async
- AsyncBuilder(String) - Constructor for class org.javalite.async.Async.AsyncBuilder
- AsyncException - Exception in org.javalite.async
- AsyncException() - 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
- AsyncException(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.
- attribute(String, String) - Method in class org.javalite.activeweb.freemarker.TagFactory
- AttributeLengthValidator - Class in org.javalite.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.validation
- AttributePresenceValidator(String) - Constructor for class org.javalite.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.
B
- Base - 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.
- Base64 - Class in org.javalite.common
-
This class is a direct copy of code from Java8 for backwards compatibility with older JDKs.
- Base64.Decoder - Class in org.javalite.common
-
This class implements a decoder for decoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
- Base64.Encoder - Class in org.javalite.common
-
This class implements an encoder for encoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
- basic(String) - Method in class org.javalite.http.Request
-
Set a user authentication
- basic(String, String) - Method in class org.javalite.http.Request
-
Sets a user and password for basic authentication.
- BatchReceiver - Class in org.javalite.async
-
Use to batch-read text messages from Async in a cont5ext of a transaction.
- BatchReceiver(String, long, Connection) - Constructor for class org.javalite.async.BatchReceiver
- before() - Method in class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
- before() - Method in interface org.javalite.activeweb.controller_filters.ControllerFilter
-
Called by framework before executing a controller
- before() - Method in class org.javalite.activeweb.controller_filters.ControllerFilterAdapter
- before() - Method in class org.javalite.activeweb.controller_filters.CSRFFilter
- before() - Method in class org.javalite.activeweb.controller_filters.DBConnectionFilter
- before() - Method in class org.javalite.activeweb.controller_filters.HttpSupportFilter
- before() - Method in class org.javalite.activeweb.controller_filters.StatisticsFilter
- before() - Method in class org.javalite.activeweb.DBIntegrationSpec
- beforeAppIntegrationSpec() - Method in class org.javalite.activeweb.AppIntegrationSpec
- beforeClosingBrace(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
-
Override in subclasses in order to inject custom content into Json just before the closing brace.
- beforeClosingTag(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
-
Override in a subclass to inject custom content onto XML just before the closing tag.
- beforeCreate() - Method in class org.javalite.activejdbc.Model
- beforeCreate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
- beforeCreate(T) - Method in interface org.javalite.activejdbc.CallbackListener
- beforeDelete() - Method in class org.javalite.activejdbc.Model
- beforeDelete(T) - Method in class org.javalite.activejdbc.CallbackAdapter
- beforeDelete(T) - Method in interface org.javalite.activejdbc.CallbackListener
- beforeSave() - Method in class org.javalite.activejdbc.Model
- beforeSave(T) - Method in class org.javalite.activejdbc.CallbackAdapter
- beforeSave(T) - Method in interface org.javalite.activejdbc.CallbackListener
- beforeTest() - Method in class org.javalite.activeweb.ViewSpec
- beforeUpdate() - Method in class org.javalite.activejdbc.Model
- beforeUpdate(T) - Method in class org.javalite.activejdbc.CallbackAdapter
- beforeUpdate(T) - Method in interface org.javalite.activejdbc.CallbackListener
- beforeValidation() - Method in class org.javalite.activejdbc.Model
- beforeValidation(T) - Method in class org.javalite.activejdbc.CallbackAdapter
- beforeValidation(T) - Method in interface org.javalite.activejdbc.CallbackListener
- belongsTo(Class<? extends Model>) - Static method in class org.javalite.activejdbc.Model
- belongsTo(Class<? extends Model>, Class<? extends Model>) - Static method in class org.javalite.activejdbc.ModelDelegate
- BelongsTo - Annotation Interface in org.javalite.activejdbc.annotations
-
Place on a child model of the One-to-many relationship if the tables do not follow the ActiveJDBC naming conventions.
- BelongsToAssociation - Class in org.javalite.activejdbc.associations
-
This association indicates that a source table belongs to the target table.
- BelongsToAssociation(Class<? extends Model>, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.associations.BelongsToAssociation
- BelongsToAssociation(Map<String, Object>) - Constructor for class org.javalite.activejdbc.associations.BelongsToAssociation
- BelongsToParents - Annotation Interface in org.javalite.activejdbc.annotations
- BelongsToPolymorphic - Annotation Interface in org.javalite.activejdbc.annotations
- BelongsToPolymorphicAssociation - Class in org.javalite.activejdbc.associations
- BelongsToPolymorphicAssociation(Class<? extends Model>, Class<? extends Model>, String, String) - Constructor for class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
- BelongsToPolymorphicAssociation(Map<String, Object>) - Constructor for class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
- bind(Class) - Method in class org.javalite.activeweb.SpecHelper.DynamicBuilder
- blank(Object) - Static method in class org.javalite.common.Util
-
Returns true if value is either null or it's String representation is blank.
- blank(String) - Static method in class org.javalite.db_migrator.DbUtils
- blank(String...) - Method in class org.javalite.activeweb.HttpSupport
-
Returns true if any named request parameter is blank.
- blankToNull(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
- blankToNull(String...) - Static method in class org.javalite.activejdbc.Model
-
Registers
BlankToNullConverter
for specified attributes. - BlankToNullConverter - Enum Class in org.javalite.conversion
-
Converts instances of String that are empty or contain only whitespaces to null.
- Book - Class in org.javalite.async
- Book() - Constructor for class org.javalite.async.Book
- BooleanValidator - Class in org.javalite.json
-
Validates a boolean value in a JSON document.
- BooleanValidator(String) - Constructor for class org.javalite.json.BooleanValidator
-
Defaults to expect a "true" value at hte path.
- BooleanValidator(String, boolean) - Constructor for class org.javalite.json.BooleanValidator
- Bootstrap - Class in org.javalite.activeweb
-
This is an abstract class designed to be overridden in the application.
- Bootstrap() - Constructor for class org.javalite.activeweb.Bootstrap
- build() - Method in class org.javalite.async.Async.AsyncBuilder
- BUNDLE - Static variable in class org.javalite.validation.Messages
- bytes() - Method in class org.javalite.http.Request
-
Fetches response content from server as bytes.
- bytes(InputStream) - Static method in class org.javalite.common.Util
-
Reads contents of the input stream fully and returns it as byte array.
- bytesContent() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Provides content generated by controller as bytes.
C
- cached() - Method in class org.javalite.activejdbc.MetaModel
- Cached - Annotation Interface in org.javalite.activejdbc.annotations
- CacheEvent - Class in org.javalite.activejdbc.cache
-
Event object.
- CacheEvent(String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
-
Creates a new event type of
CacheEvent.CacheEventType.ALL
- CacheEvent(String, String) - Constructor for class org.javalite.activejdbc.cache.CacheEvent
-
Creates a new event type of
CacheEvent.CacheEventType.GROUP
. - CacheEvent.CacheEventType - Enum Class in org.javalite.activejdbc.cache
- CacheEventListener - Interface in org.javalite.activejdbc.cache
- CacheEventSquasher - Class in org.javalite.activejdbc.cache
-
This class exists in order to collapse multiple similar cache purge events into one.
- CacheEventSquasher() - Constructor for class org.javalite.activejdbc.cache.CacheEventSquasher
- CacheException - Exception in org.javalite.activejdbc.cache
- CacheException(String, Throwable) - Constructor for exception org.javalite.activejdbc.cache.CacheException
- cacheManager() - Static method in enum class org.javalite.activejdbc.Registry
- CacheManager - Class in org.javalite.activejdbc.cache
-
Abstract method to be sub-classed by various caching technologies.
- CacheManager - Enum constant in enum class org.javalite.activejdbc.Configuration.PropertyName
- CacheManager() - Constructor for class org.javalite.activejdbc.cache.CacheManager
- 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(Class<? extends Model>, CallbackListener...) - Static method in class org.javalite.activejdbc.ModelDelegate
- callbackWith(CallbackListener...) - Static method in class org.javalite.activejdbc.Model
-
Sets lifecycle listeners on current model.
- 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.
- camelize(Map<?, Object>, boolean) - Static method in class org.javalite.common.Inflector
-
Will camelize the keys of the map and will return a new map with the same values, but CamelCase keys.
- cancel() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- cancel() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- canConvert(Class) - Method in class org.javalite.async.xstream.JSONListConverter
- canConvert(Class) - Method in class org.javalite.async.xstream.JSONMapConverter
- canConvert(Class, Class) - Method in enum class org.javalite.conversion.BlankToNullConverter
- canConvert(Class, Class) - Method in interface org.javalite.conversion.Converter
-
Returns true if this converter can convert instances of sourceClass to destinationClass.
- canConvert(Class, Class) - Method in class org.javalite.conversion.ConverterAdapter
- canConvert(Class, Class) - Method in class org.javalite.conversion.DateToStringConverter
- canConvert(Class, Class) - Method in enum class org.javalite.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.common
-
A case insensitive map for
java.lang.String
keys. - CaseInsensitiveMap() - Constructor for class org.javalite.common.CaseInsensitiveMap
- CaseInsensitiveMap(Map<? extends String, V>) - Constructor for class org.javalite.common.CaseInsensitiveMap
- CaseInsensitiveSet - Class in org.javalite.common
-
A case insensitive set for
java.lang.String
elements. - CaseInsensitiveSet() - Constructor for class org.javalite.common.CaseInsensitiveSet
- CaseInsensitiveSet(Collection<? extends String>) - Constructor for class org.javalite.common.CaseInsensitiveSet
- CASSANDRA - Enum constant in enum class org.javalite.db_migrator.DatabaseType
- CassandraJDBCConnection - Class in org.javalite.cassandra.jdbc
- CassandraJDBCConnection(CqlSession) - Constructor for class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- CassandraJDBCDriver - Class in org.javalite.cassandra.jdbc
- CassandraJDBCDriver() - Constructor for class org.javalite.cassandra.jdbc.CassandraJDBCDriver
- CassandraJDBCPreparedStatement - Class in org.javalite.cassandra.jdbc
- CassandraJDBCPreparedStatement(CqlSession, String) - Constructor for class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- CassandraJDBCResultSet - Class in org.javalite.cassandra.jdbc
- CassandraJDBCStatement - Class in org.javalite.cassandra.jdbc
- CassandraJDBCStatement(CqlSession) - Constructor for class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- CassandraURI - Class in org.javalite.cassandra.jdbc
- CassandraURI(String) - Constructor for class org.javalite.cassandra.jdbc.CassandraURI
- CDATAXppDriver - Class in org.javalite.async.xstream
- CDATAXppDriver() - Constructor for class org.javalite.async.xstream.CDATAXppDriver
- 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
- child() - Element in annotation interface org.javalite.activejdbc.annotations.HasMany
- CLASS - Static variable in class org.javalite.activejdbc.associations.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
- ClassPathUtil - Class in org.javalite.activeweb.mojo
- ClassPathUtil() - Constructor for class org.javalite.activeweb.mojo.ClassPathUtil
- cleanControlChars(String) - Static method in class org.javalite.json.JSONHelper
-
Clean control characters in a string.
- clear() - Method in class org.javalite.activejdbc.AbstractLazyList
- 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.
- clear() - Method in class org.javalite.validation.Errors
- clearBatch() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- clearBatch() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- clearConnectionConfigs() - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
-
Clears connection configs for current environment
- clearConnectionConfigs() - Static method in class org.javalite.activeweb.DBSpecHelper
- clearConnectionConfigs(String) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
- clearParameters() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- clearShardTableName() - Method in class org.javalite.activejdbc.MetaModel
-
Clears sharding name of table attached to current thread.
- clearWarnings() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- clearWarnings() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- clearWarnings() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- CLICKHOUSE - Enum constant in enum class org.javalite.db_migrator.DatabaseType
- close() - Static method in class org.javalite.activejdbc.Base
-
Closes connection and detaches it from current thread.
- close() - Method in class org.javalite.activejdbc.cache.CacheEventSquasher
- close() - 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.CloseableList
- 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.cassandra.jdbc.CassandraJDBCConnection
- close() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- close() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- close(boolean) - Static method in class org.javalite.activejdbc.Base
-
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.
- CloseableList<T> - Class in org.javalite.activeweb
-
Exists only to make code less spaghetti-like.
- CloseableList() - Constructor for class org.javalite.activeweb.CloseableList
- closeAllConnections() - Static method in class org.javalite.activejdbc.DB
-
Closes all current connections.
- closeOnCompletion() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- closeOnCompletion() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- 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(AutoCloseable...) - Static method in class org.javalite.common.Util
-
Close multiple resources.
- closeQuietly(Object) - Static method in class org.javalite.db_migrator.DbUtils
- closeQuietly(List<T>) - Static method in class org.javalite.common.Util
-
Close multiple resources.
- 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
- CollectStatistics - Enum constant in enum class org.javalite.activejdbc.Configuration.PropertyName
- collectStatisticsOnHold() - Method in class org.javalite.activejdbc.Configuration
- CollectStatisticsOnHold - Enum constant in enum class org.javalite.activejdbc.Configuration.PropertyName
- 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.
- commit() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- 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
- compile(File, String) - Method in class org.javalite.sass.maven.CompileSassFilesMojo
- CompileLesscFilesMojo - Class in org.javalite.lessc.maven
- CompileLesscFilesMojo() - Constructor for class org.javalite.lessc.maven.CompileLesscFilesMojo
- CompileSassFilesMojo - Class in org.javalite.sass.maven
- CompileSassFilesMojo() - Constructor for class org.javalite.sass.maven.CompileSassFilesMojo
- completeInit() - Method in class org.javalite.activeweb.AbstractControllerConfig
- completeInit() - Method in interface org.javalite.activeweb.InitConfig
- CompositePK - Annotation Interface in org.javalite.activejdbc.annotations
- compress(String) - Static method in class org.javalite.activeweb.HTML
- 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(String) - Constructor for exception org.javalite.app_config.ConfigInitException
- ConfigInitException(Throwable) - Constructor for exception org.javalite.app_config.ConfigInitException
- Configuration - Class in org.javalite.activejdbc
- Configuration - Class in org.javalite.activeweb
- Configuration() - Constructor for class org.javalite.activejdbc.Configuration
- Configuration() - Constructor for class org.javalite.activeweb.Configuration
- Configuration.PropertyName - Enum Class in org.javalite.activejdbc
-
All properties defined in framework.
- ConfigurationException - Exception in org.javalite.activeweb
- ConfigurationException(String) - Constructor for exception org.javalite.activeweb.ConfigurationException
- ConfigurationException(String, Throwable) - 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
- connect(String, Properties) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCDriver
- 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_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.
- ConnectionConfig - Class in org.javalite.activejdbc.connection_config
-
Super class for all connection configuration instances
- ConnectionConfig() - Constructor for class org.javalite.activejdbc.connection_config.ConnectionConfig
- ConnectionDataSourceConfig - Class in org.javalite.activejdbc.connection_config
- ConnectionDataSourceConfig(DataSource) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionDataSourceConfig
- ConnectionJdbcConfig - Class in org.javalite.activejdbc.connection_config
-
Specification for a JDBC connection
- ConnectionJdbcConfig(String, String, String, String) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
- ConnectionJdbcConfig(String, String, Properties) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
- ConnectionJndiConfig - Class in org.javalite.activejdbc.connection_config
-
Specification for a JNDI connection.
- ConnectionJndiConfig(String) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJndiConfig
- ConnectionJndiConfig(InitialContext) - Constructor for class org.javalite.activejdbc.connection_config.ConnectionJndiConfig
- connections() - Static method in class org.javalite.activejdbc.DB
-
Provides connections available on current thread.
- ConnectionsAccess - Class in org.javalite.activejdbc
- contains(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
- contains(EndPointHttpMethod[]) - Method in class org.javalite.activeweb.EndPointDefinition
- 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.activeweb.SessionFacade
- containsKey(Object) - Method in class org.javalite.app_config.AppConfig
- containsKey(Object) - Method in class org.javalite.validation.Errors
- containsValue(Object) - Method in class org.javalite.activeweb.SessionFacade
- containsValue(Object) - Method in class org.javalite.app_config.AppConfig
- containsValue(Object) - Method in class org.javalite.validation.Errors
- content(byte[]) - Method in class org.javalite.activeweb.RequestBuilder
-
Use to post content to a tested controller.
- content(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Use to post content to a tested controller.
- 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() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Provides content type set on response by controller
- 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(String) - Method in class org.javalite.http.Request
-
Convenience method to set a ""Content-Type" header.
- context() - Method in interface org.javalite.activeweb.RequestAccess
-
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.common
- ConversionException - Exception in org.javalite.conversion
-
Class for conversion exceptions.
- ConversionException() - Constructor for exception org.javalite.common.ConversionException
- ConversionException() - Constructor for exception org.javalite.conversion.ConversionException
- ConversionException(String) - Constructor for exception org.javalite.common.ConversionException
- ConversionException(String) - Constructor for exception org.javalite.conversion.ConversionException
- ConversionException(String, Throwable) - Constructor for exception org.javalite.common.ConversionException
- ConversionException(String, Throwable) - Constructor for exception org.javalite.conversion.ConversionException
- ConversionException(Throwable) - Constructor for exception org.javalite.common.ConversionException
- ConversionException(Throwable) - Constructor for exception org.javalite.conversion.ConversionException
- convert(Number) - Method in enum class org.javalite.conversion.ZeroToNullConverter
- convert(String) - Method in enum class org.javalite.conversion.BlankToNullConverter
- convert(Date) - Method in class org.javalite.conversion.DateToStringConverter
- convert(S) - Method in interface org.javalite.conversion.Converter
-
Converts instance of S to T.
- convert(S) - Method in class org.javalite.conversion.ConverterAdapter
- Convert - Class in org.javalite.common
-
Convenience class for type conversions.
- Converter<S,T> - Interface in org.javalite.conversion
-
Converts instances of S to T.
- ConverterAdapter<S,T> - Class in org.javalite.conversion
-
Converts instances of S to T.
- ConverterAdapter() - Constructor for class org.javalite.conversion.ConverterAdapter
- converterForClass(String, Class<S>, Class<T>) - Method in class org.javalite.validation.ValidationSupport
-
Returns converter for specified model attribute, able to convert from sourceClass to destinationClass.
- converterForValue(String, Object, Class<T>) - Method in class org.javalite.validation.ValidationSupport
-
Returns converter for specified model attribute, able to convert value to an instance of destinationClass.
- convertWith(Class<? extends Model>, Converter, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
- convertWith(Converter, String) - Method in class org.javalite.validation.ValidationSupport
-
Registers converter for specified model attribute.
- convertWith(Converter, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers a custom converter for the specified attributes.
- convertWith(Converter, String...) - Method in class org.javalite.validation.ValidationSupport
-
Registers converter for specified model attributes.
- cookie(String) - Method in interface org.javalite.activeweb.RequestAccess
-
Returns a cookie by name, null if not found.
- cookie(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns a cookie from last response by name,
null
if not found. - cookie(Cookie) - Method in class org.javalite.activeweb.RequestBuilder
-
Adds cookie to current request.
- 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
- cookies() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns collection of all cookies browser sent.
- cookieValue(String) - Method in interface org.javalite.activeweb.RequestAccess
-
Convenience method, returns cookie value.
- cookieValue(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
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() - Static method in class org.javalite.activejdbc.Model
-
Returns total count of records in table.
- 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) - Static method in class org.javalite.activejdbc.Base
-
Returns count of rows in table.
- count(String) - Method in class org.javalite.activejdbc.DB
-
Returns count of rows in table.
- 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, Object...) - Static method in class org.javalite.activejdbc.Model
-
Returns count of records in table under a condition.
- count(String, String) - Static method in class org.javalite.test.XPathHelper
-
Counts a collection selected by XPath expression.
- count(String, String, Object...) - Static method in class org.javalite.activejdbc.Base
-
Runs a count query, returns a number of matching records.
- count(String, String, Object...) - Method in class org.javalite.activejdbc.DB
-
Runs a count query, returns a number of matching records.
- countQuery(String) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
-
Part of the query that is responsible for count.
- 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.
- create(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
- create(Object...) - Static method in class org.javalite.activejdbc.Model
-
This is a convenience method to create a model instance already initialized with values.
- createAppender(String, Layout, Filter) - Static method in class org.javalite.logging.SystemOutAppender
- createArrayOf(String, Object[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- createBlob() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- createClob() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- 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(Class<T>, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
- createIt(Object...) - Static method in class org.javalite.activejdbc.Model
-
This is a convenience method to
Model.create(Object...)
. - createLayout(Charset, String) - Static method in class org.javalite.logging.JsonLog4j2Layout
- CreateMojo - Class in org.javalite.db_migrator.maven
- CreateMojo() - Constructor for class org.javalite.db_migrator.maven.CreateMojo
- createNClob() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- createNewSession() - Method in class org.javalite.async.SessionPool
- createSchemaVersionTableIfDoesNotExist() - Method in class org.javalite.db_migrator.MigrationManager
- createSQLXML() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- createStatement() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- createStatement(int, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- createStatement(int, int, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- createStruct(String, Object[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- createTree(Path) - Static method in class org.javalite.common.Util
-
Creates directories recursively.
- createWriter(Writer) - Method in class org.javalite.async.xstream.CDATAXppDriver
- 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
D
- databaseExists(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- databaseType(String) - Static method in class org.javalite.db_migrator.DbUtils
- DatabaseType - Enum Class in org.javalite.db_migrator
- dataSource(DataSource) - Method in class org.javalite.activeweb.ConnectionBuilder
-
Sets a
DataSource
to be used by this configuration. - dateFormat(Class<? extends Model>, String, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
- dateFormat(Class<? extends Model>, DateFormat, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
- dateFormat(String, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- dateFormat(String, String...) - Method in class org.javalite.validation.ValidationSupport
-
Registers date converters (Date -> String -> java.sql.Date) for specified model attributes.
- dateFormat(DateFormat, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- dateFormat(DateFormat, String...) - Method in class org.javalite.validation.ValidationSupport
-
Registers date converters (Date -> String -> java.sql.Date) for specified model attributes.
- DateToStringConverter - Class in org.javalite.conversion
- DateToStringConverter(String) - Constructor for class org.javalite.conversion.DateToStringConverter
- DateToStringConverter(DateFormat) - Constructor for class org.javalite.conversion.DateToStringConverter
- DateValidator - Class in org.javalite.validation
-
If you are looking conversion, use
DateToStringConverter
. - DateValidator(String, String) - Constructor for class org.javalite.validation.DateValidator
- db(String) - Method in class org.javalite.activeweb.ConnectionBuilder
-
Name of a database.
- 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 - Static variable in class org.javalite.instrumentation.Classes
- DB() - Constructor for class org.javalite.activejdbc.DB
-
Creates a new DB object representing a connection to a DB with default name.
- DB(String) - Constructor for class org.javalite.activejdbc.DB
-
Creates a new DB object representing a connection to a DB.
- DB2 - Enum constant in enum class org.javalite.db_migrator.DatabaseType
- 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() - 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.).
- DBCommandListener(String) - Constructor for class org.javalite.async.DBCommandListener
-
JNDI string to open a connection from a pool.
- DBConfiguration - Class in org.javalite.activejdbc.connection_config
- DBConfiguration - Static variable in class org.javalite.instrumentation.Classes
- 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(String) - Constructor for exception org.javalite.activejdbc.DBException
- DBException(String, Object[], Throwable) - Constructor for exception org.javalite.activejdbc.DBException
- DBException(String, Throwable) - Constructor for exception org.javalite.activejdbc.DBException
- DBException(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 Interface 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
- DEBUG - Enum constant in enum class org.javalite.activejdbc.logging.LogLevel
- DEBUG - Enum constant in enum class org.javalite.activeweb.controller_filters.AbstractLoggingFilter.Level
- 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(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(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(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
-
Synonym for
Model.thaw()
. - 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() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP DELETE method.
- delete(boolean) - Method in class org.javalite.activejdbc.Model
-
Convenience method, will call
Model.delete()
orModel.deleteCascade()
. - delete(Class<? extends Model>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
- delete(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Simulate HTTP DELETE call to an action of controller.
- 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.
- delete(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Deletes some records from associated table.
- 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 - Enum constant in enum class org.javalite.activeweb.HttpMethod
- DELETE - Annotation Interface in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP 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.conversion.ConverterAdapter
- destinationClass() - Method in class org.javalite.conversion.StringToSqlDateConverter
- destinationClass() - Method in class org.javalite.conversion.StringToTimestampConverter
- destroy() - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
- destroy() - Method in interface org.javalite.activeweb.Destroyable
-
Will be called when your app is shut down gracefully.
- destroy() - Method in class org.javalite.activeweb.RequestDispatcher
- destroy() - Method in class org.javalite.activeweb.SessionFacade
-
Destroys current session
- destroy(AppContext) - Method in class org.javalite.activeweb.Bootstrap
-
Called when application is destroyed (un-deployed).
- Destroyable - Interface in org.javalite.activeweb
-
Indicates a service in Guice can be destroyed when the application shuts down.
- destructive() - Method in enum class org.javalite.activeweb.HttpMethod
- 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.
- 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
- DISABLED - Enum constant in enum class org.javalite.activeweb.controller_filters.AbstractLoggingFilter.Level
- disableVerification() - Static method in class org.javalite.activeweb.CSRF
- dispose() - Method in class org.javalite.http.Request
-
This method is already called from
Request.text()
andRequest.bytes()
, you do not have to call it if you use those methods. - doConnect(HttpURLConnection) - Method in class org.javalite.http.Multipart
- doConnect(HttpURLConnection) - Method in class org.javalite.http.Patch
- doConnect(HttpURLConnection) - Method in class org.javalite.http.Post
- doConnect(HttpURLConnection) - Method in class org.javalite.http.Request
- doConvert(String) - Method in class org.javalite.conversion.StringToSqlDateConverter
- doConvert(String) - Method in class org.javalite.conversion.StringToTimestampConverter
- doConvert(S) - Method in class org.javalite.conversion.ConverterAdapter
-
Converts instance of S to T.
- 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
- 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.
- 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
E
- 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.validation
- EmailValidator(String) - Constructor for class org.javalite.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
-
Synonym for
HttpSupport.setEncoding(String)
- EndPointDefinition - Class in org.javalite.activeweb
-
Wraps multiple HTTP methods for a single endpoint.
- EndPointDefinition(List<EndPointHttpMethod>, String, String, String, String) - Constructor for class org.javalite.activeweb.EndPointDefinition
- EndpointDispatcher - Class in org.javalite.activeweb.websockets
-
Interesting advice: https://stackoverflow.com/questions/50114490/java-websocket-session-times-out-regardless-the-value-of-setmaxidletimeout Another: https://yishanhe.net/how-to-keep-your-websocket-session-alive/ Java Client: https://github.com/eugenp/tutorials/tree/master/spring-boot-modules/spring-boot-client/src/main/java/com/baeldung/websocket/client
- EndpointDispatcher() - Constructor for class org.javalite.activeweb.websockets.EndpointDispatcher
- EndpointFinder - Class in org.javalite.activeweb
- EndpointFinder(ClassLoader) - Constructor for class org.javalite.activeweb.EndpointFinder
- EndpointFinder(String, ClassLoader) - Constructor for class org.javalite.activeweb.EndpointFinder
- EndPointHttpMethod - Class in org.javalite.activeweb
-
This class is to encapsulate an HTTP method (GET, POST, DELETE, etc.) and its corresponding API docs if any.
- EndPointHttpMethod(HttpMethod, String) - Constructor for class org.javalite.activeweb.EndPointHttpMethod
- enqueue(QueryExecutionEvent) - Method in class org.javalite.activejdbc.statistics.StatisticsQueue
-
Enqueues a query execution event for processing.
- entrySet() - Method in class org.javalite.activeweb.SessionFacade
- entrySet() - Method in class org.javalite.app_config.AppConfig
- entrySet() - Method in class org.javalite.validation.Errors
- 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.activeweb.EndPointHttpMethod
- equals(Object) - Method in class org.javalite.app_config.Property
- equals(Object) - Method in class org.javalite.validation.AttributePresenceValidator
- 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
- ERROR - Enum constant in enum class org.javalite.activejdbc.logging.LogLevel
- ERROR - Enum constant in enum class org.javalite.activeweb.controller_filters.AbstractLoggingFilter.Level
- errors() - Method in class org.javalite.activejdbc.Model
-
Provides an instance of
Errors
object, filled with error messages after validation. - errors() - Method in interface org.javalite.validation.Validatable
-
Provides an instance of localized
Errors
object, filled with error messages after validation. - errors() - Method in exception org.javalite.validation.ValidationException
-
Convenience method, returns the same object with errors that is attached to a model generated this exception.
- errors() - Method in class org.javalite.validation.ValidationSupport
-
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(Locale) - Method in interface org.javalite.validation.Validatable
-
Provides an instance of localized
Errors
object, filled with error messages after validation. - errors(Locale) - Method in exception org.javalite.validation.ValidationException
-
Convenience method, returns the same object with errors that is attached to a model generated this exception.
- errors(Locale) - Method in class org.javalite.validation.ValidationSupport
-
Provides an instance of localized
Errors
object, filled with error messages after validation. - Errors - Class in org.javalite.validation
-
Collection of error messages generated by validation process.
- Errors() - Constructor for class org.javalite.validation.Errors
- Escape - Class in org.javalite.common
- escapeControlChars(String) - Static method in class org.javalite.json.JSONHelper
-
Escapes control characters in a string.
- Exact - Class in org.javalite.validation.length
-
The attribute length must be equal to a given value.
- exceptFor(Class<? extends AppController>...) - 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() - Method in class org.javalite.test.jspec.DifferenceExpectation
- exec() - Method in class org.javalite.test.jspec.ExceptionExpectation
- exec(String) - Static method in class org.javalite.activejdbc.Base
-
Executes DML.
- exec(String) - Method in class org.javalite.activejdbc.DB
-
Executes DML.
- exec(String, Object...) - Static method in class org.javalite.activejdbc.Base
-
Executes parametrized DML - will contain question marks as placeholders.
- exec(String, Object...) - Method in class org.javalite.activejdbc.DB
-
Executes parametrized DML - will contain question marks as placeholders.
- exec(String, Object...) - Static method in class org.javalite.db_migrator.DbUtils
- execute() - Method in class org.javalite.activeweb.mojo.GenerateMojo
- execute() - Method in class org.javalite.activeweb.mojo.HelpMojo
- execute() - Method in class org.javalite.activeweb.mojo.PrintMojo
- 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.cassandra.jdbc.CassandraJDBCPreparedStatement
- 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
- execute() - Method in class org.javalite.sass.maven.CompileSassFilesMojo
- execute(int, File, String...) - Static method in class org.javalite.common.RuntimeUtil
-
Executes an external command and provides results of execution.
- execute(int, File, List<String>, String...) - Static method in class org.javalite.common.RuntimeUtil
-
Executes an external command and provides results of execution.
- 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(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(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.javalite.activeweb.TableTag
- execute(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- execute(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- execute(String) - Static method in class org.javalite.common.RuntimeUtil
-
Convenience method, does the same as
RuntimeUtil.execute(String...)
, but will automatically convert a full command string to tokens for convenience. - execute(String...) - Static method in class org.javalite.common.RuntimeUtil
-
Executes an external command and provides results of execution.
- execute(String, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- execute(String, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- execute(String, int[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- execute(String, int[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- execute(String, String[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- execute(String, String[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- executeBatch() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- executeBatch() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- 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
- executeQuery() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- executeQuery(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- executeQuery(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- executeUpdate() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- executeUpdate(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- executeUpdate(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- executeUpdate(String, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- executeUpdate(String, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- executeUpdate(String, int[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- executeUpdate(String, int[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- executeUpdate(String, String[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- executeUpdate(String, String[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- exists() - Method in class org.javalite.activejdbc.Model
-
Returns true if record corresponding to the id of this instance exists in the DB.
- exists() - Method in class org.javalite.activeweb.SessionFacade
- exists(Class<? extends Model>, Object) - Static method in class org.javalite.activejdbc.ModelDelegate
- exists(Object) - Static method in class org.javalite.activejdbc.Model
-
Returns true if record corresponding to the id passed exists in the DB.
- exists(String) - Method in interface org.javalite.activeweb.RequestAccess
-
Tests if a request parameter exists.
- exitValue - Variable in class org.javalite.common.RuntimeUtil.Response
- expect(Class<T>, String, Runnable) - Static method in class org.javalite.test.jspec.JSpec
-
Expect an exception.
- expect(DifferenceExpectation<T>) - Static method in class org.javalite.test.jspec.JSpec
-
Expect that the results are different, throw TestException if same.
- expect(DifferenceExpectation<T>) - Method in interface org.javalite.test.jspec.JSpecSupport
- expect(ExceptionExpectation<T>) - Static method in class org.javalite.test.jspec.JSpec
- expect(ExceptionExpectation<T>) - Method in interface org.javalite.test.jspec.JSpecSupport
- expect(ExceptionExpectation<T>, String) - Static method in class org.javalite.test.jspec.JSpec
- 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
F
- FailedValidationReply - Annotation Interface in org.javalite.activeweb.annotations
-
This annotation is for automatic reply to HTTP requests in case validation did not pass.
- field(String, String) - Method in class org.javalite.http.Multipart
-
Convenience method to add a form field to the request.
- field(FormField) - Method in class org.javalite.http.Multipart
-
Adds 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(File) - Constructor for class org.javalite.activeweb.FileItem
-
Constructor to be used in tests, field name and file name are set to File name.
- FileItem(String, String, byte[]) - Constructor for class org.javalite.activeweb.FileItem
-
Constructor to be used in tests.
- FileItem(String, String, String, byte[]) - Constructor for class org.javalite.activeweb.FileItem
-
Constructor to be used in tests.
- 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, Object...) - Method in class org.javalite.activejdbc.DB
-
Convenience method, same as
DB.find(RowProcessor.ResultSetType, RowProcessor.ResultSetConcur, int, String, Object...)
, but passes in default values: - find(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Synonym of
Model.where(String, Object...)
- 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, RowListener) - Method in class org.javalite.activejdbc.DB
-
Executes a raw query and calls instance of
RowListener
with every row found. - find(RowProcessor.ResultSetType, RowProcessor.ResultSetConcur, int, String, Object...) - Static method in class org.javalite.activejdbc.Base
-
Executes a raw query and returns an instance of
RowProcessor
. - find(RowProcessor.ResultSetType, RowProcessor.ResultSetConcur, int, String, Object...) - Method in class org.javalite.activejdbc.DB
-
Executes a raw query and returns an instance of
RowProcessor
. - 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
- findAll(String) - Static method in class org.javalite.activejdbc.Base
-
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(String, Object...) - 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.
- findByCompositeKeys(Class<T>, Object...) - 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
. - findById(Class<T>, Object) - Static method in class org.javalite.activejdbc.ModelDelegate
- findById(Object) - Static method in class org.javalite.activejdbc.Model
- findBySql(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
- findBySQL(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Free form query finder.
- 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(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
- findFirst(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Synonym of
Model.first(String, Object...)
. - findOrCreateIt(Class<T>, boolean, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
- findOrCreateIt(Class<T>, 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.
- findOrInit(Class<T>, 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.
- 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(Class<M>, ModelListener<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
- findWith(ModelListener, String, Object...) - Static method in class org.javalite.activejdbc.Model
-
This method is for processing really large result sets.
- 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(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) - 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.
- flash(String, Object) - Method in class org.javalite.activeweb.HttpSupport
-
Sends value to flash.
- flash(Map) - Method in class org.javalite.activeweb.HttpSupport
-
Flash method to display multiple flash messages.
- 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) - Method in class org.javalite.activejdbc.cache.CacheManager
-
Flashes cache.
- flush(CacheEvent, boolean) - Method in class org.javalite.activejdbc.cache.CacheManager
-
Flashes cache.
- flushBuffer() - Method in class org.javalite.activeweb.HttpServletResponseProxy
- foo() - Method in class org.javalite.activeweb.EndpointFinder
- forActions(String...) - Method in class org.javalite.activeweb.AbstractControllerConfig.FilterBuilder
-
Adds a list of actions for which filters are configured.
- foreignKeyName() - Element in annotation interface org.javalite.activejdbc.annotations.BelongsTo
- foreignKeyName() - Element in annotation interface org.javalite.activejdbc.annotations.HasMany
-
Foreign key column name in child table.
- format - Variable in class org.javalite.activeweb.mojo.GenerateMojo
-
Format, such as JSON or YAML
- format() - Method in interface org.javalite.activeweb.RequestAccess
-
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 - Enum Class in org.javalite.activeweb
- formatMessage(Locale, Object...) - Method in class org.javalite.validation.DateValidator
- formatMessage(Locale, Object...) - Method in class org.javalite.validation.length.AttributeLengthValidator
- formatMessage(Locale, Object...) - Method in class org.javalite.validation.RangeValidator
- formatMessage(Locale, Object...) - Method in class org.javalite.validation.TimestampValidator
- formatMessage(Locale, Object...) - Method in interface org.javalite.validation.Validator
-
Formats a message with locale.
- formatMessage(Locale, Object...) - Method in class org.javalite.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() - Constructor for class org.javalite.http.FormField
- FormField(String, String) - Constructor for class org.javalite.http.FormField
- 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.
- 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.
- 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.H2Dialect
-
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.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
- FORWARD_ONLY - Enum constant in enum class org.javalite.activejdbc.RowProcessor.ResultSetType
- 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
-
Synonym for
Model.isFrozen()
. - FrozenException - Exception in org.javalite.activejdbc
- FrozenException(Model) - Constructor for exception org.javalite.activejdbc.FrozenException
- fullUrl() - Static method in class org.javalite.db_migrator.JdbcPropertiesOverride
G
- 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.
- generate(String, EndpointFinder, Format) - Method in class org.javalite.activeweb.mojo.Generator
- 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.
- GenerateMojo - Class in org.javalite.activeweb.mojo
- GenerateMojo() - Constructor for class org.javalite.activeweb.mojo.GenerateMojo
- generateText() - Static method in class org.javalite.activeweb.Captcha
-
Generates a random alpha-numeric string of eight characters.
- Generator - Class in org.javalite.activeweb.mojo
- Generator() - Constructor for class org.javalite.activeweb.mojo.Generator
- get() - Static method in class org.javalite.activeweb.async.Host
- get() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP GET method.
- get(int) - Method in class org.javalite.activejdbc.AbstractLazyList
- 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(Object) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Gets an object from context - by name.
- get(Object) - Method in class org.javalite.activeweb.SessionFacade
-
Retrieve object from session.
- get(Object) - Method in class org.javalite.app_config.AppConfig
- get(Object) - Method in class org.javalite.json.JSONMap
-
Returns an object deep from the structure of a JSON document.
- get(Object) - Method in class org.javalite.validation.Errors
-
Provides a message from a resource bundle
activejdbc_messages
. - get(String) - Method in class org.javalite.activejdbc.Model
-
Returns a value for attribute.
- get(String) - Method in class org.javalite.activeweb.AppContext
-
Retrieves object by name
- get(String) - Static method in class org.javalite.activeweb.Configuration
- 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.SessionTestFacade
-
Retrieve object from session.
- get(String) - Static method in class org.javalite.http.Http
-
Executes a GET request.
- get(String) - Method in class org.javalite.json.JSONBase
-
Returns a value of a deep attribute.
- get(String) - Method in interface org.javalite.validation.Validatable
-
Used by validators to get values
- get(String) - Method in class org.javalite.validation.ValidationSupport
-
Returns a value of an attribute.
- get(String, int, int) - Static method in class org.javalite.http.Http
-
Executes a GET request
- get(String, Class<T>) - Static method in class org.javalite.activeweb.AppContext
-
Retrieves object by name.
- get(String, Class<T>) - Method in class org.javalite.activeweb.SessionFacade
-
Convenience method, will do internal check for null and then cast.
- get(String, Class<T>) - Method in class org.javalite.activeweb.SessionTestFacade
-
Convenience method, will do internal check for null and then cast.
- get(String, Object...) - Method in class org.javalite.validation.Errors
-
Provides a message from the resource bundle
activejdbc_messages
which is merged with parameters. - 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 - Enum constant in enum class org.javalite.activeweb.HttpMethod
- GET - Annotation Interface in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP GET request.
- getActionMethod() - Method in class org.javalite.activeweb.Route
- getActionMethodName() - Method in class org.javalite.activeweb.EndPointDefinition
- 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.
- getAnnotatedEndpointClasses(Set<Class<?>>) - Method in class org.javalite.activeweb.websockets.WebsocketConfigProvider
- getAPIAsMap() - Method in class org.javalite.activeweb.EndPointHttpMethod
- getAppEndpointClass(String) - Static method in class org.javalite.activeweb.Configuration
- getArgumentClass() - Method in class org.javalite.activeweb.Route
- getArgumentClassName() - Method in class org.javalite.activeweb.EndPointDefinition
- getArray(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as
java.sql.Array
. - getAsProperty(String) - Static method in class org.javalite.app_config.AppConfig
-
Returns property instance corresponding to key.
- getAssociationForTarget(Class<? extends Model>) - Method in class org.javalite.activejdbc.MetaModel
-
Returns association of this table with the target table.
- getAssociationForTarget(Class<? extends Model>, Class<A>) - 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
andrecord_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
- getAutoCommit() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- getAvg() - Method in class org.javalite.activejdbc.statistics.QueryStats
- getBatchReceiver(String, long) - Method in class org.javalite.async.Async
-
Generate a
BatchReceiver
to receive and process stored messages. - getBigDecimal(int) - Method in class org.javalite.json.JSONList
- getBigDecimal(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as
java.math.BigDecimal
. - getBigDecimal(String) - Method in class org.javalite.json.JSONBase
- getBigDecimal(String) - Method in class org.javalite.json.JSONMap
- getBoolean(int) - Method in class org.javalite.json.JSONList
- getBoolean(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as
Boolean
. - getBoolean(String) - Method in class org.javalite.json.JSONBase
- getBoolean(String) - Method in class org.javalite.json.JSONMap
- getBootstrapClassName() - Static method in class org.javalite.activeweb.Configuration
- getBufferSize() - Method in class org.javalite.activeweb.HttpServletResponseProxy
- getBytes() - Method in class org.javalite.activeweb.FormItem
-
Reads contents of a file into a byte array at once.
- getBytes(String) - Method in class org.javalite.activejdbc.Model
-
Gets a value as bytes.
- 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 class org.javalite.activejdbc.cache.QueryCache
- getCacheManager() - Method in class org.javalite.activejdbc.Configuration
- getCatalog() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- getCauseMessage(Throwable) - Static method in class org.javalite.common.Util
-
This is stolen...ehrr...
- getCharacterEncoding() - Method in class org.javalite.activeweb.HttpServletResponseProxy
- getClazz() - Method in class org.javalite.test.jspec.ExceptionExpectation
- getClazz(String) - Method in class org.javalite.instrumentation.InstrumentationModelFinder
- getClientInfo() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- getClientInfo(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- 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.
- getCombinedClassLoader(MavenProject) - Static method in class org.javalite.activeweb.mojo.ClassPathUtil
- 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.cassandra.jdbc.CassandraURI
- getConfigFile() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- getConfiguration() - Method in enum class org.javalite.activejdbc.Registry
- getConfiguration() - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
- getConnection() - Method in class org.javalite.activejdbc.DB
-
Synonym of
DB.connection()
for people who like getters. - getConnection() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getConnection() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getConnectionConfigs(String) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
-
Provides a list of all connection configs corresponding to a given environment.
- getConnectionConfigsExceptTesting(String) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
-
Returns all connections which correspond dbName and current environment
- getConnectionConfigsForCurrentEnv() - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
-
Provides a list of all connection configs corresponding to a current 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.ConnectionJndiConfig
- getContext() - Method in class org.javalite.activeweb.AppIntegrationSpec
-
Returns instance of
AppContext
- 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
- getControllerClass() - Method in class org.javalite.activeweb.RouteBuilder
- getControllerClassInfos(ClassLoader) - Static method in class org.javalite.activeweb.Configuration
-
Returns a list of controllers that are reachable and not abstract.
- getControllerClassName() - Method in class org.javalite.activeweb.ControllerSpec
- getControllerClassName() - Method in class org.javalite.activeweb.EndPointDefinition
- getControllerClassName() - Method in class org.javalite.activeweb.Route
-
This is used in specs
- getControllerClassName(String) - Static method in class org.javalite.activeweb.ControllerFactory
-
Expected paths: /controller, /package/controller, /package/package2/controller, /package/package2/package3/controller, etc.
- 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(Class<T>) - Static method in class org.javalite.activeweb.Router
-
Generates a path to a controller based on its package and class name.
- getControllerPath(String, String) - Static method in class org.javalite.activeweb.Router
- getControllerPathByURI(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.
- getCurrentEnvironment() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- getCurrentMergeProperties() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- 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.
- getCustomEndpointDefinitions(Format) - Method in class org.javalite.activeweb.EndpointFinder
- getDatabaseName(CtClass) - Static method in class org.javalite.instrumentation.Instrumentation
- getDataSource() - Method in class org.javalite.activejdbc.connection_config.ConnectionDataSourceConfig
- getDataSourceJndiName() - Method in class org.javalite.activejdbc.connection_config.ConnectionJndiConfig
- getDate(int) - Method in class org.javalite.json.JSONList
- getDate(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as
java.sql.Date
. - getDate(String) - Method in class org.javalite.json.JSONBase
- getDate(String) - Method in class org.javalite.json.JSONMap
- getDbConfigClassName() - Static method in class org.javalite.activeweb.Configuration
- getDbName() - Method in class org.javalite.activejdbc.connection_config.ConnectionConfig
- 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
-
Returns a
Base64.Decoder
that decodes using the Basic type base64 encoding scheme. - getDefaultLayout() - Static method in class org.javalite.activeweb.Configuration
- getDialect() - Method in class org.javalite.activejdbc.MetaModel
- getDialect(String) - Static method in class org.javalite.activejdbc.dialects.Dialects
- getDispatcherType() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
- getDisplayControllerMethod() - Method in class org.javalite.activeweb.EndPointDefinition
- getDomain() - Method in class org.javalite.activeweb.Cookie
- getDouble(int) - Method in class org.javalite.json.JSONList
- getDouble(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as
Double
. - getDouble(String) - Method in class org.javalite.json.JSONBase
- getDouble(String) - Method in class org.javalite.json.JSONMap
- getDriver() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
- 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 class org.javalite.activejdbc.Registry
-
Returns edges for a join.
- getEncoder() - Static method in class org.javalite.common.Base64
-
Returns a
Base64.Encoder
that encodes using the Basic type base64 encoding scheme. - 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
- getEndpointClass() - Method in class org.javalite.activeweb.websockets.AbstractWebSocketConfig.EndpointMapping
- getEndpointConfigs(Set<Class<? extends Endpoint>>) - Method in class org.javalite.activeweb.websockets.WebsocketConfigProvider
- getEndpointMethods() - Method in class org.javalite.activeweb.EndPointDefinition
- getEnvironment() - Method in class org.javalite.activejdbc.connection_config.ConnectionConfig
- getEnvironments() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- getExpected() - Method in class org.javalite.test.jspec.DifferenceExpectation
- getFetchDirection() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getFetchDirection() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getFetchSize() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getFetchSize() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getField(String, Class) - Static method in class org.javalite.common.Util
-
Gets a field from a class.
- getFieldName() - Method in class org.javalite.activeweb.FormItem
-
Form field name.
- getFile() - Method in class org.javalite.http.FileField
- getFile(String, List<FormItem>) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method to get file content from
multipart/form-data
request. - getFileItems() - Method in class org.javalite.activeweb.MultipartForm
- 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(int) - Method in class org.javalite.json.JSONList
- getFloat(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as
Float
. - getFloat(String) - Method in class org.javalite.json.JSONBase
- getFloat(String) - Method in class org.javalite.json.JSONMap
- getFormItemIterator() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
- getFormItems() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
- getFormItems() - Method in class org.javalite.activeweb.MultipartForm
- 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.
- getGeneratedKeys() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getGeneratedKeys() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- 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
- getHoldability() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- getHttpMethod() - Method in class org.javalite.activeweb.EndPointHttpMethod
- getHttpMethod() - Method in class org.javalite.activeweb.Route
- getHttpMethodAPI() - Method in class org.javalite.activeweb.EndPointHttpMethod
- getHTTPMethods() - Method in class org.javalite.activeweb.EndPointDefinition
- 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. - getHttpSession() - Method in class org.javalite.activeweb.websockets.AppEndpoint
- getId() - Method in class org.javalite.activejdbc.Model
-
Value of ID.
- getId() - Method in interface org.javalite.activeweb.RequestAccess
-
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(int) - Method in class org.javalite.json.JSONList
- getInteger(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as
Integer
. - getInteger(String) - Method in class org.javalite.json.JSONBase
- getInteger(String) - Method in class org.javalite.json.JSONMap
- getItem(String, String, Object[]) - Method in enum class org.javalite.activejdbc.cache.QueryCache
-
Returns an item from cache, or null if nothing found.
- getJMSMessageID() - Method in class org.javalite.async.Command
- getJoin() - Method in class org.javalite.activejdbc.associations.Many2ManyAssociation
- getJSONList(String) - Method in class org.javalite.activejdbc.Model
-
Helper method.
- getJSONMap(String) - Method in class org.javalite.activejdbc.Model
-
Helper method.
- 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
- getKeyspace() - Method in class org.javalite.cassandra.jdbc.CassandraURI
- 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. - 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 class org.javalite.activejdbc.logging.LogLevel
- getLevel() - Method in class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
- getList(int) - Method in class org.javalite.json.JSONList
-
Returns a
JSONList
at a provided index. - getList(String) - Method in class org.javalite.json.JSONBase
-
Returns a list deep from the structure of a JSON document.
- getList(String) - Method in class org.javalite.json.JSONMap
-
Returns a list deep from the structure of JSON document.
- getListenerCount() - Method in class org.javalite.async.QueueConfig
- getLocalDateTime(String) - Method in class org.javalite.activejdbc.Model
- getLocale() - Method in class org.javalite.activeweb.HttpServletResponseProxy
- getLocale() - Method in interface org.javalite.activeweb.RequestAccess
-
Same as
RequestAccess.locale()
. - getLogHeaders() - Static method in class org.javalite.activeweb.Configuration
- getLong(int) - Method in class org.javalite.json.JSONList
- getLong(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as
Long
. - getLong(String) - Method in class org.javalite.json.JSONBase
- getLong(String) - Method in class org.javalite.json.JSONMap
- getLongId() - Method in class org.javalite.activejdbc.Model
-
Convenience method: converts ID value to Long and returns it.
- getMajorVersion() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCDriver
- getManyToManyAssociations(Association...) - Method in class org.javalite.activejdbc.MetaModel
- getMap(int) - Method in class org.javalite.json.JSONList
-
Returns a JSONMap at a provided index.
- 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) - Method in class org.javalite.json.JSONBase
-
Returns a map deep from the structure of JSON document.
- getMap(String) - Method in class org.javalite.json.JSONMap
-
Returns a map deep from the structure of a JSON document.
- 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. - getMappings() - Method in class org.javalite.activeweb.websockets.AbstractWebSocketConfig
- getMax() - Method in class org.javalite.activejdbc.statistics.QueryStats
- getMaxAge() - Method in class org.javalite.activeweb.Cookie
- getMaxFieldSize() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getMaxFieldSize() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getMaxRows() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getMaxRows() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getMaxUploadSize() - Static method in class org.javalite.activeweb.Configuration
- getMergeProperties() - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- getMessage() - Method in exception org.javalite.activejdbc.associations.NotAssociatedException
- getMessage() - Method in exception org.javalite.activeweb.ActionNotFoundException
- 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
- getMessage() - Method in exception org.javalite.validation.ValidationException
- getMessage() - Method in class org.javalite.validation.ValidatorAdapter
- 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.validation.length.Exact
- getMessageParameters() - Method in interface org.javalite.validation.length.LengthOption
- getMessageParameters() - Method in class org.javalite.validation.length.Max
- getMessageParameters() - Method in class org.javalite.validation.length.Min
- getMessageParameters() - Method in class org.javalite.validation.length.Range
- getMetaData() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- getMetaData() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getMetaModel() - Static method in class org.javalite.activejdbc.Model
-
Provides
MetaModel
object related to this model class. - getMetaModel(Class<? extends Model>) - Method in enum class org.javalite.activejdbc.Registry
- getMetaModel(String) - Method in enum class org.javalite.activejdbc.Registry
-
Provides a MetaModel of a model representing a table.
- getMethod() - Method in class org.javalite.http.Delete
- getMethod() - Method in class org.javalite.http.Get
- getMethod() - Method in class org.javalite.http.Multipart
- getMethod() - Method in class org.javalite.http.Patch
- getMethod() - Method in class org.javalite.http.Post
- getMethod() - Method in class org.javalite.http.Put
- getMethod() - Method in class org.javalite.http.Request
- getMethods() - Method in class org.javalite.activeweb.RouteBuilder
- getMigrationsPath() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
- getMimeDecoder() - Static method in class org.javalite.common.Base64
-
Returns a
Base64.Decoder
that decodes using the MIME type base64 decoding scheme. - getMimeEncoder() - Static method in class org.javalite.common.Base64
-
Returns a
Base64.Encoder
that encodes using the MIME type base64 encoding scheme. - 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
- getMinorVersion() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCDriver
- getModelClass() - Method in class org.javalite.activejdbc.MetaModel
- getModelClass(String, boolean) - Method in enum class org.javalite.activejdbc.Registry
-
Returns model class for a table name, null if not found.
- getModelFile() - Method in enum class org.javalite.activejdbc.Registry
- getModels() - Method in class org.javalite.instrumentation.InstrumentationModelFinder
- getModelsForDb(String) - Static method in class org.javalite.activejdbc.ModelFinder
- getMoreResults() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getMoreResults() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getMoreResults(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getMoreResults(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- 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
- getNamedMethods(Class<? extends AppController>, String) - Static method in class org.javalite.activeweb.RouteUtil
-
Gets methods matching an action name.
- getNetworkTimeout() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- getNext() - Method in class org.javalite.activejdbc.Paginator
-
Synonym for
Paginator.hasNext()
. - getNext() - Method in class org.javalite.activejdbc.RawPaginator
-
Synonym for
RawPaginator.hasNext()
. - getOneToManyAssociations(Association...) - Method in class org.javalite.activejdbc.MetaModel
- getOpenAPIDocs(String, Format) - Method in class org.javalite.activeweb.EndpointFinder
- 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() - Method in class org.javalite.activejdbc.Paginator
- getPage(int) - Method in class org.javalite.activejdbc.Paginator
-
This method will return a list of records for a specific page.
- 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
- getParameterMetaData() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getParametrizedMessage() - Method in class org.javalite.validation.length.Exact
- getParametrizedMessage() - Method in interface org.javalite.validation.length.LengthOption
- getParametrizedMessage() - Method in class org.javalite.validation.length.Max
- getParametrizedMessage() - Method in class org.javalite.validation.length.Min
- getParametrizedMessage() - Method in class org.javalite.validation.length.Range
- getParentClassName() - Method in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
- getParentLogger() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCDriver
- 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.ConnectionJdbcConfig
- 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
- getPath() - Method in class org.javalite.activeweb.EndPointDefinition
- 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
-
Synonym for
Paginator.hasPrevious()
. - getPrevious() - Method in class org.javalite.activejdbc.RawPaginator
-
Synonym for
RawPaginator.hasPrevious()
. - getProject() - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
- 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
- getPropertyInfo(String, Properties) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCDriver
- getProps() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
- getQuery() - Method in class org.javalite.activejdbc.statistics.QueryExecutionEvent
- getQuery() - Method in class org.javalite.activejdbc.statistics.QueryStats
- getQueryTimeout() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getQueryTimeout() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- 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 interface org.javalite.activeweb.RequestAccess
-
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 interface org.javalite.activeweb.RequestAccess
-
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() - Method in interface org.javalite.activeweb.RequestAccess
- getRequestProtocol() - Method in interface org.javalite.activeweb.RequestAccess
-
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
-
Alias to
HttpSupport.getRequestInputStream()
. - 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
- getResultSet() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getResultSet() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getResultSetConcurrency() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getResultSetConcurrency() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getResultSetHoldability() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getResultSetHoldability() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getResultSetType() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getResultSetType() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getRootPackage() - Static method in class org.javalite.activeweb.Configuration
- getRoute() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns instance of
Route
to be used for potential conditional logic inside controller filters. - getRouteConfig() - Method in class org.javalite.activeweb.RouteBuilder
- getRouteConfigClassName() - Static method in class org.javalite.activeweb.Configuration
- getRoutes() - Method in class org.javalite.activeweb.AbstractRouteConfig
- getSassArguments() - Method in class org.javalite.sass.maven.SassConfig
- getSASSArguments() - Method in class org.javalite.activeweb.controllers.AbstractSASSController
-
Subclass should override this method if they want to provide custom list of arguments to SASS compiler.
- getSASSFile() - Method in class org.javalite.activeweb.controllers.AbstractSASSController
-
Subclass should return a file handle pointing to the main SASS file.
- getSassMain() - Method in class org.javalite.sass.maven.SassConfig
- getSchema() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- getSession() - Method in class org.javalite.activeweb.SessionTestFacade
- getSession() - Method in class org.javalite.activeweb.websockets.AppEndpoint
- getSession() - Method in class org.javalite.async.SessionPool
- getShort(int) - Method in class org.javalite.json.JSONList
- getShort(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as
Short
. - getShort(String) - Method in class org.javalite.json.JSONBase
- getShort(String) - Method in class org.javalite.json.JSONMap
- getSource() - Method in class org.javalite.activejdbc.cache.CacheEvent
- getSourceClass() - Method in class org.javalite.activejdbc.associations.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.
- getStandardEndpointDefinitions(Format) - Method in class org.javalite.activeweb.EndpointFinder
- getStatisticsQueue() - Method in enum class 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(int) - Method in class org.javalite.json.JSONList
- getString(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as
String
. - getString(String) - Method in class org.javalite.json.JSONBase
- getString(String) - Method in class org.javalite.json.JSONMap
- 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 class org.javalite.activejdbc.Registry
- getTag(String) - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
-
Returns an instance of
FreeMarkerTag
. - getTag(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
-
Returns an instance of
FreeMarkerTag
. - 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.associations.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
- getTargetDirectory() - Method in class org.javalite.sass.maven.SassConfig
- getTargetFileName() - Method in class org.javalite.lessc.maven.LessConfig
- getTargetFileName() - Method in class org.javalite.sass.maven.SassConfig
- 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
- getTestConnectionConfigs() - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
- getTime() - Method in class org.javalite.activejdbc.statistics.QueryExecutionEvent
- getTime(String) - Method in class org.javalite.activejdbc.Model
-
Gets attribute value as
java.sql.Time
. - 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
- getTransactionIsolation() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- 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
- getTypeMap() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- 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
- getUpdateCount() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getUpdateCount() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getUri() - Method in class org.javalite.activeweb.websockets.AbstractWebSocketConfig.EndpointMapping
- getUrl() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
- 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
-
Returns a
Base64.Decoder
that decodes using the URL and Filename safe type base64 encoding scheme. - getUrlEncoder() - Static method in class org.javalite.common.Base64
-
Returns a
Base64.Encoder
that encodes using the URL and Filename safe type base64 encoding scheme. - getUser() - Method in class org.javalite.activejdbc.connection_config.ConnectionJdbcConfig
- 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.
- getValidators(Class<? extends Model>) - Static method in class org.javalite.activejdbc.Model
- getValue() - Method in enum class org.javalite.activejdbc.RowProcessor.ResultSetConcur
- getValue() - Method in enum class org.javalite.activejdbc.RowProcessor.ResultSetType
- 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
- getVersionColumn() - Method in class org.javalite.activejdbc.MetaModel
- getWarnings() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- getWarnings() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- getWarnings() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- getWildcardName() - Method in class org.javalite.activeweb.RouteBuilder
- getWildCardValue() - Method in class org.javalite.activeweb.RouteBuilder
- getWriter() - Method in class org.javalite.activeweb.HttpServletResponseProxy
- greaterThan(double) - Method in class org.javalite.validation.NumericValidationBuilder
-
Specify a lower bound for a value, not inclusive.
- GroovyMigration - Class in org.javalite.db_migrator
- GroovyMigration(MavenProject, String, File, Properties) - Constructor for class org.javalite.db_migrator.GroovyMigration
- GROUP - Enum constant in enum class org.javalite.activejdbc.cache.CacheEvent.CacheEventType
-
This type means that only a cache for a specific group (table) needs to be cleared.
- 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.
H
- H2 - Enum constant in enum class org.javalite.db_migrator.DatabaseType
- 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
- hasArgument() - Method in class org.javalite.activeweb.Route
- 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.associations.Association
- hashCode() - Method in class org.javalite.app_config.Property
- hashCode() - Method in class org.javalite.validation.AttributePresenceValidator
- HasManies - Annotation Interface in org.javalite.activejdbc.annotations
- HasMany - Annotation Interface 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
- hasOpenAPI() - Method in class org.javalite.activeweb.EndPointDefinition
- 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 - Enum constant in enum class org.javalite.activeweb.HttpMethod
- HEAD - Annotation Interface in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP HEAD request.
- header(String) - Method in interface org.javalite.activeweb.RequestAccess
-
Returns a request header by name.
- header(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns header set by controller or filter.
- 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
-
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, 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 interface org.javalite.activeweb.RequestAccess
-
Returns all headers from a request keyed by header name.
- headers() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns all headers set by controller or filter.
- headers() - Method in class org.javalite.http.Request
-
Returns HTTP headers as sent by server.
- headers(String...) - Method in class org.javalite.activeweb.RequestBuilder
-
Convenience method to set names and values for headers.
- HeadersLogFilter - Class in org.javalite.activeweb.controller_filters
-
Use this filter to log HTTP request (and response) headers to a log system.
- HeadersLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.HeadersLogFilter
-
Creates a filter with default "INFO" level.
- 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.
- HelpMojo - Class in org.javalite.activeweb.mojo
- HelpMojo - Class in org.javalite.db_migrator.maven
- HelpMojo() - Constructor for class org.javalite.activeweb.mojo.HelpMojo
- HelpMojo() - Constructor for class org.javalite.db_migrator.maven.HelpMojo
- host() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns local host name on which request was received.
- Host - Class in org.javalite.activeweb.async
- HSQL - Enum constant in enum class org.javalite.db_migrator.DatabaseType
- html(String) - Static method in class org.javalite.common.Escape
-
Escapes HTML.
- html(StringBuilder, String) - Static method in class org.javalite.common.Escape
-
Escapes HTML appending to StringBuilder.
- HTML - Class in org.javalite.activeweb
- HTML() - Constructor for class org.javalite.activeweb.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) - Constructor for exception org.javalite.http.HttpException
- HttpException(String, Throwable) - Constructor for exception org.javalite.http.HttpException
- HttpException(Throwable) - Constructor for exception org.javalite.http.HttpException
- HttpMethod - Enum Class in org.javalite.activeweb
-
This class is mostly used by the framework.
- 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() - Method in class org.javalite.activejdbc.SuperLazyList
- hydrate(Map<String, Object>, boolean) - Method in class org.javalite.activejdbc.Model
-
Hydrates a this instance of model from a map.
I
- id() - Method in class org.javalite.activeweb.SessionFacade
-
Returns a session ID from underlying session.
- id(Object) - Method in class org.javalite.activeweb.RequestBuilder
-
Sets ID for this request.
- IdGenerator - Annotation Interface in org.javalite.activejdbc.annotations
- IdName - Annotation Interface 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.
- ImplicitConversionValidator - Class in org.javalite.validation
-
As the name implies, it is implicit, and used internally by ActiveWeb when converting request values into Java beans.
- ImplicitConversionValidator(String) - Constructor for class org.javalite.validation.ImplicitConversionValidator
- 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
- index() - Method in class org.javalite.activeweb.controllers.AbstractSASSController
- 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
- INFO - Enum constant in enum class org.javalite.activejdbc.logging.LogLevel
- INFO - Enum constant in enum class org.javalite.activeweb.controller_filters.AbstractLoggingFilter.Level
- init() - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
-
Called by framework during initialization.
- init() - Method in class org.javalite.activeweb.websockets.AbstractWebSocketConfig
- init() - Static method in class org.javalite.app_config.AppConfig
- init(String) - Method in class org.javalite.activejdbc.RegistryProxy
- init(FilterConfig) - Method in class org.javalite.activejdbc.web.ActiveJdbcFilter
- init(FilterConfig) - Method in class org.javalite.activeweb.RequestDispatcher
- init(AppContext) - Method in class org.javalite.activeweb.Bootstrap
-
Called when application bootstraps.
- init(AppContext) - Method in interface org.javalite.activeweb.InitConfig
- 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 - Exception in org.javalite.activeweb
- InitException() - Constructor for exception org.javalite.activejdbc.InitException
- InitException(String) - Constructor for exception org.javalite.activejdbc.InitException
- InitException(String) - Constructor for exception org.javalite.activeweb.InitException
- InitException(String, Throwable) - Constructor for exception org.javalite.activejdbc.InitException
- InitException(String, Throwable) - Constructor for exception org.javalite.activeweb.InitException
- InitException(Throwable) - Constructor for exception org.javalite.activejdbc.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.
- injector(Injector) - Method in class org.javalite.async.Async.AsyncBuilder
- insert() - Method in class org.javalite.activejdbc.Model
-
This method will save a model as new.
- 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
- 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
- insertParametrized(MetaModel, List<String>, boolean) - Method in class org.javalite.activejdbc.dialects.PostgreSQLDialect
- instance() - Static method in enum class org.javalite.activejdbc.cache.QueryCache
-
This class is a singleton, get an instance with this method.
- 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 class org.javalite.activejdbc.Registry
- instance() - Static method in enum class org.javalite.conversion.BlankToNullConverter
- instance() - Static method in enum class org.javalite.conversion.ZeroToNullConverter
- INSTANCE - Enum constant in enum class org.javalite.activejdbc.cache.QueryCache
- INSTANCE - Enum constant in enum class org.javalite.activejdbc.Registry
- INSTANCE - Enum constant in enum class org.javalite.conversion.BlankToNullConverter
- INSTANCE - Enum constant in enum class org.javalite.conversion.ZeroToNullConverter
- 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(String) - Constructor for exception org.javalite.activejdbc.InternalException
- InternalException(Throwable) - 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.
- invoke(Object, Method, Object[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCResultSet
- ipAddress() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns local IP address on which request was received.
- ipForwardedFor() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns IP address that the web server forwarded request for.
- isAction(Method) - Static method in class org.javalite.activeweb.RouteUtil
-
1.
- 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
- isClosed() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- isClosed() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- isClosed() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- isCloseOnCompletion() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- isCloseOnCompletion() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- isCommitted() - Method in class org.javalite.activeweb.HttpServletResponseProxy
- isCustom() - Method in class org.javalite.activeweb.Route
- isCustomRoute() - Static method in class org.javalite.activeweb.RequestContext
- isDelete() - Method in interface org.javalite.activeweb.RequestAccess
-
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.activeweb.SessionFacade
- isEmpty() - Method in class org.javalite.app_config.AppConfig
- isEmpty() - Method in class org.javalite.validation.Errors
- isEnabled() - Method in enum class 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 interface org.javalite.activeweb.RequestAccess
-
True if this request uses HTTP GET method, false otherwise.
- isHead() - Method in interface org.javalite.activeweb.RequestAccess
-
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 interface org.javalite.activeweb.RequestAccess
- 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() - Method in interface org.javalite.activeweb.RequestAccess
- 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
- isPoolable() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- isPoolable() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- isPost() - Method in interface org.javalite.activeweb.RequestAccess
-
True if this request uses HTTP POST method, false otherwise.
- isPut() - Method in interface org.javalite.activeweb.RequestAccess
-
True if this request uses HTTP PUT method, false otherwise.
- isReadOnly() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- isSatisfied() - Method in interface org.javalite.common.Wait.Condition
- isSecure() - Method in class org.javalite.activeweb.Cookie
- isSelected() - Method in class org.javalite.activeweb.freemarker.SelectOption
- isStrictMode() - Method in class org.javalite.activeweb.EndpointFinder
- isTesting() - Method in class org.javalite.activejdbc.connection_config.ConnectionConfig
- 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.
- isValid() - Method in interface org.javalite.validation.Validatable
-
Implementation should call {#link validate()} internally.
- isValid() - Method in class org.javalite.validation.ValidationSupport
- isValid(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- 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.RouteBuilder
- isWrapperFor(Class<?>) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- isWrapperFor(Class<?>) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- isWrapperFor(Class<?>) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- isXhr() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns true if this request is Ajax.
- it(T) - Static method in class org.javalite.test.jspec.JSpec
-
Works the same way as methods
JSpec.the(Object)
orJSpec.a(Object)
, but takes generalized instance as parameter. - it(T) - Method in interface org.javalite.test.jspec.JSpecSupport
-
Wrapper for
JSpec.it(T)
- iterator() - Method in class org.javalite.activejdbc.AbstractLazyList
J
- JavaAgent - Class in org.javalite.instrumentation
- jdbc(String, String, String, String) - Method in class org.javalite.activeweb.ConnectionBuilder
-
Configure standard JDBC parameters for opening a connection.
- jdbc(String, String, Properties) - Method in class org.javalite.activeweb.ConnectionBuilder
-
Configure expanded JDBC parameters for opening a connection if needed
- jdbcCompliant() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCDriver
- JdbcPropertiesOverride - Class in org.javalite.db_migrator
-
This class serves as a source of JDBC connection properties for different environments during tests.
- JdbcPropertiesOverride() - Constructor for class org.javalite.db_migrator.JdbcPropertiesOverride
- jndi(String) - Method in class org.javalite.activeweb.ConnectionBuilder
-
Provide a name of a JNDI datasource configured for runtime.
- join() - Element in annotation interface org.javalite.activejdbc.annotations.Many2Many
-
Name of a table used for joining records from other tables.
- join(String[], String) - Static method in class org.javalite.common.Util
-
Joins the items in array with a delimiter.
- join(StringBuilder, Object[], String) - Static method in class org.javalite.common.Util
-
Joins the items in array with a delimiter, and appends the result to StringBuilder.
- join(StringBuilder, Collection<?>, String) - Static method in class org.javalite.common.Util
-
Joins the items in collection with a delimiter, and appends the result to StringBuilder.
- join(Collection<?>, String) - Static method in class org.javalite.common.Util
-
Joins the items in collection with a delimiter.
- JOIN - Static variable in class org.javalite.activejdbc.associations.Many2ManyAssociation
- joinAndRepeat(StringBuilder, String, String, int) - Static method in class org.javalite.common.Util
-
Repeats string of characters a defined number of times with a delimiter, and appends result to StringBuilder.
- JSON - Enum constant in enum class org.javalite.activeweb.Format
- JSONBase - Class in org.javalite.json
-
This class is used access data from JSON immediately after parsing.
- JSONBase(String) - Constructor for class org.javalite.json.JSONBase
-
Parses a JSON document from a string and creates an internal structure.
- JSONBase(Map) - Constructor for class org.javalite.json.JSONBase
- JsonHelper - Class in org.javalite.common
-
Deprecated.
- JsonHelper() - Constructor for class org.javalite.common.JsonHelper
-
Deprecated.
- JSONHelper - Class in org.javalite.json
-
Convenience class to convert JSON strings to and from objects.
- JSONHelper() - Constructor for class org.javalite.json.JSONHelper
- jsonList() - Method in class org.javalite.activeweb.HttpSupport
-
Converts posted JSON array to a Java List.
- jsonList() - Method in class org.javalite.http.Request
-
Converts a server response to an instance of
JSONList
. - jsonList(String) - Method in class org.javalite.http.Request
-
Converts a server response to an instance of
JSONList
. - JSONList - Class in org.javalite.json
-
Represents a
java.util.List
as an object that fronts a chunk of a JSON object. - JSONList() - Constructor for class org.javalite.json.JSONList
- JSONList(String) - Constructor for class org.javalite.json.JSONList
- JSONList(List) - Constructor for class org.javalite.json.JSONList
- JSONListConverter - Class in org.javalite.async.xstream
- JSONListConverter(Mapper) - Constructor for class org.javalite.async.xstream.JSONListConverter
- JSONListEndpoint - Class in org.javalite.activeweb.websockets
- JSONListEndpoint() - Constructor for class org.javalite.activeweb.websockets.JSONListEndpoint
- JsonLog4j2Layout - Class in org.javalite.logging
-
Layout for log4j to emit JSON format, including exceptions.
- JsonLog4j2Layout() - Constructor for class org.javalite.logging.JsonLog4j2Layout
- JsonLog4j2Layout(Charset, String) - Constructor for class org.javalite.logging.JsonLog4j2Layout
- jsonMap() - Method in class org.javalite.activeweb.HttpSupport
-
Converts posted JSON map to a Java Map.
- jsonMap() - Method in class org.javalite.http.Request
-
Converts a server response to an instance of
JSONMap
. - jsonMap(String) - Method in class org.javalite.http.Request
-
Converts a server response to an instance of
JSONMap
. - JSONMap - Class in org.javalite.json
- JSONMap() - Constructor for class org.javalite.json.JSONMap
- JSONMap(String...) - Constructor for class org.javalite.json.JSONMap
-
Creates a ne instance from the array, where odd arguments are map keys and the even are values.
- JSONMap(Map) - Constructor for class org.javalite.json.JSONMap
- JSONMapConverter - Class in org.javalite.async.xstream
- JSONMapConverter(Mapper) - Constructor for class org.javalite.async.xstream.JSONMapConverter
- JSONMapEndpoint - Class in org.javalite.activeweb.websockets
- JSONMapEndpoint() - Constructor for class org.javalite.activeweb.websockets.JSONMapEndpoint
- jsonMaps() - Method in class org.javalite.activeweb.HttpSupport
-
Converts posted JSON maps to a Java Maps array.
- JSONParseException - Exception in org.javalite.json
- JSONParseException(String) - Constructor for exception org.javalite.json.JSONParseException
- JSONParseException(String, Throwable) - Constructor for exception org.javalite.json.JSONParseException
- JSONValidator - Class in org.javalite.json
-
Superclass for JSON validators.
- JSONValidator() - Constructor for class org.javalite.json.JSONValidator
- JSpec - Class in org.javalite.test.jspec
- JSpecSupport - Interface in org.javalite.test.jspec
-
This is a class to be extended to gain easy access to JSpec methods.
K
- keySet() - Method in class org.javalite.activeweb.SessionFacade
- keySet() - Method in class org.javalite.app_config.AppConfig
- keySet() - Method in class org.javalite.validation.Errors
L
- lastIndexOf(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
- layout() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Provides layout set after executing an action of a controller.
- layout(String) - Method in class org.javalite.activeweb.HttpSupport.RenderBuilder
-
Use this method to override a default layout configured.
- LazyList<T extends Model> - Class in org.javalite.activejdbc
-
While this class is public, it is never instantiated directly.
- LazyList() - Constructor for class org.javalite.activejdbc.LazyList
-
This is only used by SuperLazyList
- LazyList(boolean, MetaModel, String, Object...) - Constructor for class org.javalite.activejdbc.LazyList
- LazyList(String, MetaModel, Object...) - Constructor for class org.javalite.activejdbc.LazyList
- LengthOption - Interface in org.javalite.validation.length
-
Attribute Length validation option.
- LessConfig - Class in org.javalite.lessc.maven
- LessConfig() - Constructor for class org.javalite.lessc.maven.LessConfig
- lessThan(double) - Method in class org.javalite.validation.NumericValidationBuilder
-
Specify a upper bound for a value, not inclusive.
- li(T...) - Static method in class org.javalite.common.Collections
-
Create a list from values.
- limit(long) - Method in class org.javalite.activejdbc.LazyList
-
This method limits the number of results in the resultset.
- limit(long) - Method in class org.javalite.activejdbc.SuperLazyList
- LinkToTag - Class in org.javalite.activeweb.freemarker
-
This is a FreeMarker directive which is registered as
<@link_to ...
- LinkToTag() - Constructor for class org.javalite.activeweb.freemarker.LinkToTag
- list(T...) - Static method in class org.javalite.common.Collections
-
Create a list from values.
- listIterator() - Method in class org.javalite.activejdbc.AbstractLazyList
- listIterator(int) - Method in class org.javalite.activejdbc.AbstractLazyList
- ListValidator - Class in org.javalite.json
- ListValidator(String) - Constructor for class org.javalite.json.ListValidator
- load() - Method in class org.javalite.activejdbc.LazyList
-
This method exists to force immediate load from DB.
- load() - Method in class org.javalite.activejdbc.SuperLazyList
- loadConfiguration(String) - Static method in class org.javalite.activejdbc.connection_config.DBConfiguration
-
Configures multiple database connections from a single property file.
- locale() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns locale of request.
- locale(Locale) - Method in class org.javalite.activeweb.HttpSupport
- log(String) - Method in class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
- log(Logger, LogLevel, String) - Method in interface org.javalite.activejdbc.logging.ActiveJDBCLogger
- log(Logger, LogLevel, String) - Static method in class org.javalite.activejdbc.logging.LogFilter
- log(Logger, LogLevel, String, Object) - Method in interface org.javalite.activejdbc.logging.ActiveJDBCLogger
- log(Logger, LogLevel, String, Object) - Static method in class org.javalite.activejdbc.logging.LogFilter
- log(Logger, LogLevel, String, Object...) - Method in interface org.javalite.activejdbc.logging.ActiveJDBCLogger
- log(Logger, LogLevel, String, Object...) - Static method in class org.javalite.activejdbc.logging.LogFilter
- log(Logger, LogLevel, String, Object, Object) - Method in interface org.javalite.activejdbc.logging.ActiveJDBCLogger
- log(Logger, LogLevel, String, Object, Object) - Static method in class org.javalite.activejdbc.logging.LogFilter
- log(Logger, LogLevel, Supplier<String>) - Method in interface org.javalite.activejdbc.logging.ActiveJDBCLogger
-
Default implementation of lazy log message building for backward compatibility.
- log(Logger, LogLevel, Supplier<String>) - Static method in class org.javalite.activejdbc.logging.LogFilter
- Log - Class in org.javalite.instrumentation
- Log() - Constructor for class org.javalite.instrumentation.Log
- logAtLevel(AbstractLoggingFilter.Level) - Method in class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
-
Sets a log level at run time if needed.
- logDebug(String) - Method in class org.javalite.activeweb.HttpSupport
- logDebug(String) - Method in class org.javalite.activeweb.websockets.AppEndpoint
- logError(String) - Method in class org.javalite.activeweb.HttpSupport
- logError(String) - Method in class org.javalite.activeweb.websockets.AppEndpoint
- logError(String, Throwable) - Method in class org.javalite.activeweb.HttpSupport
- logError(String, Throwable) - Method in class org.javalite.activeweb.websockets.AppEndpoint
- logError(Throwable) - Method in class org.javalite.activeweb.HttpSupport
- logError(Throwable) - Method in class org.javalite.activeweb.websockets.AppEndpoint
- LogFilter - Class in org.javalite.activejdbc.logging
- logger() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Provides a logger to a subclass.
- Logger - Class in org.javalite.instrumentation
- Logger() - Constructor for class org.javalite.instrumentation.Logger
- LOGGER - Static variable in interface org.javalite.activeweb.RequestAccess
- logHeaders(String...) - Static method in class org.javalite.activeweb.Configuration
-
Provide names of headers to log to the log system with each request.
- logInfo(String) - Method in class org.javalite.activeweb.HttpSupport
- logInfo(String) - Method in class org.javalite.activeweb.websockets.AppEndpoint
- LogLevel - Enum Class in org.javalite.activejdbc.logging
- logQuery(Logger, String, Object[], long) - Static method in class org.javalite.activejdbc.logging.LogFilter
-
Logs a query information to the log system
- logQuery(Logger, String, Object[], long, boolean) - Static method in class org.javalite.activejdbc.logging.LogFilter
-
Logs a query information to the log system without time
- logRequestParams() - Static method in class org.javalite.activeweb.Configuration
- logWarning(String) - Method in class org.javalite.activeweb.HttpSupport
- logWarning(String) - Method in class org.javalite.activeweb.websockets.AppEndpoint
- logWarning(String, Throwable) - Method in class org.javalite.activeweb.HttpSupport
- logWarning(String, Throwable) - Method in class org.javalite.activeweb.websockets.AppEndpoint
M
- main(String[]) - Static method in class org.javalite.common.TablePrinter
- 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(String[]) - Static method in class org.javalite.instrumentation.Main
- Main - Class in org.javalite.instrumentation
- Main() - Constructor for class org.javalite.instrumentation.Main
- manageTime(boolean) - Method in class org.javalite.activejdbc.Model
-
Turns off automatic management of time-related attributes
created_at
andupdated_at
. - Many2Manies - Annotation Interface in org.javalite.activejdbc.annotations
- Many2Many - Annotation Interface 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(Class<? extends Model>, Class<? extends Model>, String, String, String) - 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(Map<String, Object>) - 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.
- MapValidator - Class in org.javalite.json
-
Validates that an object at a deep path in teh JSIN structure is an instance of a
java.util.Map
. - MapValidator(String) - Constructor for class org.javalite.json.MapValidator
- MARIADB - Enum constant in enum class org.javalite.db_migrator.DatabaseType
- matches(String) - Method in enum class org.javalite.activeweb.Format
- 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.validation.length
-
The attribute length must be less than or equal to the given value.
- merge(String, Map) - Method in class org.javalite.activeweb.HttpSupport
-
Will merge a template and return resulting string.
- merge(Map<String, ?>) - Method in class org.javalite.common.Templator
-
This method is used in repeated operations, since it will load a resource once.
- merge(Map<String, Object>, String, Writer, boolean) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
- merge(Map<String, Object>, String, Writer, boolean) - Method in class org.javalite.activeweb.TemplateManager
-
Same as
TemplateManager.merge(java.util.Map, String, String, String, java.io.Writer, boolean customRoute)
, but uses default layout and default format (html). - merge(Map<String, Object>, String, String, String, Writer, boolean) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
- merge(Map<String, Object>, String, String, String, Writer, boolean) - Method in class org.javalite.activeweb.TemplateManager
-
Merges values with templates and writes a merged template to the writer.
- 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.
- mergeFromPath(String, Map<String, ?>, boolean) - 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.
- mergeFromTemplate(String, Map, boolean) - Static method in class org.javalite.common.Templator
-
Merges from string as template.
- mergeProperties - Variable in class org.javalite.db_migrator.Migration
- message(String) - Method in class org.javalite.validation.ValidationBuilder
- message(String, Object...) - Static method in class org.javalite.validation.Messages
-
Looks for a property/message in
activejdbc_messages
bundle. - message(String, Locale, Object...) - Static method in class org.javalite.validation.Messages
-
Looks for a localized property/message in
activejdbc_messages
bundle. - Messages - Class in org.javalite.validation
-
This class is used to pull messages from a resource bundle called
activejdbc_messages
. - 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 class org.javalite.activejdbc.Registry
- metaModel() - Static method in class org.javalite.activejdbc.Model
-
Synonym of
Model.getMetaModel()
. - MetaModel - Class in org.javalite.activejdbc
- MetaModel(String, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.MetaModel
- 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 interface org.javalite.activeweb.RequestAccess
-
Returns an HTTP method from the request.
- method(Annotation) - Static method in enum class org.javalite.activeweb.HttpMethod
-
Detects a method from annotation
- migrate(String) - Method in class org.javalite.db_migrator.GroovyMigration
- 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
- 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(MavenProject, String, String) - Constructor for class org.javalite.db_migrator.MigrationManager
- MigrationManager(MavenProject, String, String, Properties) - Constructor for class org.javalite.db_migrator.MigrationManager
- MigrationResolver - Class in org.javalite.db_migrator
- MigrationResolver(MavenProject, String) - Constructor for class org.javalite.db_migrator.MigrationResolver
- MigrationResolver(MavenProject, String, Properties) - Constructor for class org.javalite.db_migrator.MigrationResolver
- Min - Class in org.javalite.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 - Static variable in class org.javalite.instrumentation.Classes
- Model() - Constructor for class org.javalite.activejdbc.Model
- Model(MetaModel, ModelRegistry) - Constructor for class org.javalite.activejdbc.Model
- 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 - Static variable in class org.javalite.instrumentation.Classes
- ModelFinder() - Constructor for class org.javalite.activejdbc.ModelFinder
- ModelInstrumentation - Class in org.javalite.instrumentation
- ModelInstrumentation() - Constructor for class org.javalite.instrumentation.ModelInstrumentation
- ModelListener<T extends Model> - Interface in org.javalite.activejdbc
- ModelRegistry - Class in org.javalite.activejdbc
-
Stores metadata for a Model: converters, etc.
- ModelRegistry() - Constructor for class org.javalite.activejdbc.ModelRegistry
- modified() - Method in class org.javalite.activejdbc.Model
-
Synonym for
Model.isModified()
. - modifyHandshake(ServerEndpointConfig, HandshakeRequest, HandshakeResponse) - Method in class org.javalite.activeweb.websockets.WebSocketConfigurator
- 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
- multipartForm() - Method in class org.javalite.activeweb.HttpSupport
- multipartForm(String, long) - Method in class org.javalite.activeweb.HttpSupport
- MultipartForm - Class in org.javalite.activeweb
- MultipartForm() - Constructor for class org.javalite.activeweb.MultipartForm
- multipartFormItems() - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, calls
HttpSupport.multipartFormItems(String)
. - 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.
- MYSQL - Enum constant in enum class org.javalite.db_migrator.DatabaseType
- MySQLDialect - Class in org.javalite.activejdbc.dialects
- MySQLDialect() - Constructor for class org.javalite.activejdbc.dialects.MySQLDialect
N
- name() - Method in class org.javalite.activejdbc.DB
-
Return logical name for a database.
- name() - Method in class org.javalite.activejdbc.DBProxy
- name() - Static method in class org.javalite.activeweb.CSRF
- names() - Method in class org.javalite.activeweb.SessionFacade
-
Returns names of current attributes as a list.
- names() - Method in class org.javalite.activeweb.SessionTestFacade
-
Returns names of current attributes as a list.
- nativeSQL(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- NewMojo - Class in org.javalite.db_migrator.maven
- NewMojo() - Constructor for class org.javalite.db_migrator.maven.NewMojo
- next(Map<String, Object>) - Method in interface org.javalite.activejdbc.RowListener
-
Implementations of this interface can return "false" from the next() method in order to stop fetching more results from DB.
- next(Map<String, Object>) - Method in class org.javalite.activejdbc.RowListenerAdapter
- noLayout() - Method in class org.javalite.activeweb.HttpSupport.RenderBuilder
-
Call this method to turn off all layouts.
- NopeCacheManager - Class in org.javalite.activejdbc.cache
-
Blank class, does nothing.
- NopeCacheManager() - Constructor for class org.javalite.activejdbc.cache.NopeCacheManager
- NotAssociatedException - Exception in org.javalite.activejdbc.associations
- NotAssociatedException(Class<? extends Model>, Class<? extends Model>) - Constructor for exception org.javalite.activejdbc.associations.NotAssociatedException
- NumericValidationBuilder - Class in org.javalite.validation
- NumericValidationBuilder(List<NumericValidator>) - Constructor for class org.javalite.validation.NumericValidationBuilder
- NumericValidator - Class in org.javalite.validation
- NumericValidator(String) - Constructor for class org.javalite.validation.NumericValidator
O
- of(int) - Static method in class org.javalite.validation.length.Exact
- of(int) - Static method in class org.javalite.validation.length.Max
- of(int) - Static method in class org.javalite.validation.length.Min
- of(int, int) - Static method in class org.javalite.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.validation.length.AttributeLengthValidator
- onClose(CloseReason) - Method in class org.javalite.activeweb.websockets.AppEndpoint
- onClose(Session, CloseReason) - Method in class org.javalite.activeweb.websockets.EndpointDispatcher
- onCommand(T) - Method in class org.javalite.async.CommandListener
- onCommand(T) - Method in class org.javalite.async.DBCommandListener
- onError(Throwable) - Method in class org.javalite.activeweb.websockets.AppEndpoint
- onError(Session, Throwable) - Method in class org.javalite.activeweb.websockets.EndpointDispatcher
- OneToManyAssociation - Class in org.javalite.activejdbc.associations
- OneToManyAssociation(Class<? extends Model>, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyAssociation
- OneToManyAssociation(Map<String, Object>) - Constructor for class org.javalite.activejdbc.associations.OneToManyAssociation
- OneToManyPolymorphicAssociation - Class in org.javalite.activejdbc.associations
- OneToManyPolymorphicAssociation(Class<? extends Model>, Class<? extends Model>, String) - Constructor for class org.javalite.activejdbc.associations.OneToManyPolymorphicAssociation
- OneToManyPolymorphicAssociation(Map<String, Object>) - 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
- onJSONList(JSONList) - Method in class org.javalite.activeweb.websockets.JSONListEndpoint
- onJSONMap(JSONMap) - Method in class org.javalite.activeweb.websockets.JSONMapEndpoint
- onlyInteger() - Method in class org.javalite.validation.NumericValidationBuilder
-
Will invalidate the value if it is not integer.
- onMessage(String) - Method in class org.javalite.activeweb.websockets.AppEndpoint
- onMessage(String) - Method in class org.javalite.activeweb.websockets.EndpointDispatcher
- onMessage(String) - Method in class org.javalite.activeweb.websockets.JSONListEndpoint
- onMessage(String) - Method in class org.javalite.activeweb.websockets.JSONMapEndpoint
- 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.
- onOpen(Session, EndpointConfig) - Method in class org.javalite.activeweb.websockets.EndpointDispatcher
- open() - Static method in class org.javalite.activejdbc.Base
-
This method will open a connection defined in the file 'database.properties' set by an initial previous call to
DBConfiguration.loadConfiguration(String)
. - open() - Method in class org.javalite.activejdbc.DB
-
This method will open a connection defined in the file 'database.properties' set by an initial previous call to
DBConfiguration.loadConfiguration(String)
. - open() - Method in class org.javalite.activejdbc.DBProxy
- open() - Method in class org.javalite.activeweb.DBControllerSpec
- open(String) - Static method in class org.javalite.activejdbc.Base
-
Opens a connection from JNDI based on a registered name.
- open(String) - Method in class org.javalite.activejdbc.DB
-
Opens a connection from JNDI based on a registered name.
- 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, 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, String, String) - Method in class org.javalite.activejdbc.DBProxy
- 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, 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, Properties) - Static method in class org.javalite.activejdbc.Base
-
Opens a new connection from JNDI data source by name using explicit JNDI properties.
- 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(DataSource) - Static method in class org.javalite.activejdbc.Base
-
Opens a connection from a datasource.
- open(DataSource) - Method in class org.javalite.activejdbc.DB
-
Opens a connection from a datasource.
- open(ConnectionConfig) - Method in class org.javalite.activejdbc.DB
-
This method is used internally by the framework.
- OpenAPIException - Exception in org.javalite.activeweb
- OpenAPIException(String) - Constructor for exception org.javalite.activeweb.OpenAPIException
- OpenAPIException(String, Throwable) - Constructor for exception org.javalite.activeweb.OpenAPIException
- OpenAPIException(Throwable) - Constructor for exception org.javalite.activeweb.OpenAPIException
- OpenAPITemplateManager - Class in org.javalite.activeweb
- OpenAPITemplateManager() - Constructor for class org.javalite.activeweb.OpenAPITemplateManager
- 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() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP OPTIONS method.
- options(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Simulate HTTP OPTIONS call to an action of controller.
- OPTIONS - Enum constant in enum class org.javalite.activeweb.HttpMethod
- OPTIONS - Annotation Interface in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP OPTIONS request.
- ORACLE - Enum constant in enum class org.javalite.db_migrator.DatabaseType
- 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.dialects - package org.javalite.activejdbc.dialects
-
Classes to manage database dialects, used internally.
- org.javalite.activejdbc.logging - package org.javalite.activejdbc.logging
-
Log management, see Logging
- org.javalite.activejdbc.statistics - package org.javalite.activejdbc.statistics
-
ActiveJDBC - collection of statistics on queries.
- org.javalite.activejdbc.test - package org.javalite.activejdbc.test
-
TDD support , see Testing with database connection
- 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
-
ActiveWeb controller annotations, see Controllers and Routing.
- org.javalite.activeweb.async - package org.javalite.activeweb.async
- org.javalite.activeweb.controller_filters - package org.javalite.activeweb.controller_filters
-
Controller Filters, see 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.activeweb.mojo - package org.javalite.activeweb.mojo
- org.javalite.activeweb.websockets - package org.javalite.activeweb.websockets
- org.javalite.app_config - package org.javalite.app_config
-
AppConfig for configuring your system for different environments.
- org.javalite.async - package org.javalite.async
-
JavaLite Async, see JavaLite Async.
- org.javalite.async.xstream - package org.javalite.async.xstream
- org.javalite.cassandra.jdbc - package org.javalite.cassandra.jdbc
- 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.conversion - package org.javalite.conversion
-
Classes to manage data conversions, se Data conversions
- org.javalite.db_migrator - package org.javalite.db_migrator
-
DBMigrator, See AppConfig.
- 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
-
Model instrumentation, see Instrumentation.
- org.javalite.json - package org.javalite.json
- 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.sass.maven - package org.javalite.sass.maven
-
SASS integration, see SASS.
- 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
- org.javalite.validation - package org.javalite.validation
-
Data validation , see Validations.
- org.javalite.validation.length - package org.javalite.validation.length
- other() - Element in annotation interface org.javalite.activejdbc.annotations.Many2Many
-
This is a type of a model that is the "other" end of the relationship.
- 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
- p(String) - Static method in class org.javalite.app_config.AppConfig
-
Gets property, synonym for
AppConfig.getProperty(String)
. - 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, 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(Class<? extends T>, int, String, Object...) - Constructor for class org.javalite.activejdbc.Paginator
-
Convenience constructor.
- 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.MultipartForm
- param(String) - Method in interface org.javalite.activeweb.RequestAccess
-
Returns value of routing user segment, or route wild card value, or request parameter.
- param(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Convenience method, exists to pass parameters with blank values.
- param(String, Object) - Method in class org.javalite.activeweb.RequestBuilder
-
Sets a single parameter for request.
- param(String, String) - Method in class org.javalite.http.Request
-
Adds a parameter to the request as in a HTML form.
- param(String, List<FormItem>) - Method in interface org.javalite.activeweb.RequestAccess
-
Convenience method to get a parameter value in case
multipart/form-data
request was used. - params() - Method in class org.javalite.activeweb.MultipartForm
- params() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns an instance of
java.util.Map
containing parameter names as keys and parameter values as map values. - params() - Method in class org.javalite.http.Request
- params(Object...) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
-
Array of parameters in case a query is parametrized
- params(Object...) - Method in class org.javalite.activeweb.RequestBuilder
-
Convenience method for setting parameters of the request.
- params(String) - Method in interface org.javalite.activeweb.RequestAccess
-
Returns multiple request values for a name.
- params(String...) - Method in class org.javalite.http.Request
-
Convenience method to add multiple parameters to the request.
- params(String, List<FormItem>) - Method in interface org.javalite.activeweb.RequestAccess
-
Convenience method to get parameter values in case
multipart/form-data
request was used. - params1st() - Method in interface org.javalite.activeweb.RequestAccess
-
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>) - Method in interface org.javalite.activeweb.RequestAccess
-
Convenience method to get parameters in case
multipart/form-data
request was used. - parent() - Element in annotation interface org.javalite.activejdbc.annotations.BelongsTo
- 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
-
Same as
Model.parent(Class)
, with additional argument. - PARENT - Static variable in class org.javalite.activejdbc.associations.BelongsToPolymorphicAssociation
- parents() - Element in annotation interface org.javalite.activejdbc.annotations.BelongsToPolymorphic
-
List of parent classes.
- parseCommand(Message) - Method in class org.javalite.async.CommandListener
- PartitionIDs - Annotation Interface 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() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP PATCH method.
- 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(String, String) - 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.
- PATCH - Enum constant in enum class org.javalite.activeweb.HttpMethod
- PATCH - Annotation Interface in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP POST request.
- path() - Method in interface org.javalite.activeweb.RequestAccess
-
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
. - pinMessage() - Method in interface org.javalite.validation.Validator
-
Will pin the current message.
- pinMessage() - Method in class org.javalite.validation.ValidatorAdapter
- pInteger(String) - Static method in class org.javalite.app_config.AppConfig
-
Read property as
Integer
. - pLong(String) - Static method in class org.javalite.app_config.AppConfig
-
Read property as
Long
. - pluralize(String) - Static method in class org.javalite.common.Inflector
- port() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns port on which the of the server received current request.
- post() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP POST method.
- post(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Simulate HTTP POST call to an action of controller.
- 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(String, String) - 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.
- POST - Enum constant in enum class org.javalite.activeweb.HttpMethod
- POST - Annotation Interface in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP POST request.
- POSTGRESQL - Enum constant in enum class org.javalite.db_migrator.DatabaseType
- 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
- prepareCall(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- prepareCall(String, int, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- prepareCall(String, int, int, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- prepareStatement(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- prepareStatement(String, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- prepareStatement(String, int[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- prepareStatement(String, int, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- prepareStatement(String, int, int, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- prepareStatement(String, String[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- PRIMITIVES - Static variable in class org.javalite.activeweb.RouteUtil
- print(ClassLoader) - Method in class org.javalite.activeweb.mojo.PrintMojo
- printEndpointDefinitions(String, List<EndPointDefinition>) - Static method in class org.javalite.activeweb.mojo.PrintMojo
- PrintMojo - Class in org.javalite.activeweb.mojo
- PrintMojo() - Constructor for class org.javalite.activeweb.mojo.PrintMojo
- printTable(String[][]) - Static method in class org.javalite.common.TablePrinter
-
Expects a two-dimensional array of strings.
- process(File) - Method in class org.javalite.activeweb.OpenAPITemplateManager
- process(String) - Method in class org.javalite.activeweb.OpenAPITemplateManager
- 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.activeweb.mojo.GenerateMojo
- project - Variable in class org.javalite.activeweb.mojo.PrintMojo
- 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
- project - Variable in class org.javalite.sass.maven.CompileSassFilesMojo
- 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 interface org.javalite.activeweb.RequestAccess
-
Returns protocol of request, for example: HTTP/1.1.
- purge(MetaModel) - Static method in class org.javalite.activejdbc.cache.CacheEventSquasher
- 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(String) - Method in class org.javalite.activejdbc.cache.CacheManager
-
Use
CacheManager.purgeTableCache(MetaModel)
whenever you can. - purgeTableCache(String) - Method in enum class org.javalite.activejdbc.cache.QueryCache
-
Use
QueryCache.purgeTableCache(MetaModel)
whenever you can. - 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(MetaModel) - Method in enum class 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.
- put() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP PUT method.
- put(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Simulate HTTP PUT call to an action of controller.
- put(String) - Static method in class org.javalite.http.Http
- put(String...) - Static method in class org.javalite.logging.Context
-
Add multiple values in a classical JavaLite style.
- 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(String, Serializable) - Method in class org.javalite.activeweb.SessionTestFacade
-
Add object to a session.
- put(String, Object) - Method in class org.javalite.activeweb.SessionFacade
-
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, String) - Method in class org.javalite.validation.Errors
- 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 - Enum constant in enum class org.javalite.activeweb.HttpMethod
- PUT - Annotation Interface in org.javalite.activeweb.annotations
-
Mark an action of a controller with this annotation to receive an HTTP PUT request.
- putAll(Map) - Method in class org.javalite.activeweb.SessionFacade
- putAll(Map<? extends String, ? extends String>) - Method in class org.javalite.app_config.AppConfig
- putAll(Map<? extends String, ? extends String>) - Method in class org.javalite.validation.Errors
Q
- query(String) - Method in class org.javalite.activejdbc.Paginator.PaginatorBuilder
- QueryCache - Enum Class in org.javalite.activejdbc.cache
-
This is a main cache facade.
- QueryExecutionEvent - Class in org.javalite.activejdbc.statistics
- QueryExecutionEvent(String, long) - Constructor for class org.javalite.activejdbc.statistics.QueryExecutionEvent
- QueryStats - Class in org.javalite.activejdbc.statistics
-
This class represents statistical information for one query.
- QueryStats(String) - Constructor for class org.javalite.activejdbc.statistics.QueryStats
- queryString() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns query string of the request.
- queryString(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Sets a query string (as in URL) for the request.
- QueueConfig - Class in org.javalite.async
-
Simple configuration of queue.
- QueueConfig(String) - Constructor for class org.javalite.async.QueueConfig
-
Creates a specification of a queue for Async with no listeners attached.
- QueueConfig(String, CommandListener, int) - Constructor for class org.javalite.async.QueueConfig
-
Creates a specification of a queue for Async.
- QueueConfig(String, CommandListener, int, boolean) - Constructor for class org.javalite.async.QueueConfig
-
Creates a specification of a queue for Async
- queueConfigs(QueueConfig...) - Method in class org.javalite.async.Async.AsyncBuilder
- queueTopic(TopicConfig...) - Method in class org.javalite.async.Async.AsyncBuilder
R
- Range - Class in org.javalite.validation.length
-
The attribute length must be between the given minimum and maximum length (inclusive).
- RangeValidator - Class in org.javalite.validation
- RangeValidator(String, Number, Number) - Constructor for class org.javalite.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(File) - Static method in class org.javalite.common.Util
-
Reads file into a byte array.
- 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(InputStream, String) - Static method in class org.javalite.lessc.maven.CompileLesscFilesMojo
- read(InputStream, String) - Static method in class org.javalite.sass.maven.CompileSassFilesMojo
- READ_ONLY - Enum constant in enum class org.javalite.activejdbc.RowProcessor.ResultSetConcur
- READ_TIMEOUT - Static variable in class org.javalite.http.Http
-
Read timeout in milliseconds.
- readExternal(ObjectInput) - Method in class org.javalite.activejdbc.LazyList
- readExternal(ObjectInput) - Method in class org.javalite.activejdbc.Model
- readFile(File) - Static method in class org.javalite.common.Util
-
Reads contents of file fully and returns as string.
- readFile(File, String) - Static method in class org.javalite.common.Util
-
Reads contents of file fully and returns as string.
- 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, 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.
- receiveCommand(String, Class<T>) - 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. - recursiveDelete(Path) - Static method in class org.javalite.common.Util
-
Deletes a directory recursively with all its contents.
- redirect - Variable in class org.javalite.http.Request
- redirect() - Method in class org.javalite.activeweb.HttpSupport
-
Redirects to the same controller, and action "index".
- redirect(boolean) - Method in class org.javalite.http.Request
-
Configures this request to follow redirects.
- redirect(Class<T>) - Method in class org.javalite.activeweb.HttpSupport
-
Redirects to given controller, action "index" without any parameters.
- redirect(Class<T>, Object) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method for
HttpSupport.redirect(Class, java.util.Map)
. - redirect(Class<T>, String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method for
HttpSupport.redirect(Class, java.util.Map)
. - redirect(Class<T>, String, Object) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method for
HttpSupport.redirect(Class, java.util.Map)
. - redirect(Class<T>, Map) - Method in class org.javalite.activeweb.HttpSupport
-
Redirects to a controller, generates appropriate redirect path.
- 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).
- redirected() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns true after execution of an action that sent a redirect.
- redirectToReferrer() - Method in class org.javalite.activeweb.HttpSupport
-
Redirects to referrer if one exists.
- redirectToReferrer(String) - 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.validation
-
Validator designed for use of regular expressions.
- RegexpValidator(String, String) - Constructor for class org.javalite.validation.RegexpValidator
-
Calls the
RegexpValidator(String, String, int)
with thePattern.CASE_INSENSITIVE
flag by default. - RegexpValidator(String, String, int) - Constructor for class org.javalite.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 Class in org.javalite.activejdbc
- RegistryProxy - Class in org.javalite.activejdbc
- releaseSavepoint(Savepoint) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- reload() - Static method in class org.javalite.app_config.AppConfig
-
Used in tests.
- remoteAddress() - Method in interface org.javalite.activeweb.RequestAccess
-
IP address of the requesting client.
- remoteAddress(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Use to simulate a remote IP address.
- remoteHost() - Method in interface org.javalite.activeweb.RequestAccess
-
Host name of the requesting client.
- remove(int) - Method in class org.javalite.activejdbc.AbstractLazyList
- remove(Object) - Method in class org.javalite.activejdbc.AbstractLazyList
- remove(Object) - Method in class org.javalite.activeweb.SessionFacade
-
Removes object from session.
- remove(Object) - Method in class org.javalite.app_config.AppConfig
- remove(Object) - Method in class org.javalite.validation.Errors
- remove(String) - Method in class org.javalite.activeweb.SessionTestFacade
-
Removes object from session.
- remove(Model) - Method in class org.javalite.activejdbc.Model
-
Removes associated child from this instance.
- 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(Class<? extends Model>, Validator) - Static method in class org.javalite.activejdbc.ModelDelegate
- removeValidator(Validator) - Static method in class org.javalite.activejdbc.Model
-
Removes a validator from model.
- removeValidator(Validator) - Method in class org.javalite.validation.ValidationSupport
- render() - Method in class org.javalite.activeweb.AppController
-
Use this method in order to override a layout, status code, and content type.
- render(String) - Method in class org.javalite.activeweb.AppController
-
Renders results with a template.
- render(String) - 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.
- render(String, Map) - Method in class org.javalite.activeweb.HttpSupport
-
Renders results with a template.
- render(String, Map) - Method in class org.javalite.activeweb.ViewSpec
-
Renders a template by name
- 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
- 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 - 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
- RequestAccess - Interface in org.javalite.activeweb
-
Provides access to request values.
- RequestBuilder - Class in org.javalite.activeweb
-
Class is used in DSL for building a fake request for a controller to be tested.
- RequestBuilder(String) - 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 interface org.javalite.activeweb.RequestAccess
-
Synonym of
RequestAccess.exists(String)
. - RequestParamsLogFilter - Class in org.javalite.activeweb.controller_filters
-
Use this filter to log HTTP request parameters to a log system.
- RequestParamsLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.RequestParamsLogFilter
-
Creates a filter with default "INFO" level.
- RequestParamsLogFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.RequestParamsLogFilter
-
Creates a filter with preset log level.
- RequestPropertiesLogFilter - Class in org.javalite.activeweb.controller_filters
-
Use this filter to log HTTP request properties to a log system.
- RequestPropertiesLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.RequestPropertiesLogFilter
-
Creates a filter with default "INFO" level.
- RequestPropertiesLogFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.RequestPropertiesLogFilter
-
Creates a filter with preset log level.
- RequestSpecHelper - Class in org.javalite.activeweb
-
This class is not used directly in applications.
- RequestSpecHelper() - Constructor for class org.javalite.activeweb.RequestSpecHelper
- 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
- resetBuffer() - Method in class org.javalite.activeweb.HttpServletResponseProxy
- resetConnectionConfigs() - 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() - 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
- RESTful - Annotation Interface in org.javalite.activeweb.annotations
-
This annotations is to signify that a controller will be providing actions for RESTful routes.
- 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.
- rollback() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- rollback(Savepoint) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- 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(String) - Method in class org.javalite.activeweb.websockets.AbstractWebSocketConfig
- Route - Class in org.javalite.activeweb
-
Instance of this class will contain routing information discovered dynamically on a request.
- Route(AppController, String, String, HttpMethod) - Constructor for class org.javalite.activeweb.Route
- Route(AppController, String, HttpMethod) - Constructor for class org.javalite.activeweb.Route
- Route(RouteBuilder, HttpMethod, boolean) - 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(String) - Constructor for class org.javalite.activeweb.RouteBuilder
-
Used for custom routes
- RouteBuilder(AppController, String) - Constructor for class org.javalite.activeweb.RouteBuilder
-
Used for tests.
- RouteBuilder(AppController, String, String) - Constructor for class org.javalite.activeweb.RouteBuilder
-
Used for standard and restful 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
- RouteUtil - Class in org.javalite.activeweb
-
This class exists to aggregate some common functions that are used by ActiveWeb as well as the Ope API plugin.
- RouteUtil() - Constructor for class org.javalite.activeweb.RouteUtil
- 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
- RowProcessor.ResultSetConcur - Enum Class in org.javalite.activejdbc
- RowProcessor.ResultSetType - Enum Class in org.javalite.activejdbc
- 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
S
- 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.json.JSONHelper
-
Escapes control characters in a string.
- sanitize(String, boolean) - Static method in class org.javalite.json.JSONHelper
- sanitize(String, boolean, Character...) - Static method in class org.javalite.json.JSONHelper
-
Escapes control characters in a string when you need to generate JSON.
- SassConfig - Class in org.javalite.sass.maven
- SassConfig() - Constructor for class org.javalite.sass.maven.SassConfig
- 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
-
This method will not exit silently like
Model.save()
, it instead will throwValidationException
if validations did not pass. - saveTo(String) - Method in class org.javalite.activeweb.FormItem
-
Saves content of this item to a file.
- saveTo(String, byte[]) - Static method in class org.javalite.common.Util
-
Saves content of byte array to file.
- saveTo(String, InputStream) - Static method in class org.javalite.common.Util
-
Saves content read from input stream into a 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:
- SCROLL_INSENSITIVE - Enum constant in enum class org.javalite.activejdbc.RowProcessor.ResultSetType
- SCROLL_SENSITIVE - Enum constant in enum class org.javalite.activejdbc.RowProcessor.ResultSetType
- selectCount(String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
- selectCount(String) - Method in interface org.javalite.activejdbc.dialects.Dialect
- selectCount(String, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
- 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(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.
- SelectOption(String) - Constructor for class org.javalite.activeweb.freemarker.SelectOption
-
Value is used for both: value and label.
- selectPattern - Variable in class org.javalite.activejdbc.dialects.MSSQLDialect
- selectStar(String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
- selectStar(String) - Method in interface org.javalite.activejdbc.dialects.Dialect
- selectStar(String, String) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
- 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, long) - Method in class org.javalite.async.Async
-
Sends a command into a queue for processing
- send(String, Command, int, int, long, long) - Method in class org.javalite.async.Async
-
Sends a command into a queue for processing
- send(String, Command, int, long) - Method in class org.javalite.async.Async
-
Sends a command into a queue for processing
- send(String, Command, Date) - Method in class org.javalite.async.Async
-
Sends a command into a queue for processing
- sendCookie(String, String) - Method in class org.javalite.activeweb.HttpSupport
-
Sends cookie to browse with response.
- sendCookie(Cookie) - Method in class org.javalite.activeweb.HttpSupport
-
Sends cookie to browse with response.
- sendError(int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
- sendError(int, String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
- sendFile(File) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method for downloading files.
- sendFile(File, boolean) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method for downloading files.
- sendMessage(String) - Method in class org.javalite.activeweb.websockets.AppEndpoint
- 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, long) - Method in class org.javalite.async.Async
-
Sends a
TextMessage
. - sendTextMessage(String, String, int, int, long, long) - Method in class org.javalite.async.Async
-
Sends a
TextMessage
. - sendTextMessage(String, String, long) - Method in class org.javalite.async.Async
-
Sends a non-expiring
TextMessage
with average priority. - servletPath() - Method in interface org.javalite.activeweb.RequestAccess
- session() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns reference to a current session map.
- session() - Method in class org.javalite.activeweb.HttpSupport
-
Returns reference to a current session.
- session() - Method in class org.javalite.activeweb.SpecHelper
-
Allows access to session in test context.
- session(String) - Method in interface org.javalite.activeweb.RequestAccess
- session(String, Serializable) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, sets an object on a session.
- 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.
- session(String, Object) - Method in interface org.javalite.activeweb.RequestAccess
-
Sets an object on a current session.
- 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(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.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(String, Object) - Static method in class org.javalite.activeweb.AppContext
-
Sets an application - wide object by name.
- set(T...) - Static method in class org.javalite.common.Collections
-
Creates a set from values.
- setActiveEnv(String) - Static method in class org.javalite.app_config.AppConfig
-
You can change the environment dynamically.
- setAllowNull(Boolean) - Method in class org.javalite.validation.NumericValidator
- setApiLocation(String) - Method in class org.javalite.activeweb.EndpointFinder
- setArray(int, Array) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setArray(String, Object[]) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as
java.sql.Array
. - setAsciiStream(int, InputStream) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setAsciiStream(int, InputStream, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setAsciiStream(int, InputStream, long) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setAutoCommit(boolean) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- setBigDecimal(int, BigDecimal) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- 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.
- setBinaryStream(int, InputStream) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setBinaryStream(int, InputStream, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setBinaryStream(int, InputStream, long) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setBlob(int, InputStream) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setBlob(int, InputStream, long) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setBlob(int, Blob) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setBoolean(int, boolean) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setBoolean(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as
Boolean
. - setBufferSize(int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
- setByte(int, byte) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setBytes(int, byte[]) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setCachedParent(Model) - Method in class org.javalite.activejdbc.Model
- setCatalog(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- setCharacterEncoding(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
- setCharacterStream(int, Reader) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setCharacterStream(int, Reader, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setCharacterStream(int, Reader, long) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setChildren(Class, List<Model>) - Method in class org.javalite.activejdbc.Model
- setClientInfo(String, String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- setClientInfo(Properties) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- setClob(int, Reader) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setClob(int, Reader, long) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setClob(int, Clob) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setConfigFile(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- setConfiguration(Configuration) - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
- 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
. - setCurrentEnvironment(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- setCurrentMergeProperties(Properties) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- setCurrentPageIndex(int, boolean) - Method in class org.javalite.activejdbc.Paginator
-
Sets an index of a current page.
- setCursorName(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setCursorName(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- setDate(int, Date) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setDate(int, Date, Calendar) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setDate(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as
java.sql.Date
. - setDateHeader(String, long) - Method in class org.javalite.activeweb.HttpServletResponseProxy
- setDbName(String) - Method in class org.javalite.activejdbc.connection_config.ConnectionConfig
- 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(int, double) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- 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.
- setEnvironment(String) - Method in class org.javalite.activejdbc.connection_config.ConnectionConfig
- setEnvironments(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- setEscapeProcessing(boolean) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setEscapeProcessing(boolean) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- setFetchDirection(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setFetchDirection(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- setFetchSize(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setFetchSize(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- setFilters(List<HttpSupportFilter>) - Static method in class org.javalite.activeweb.Configuration
- setFKName(String) - Method in class org.javalite.activejdbc.MetaModel
- setFloat(int, float) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- 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
- setHoldability(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- 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
- setHttSession(HttpSession) - Method in class org.javalite.activeweb.websockets.AppEndpoint
- 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.
- setInt(int, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- 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
- setJSONList(String, JSONList) - Method in class org.javalite.activejdbc.Model
-
Sets a
JSONList
as a value of an attribute. - setJSONMap(String, JSONMap) - Method in class org.javalite.activejdbc.Model
-
Sets a
JSONMap
as a value of an attribute. - 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.activeweb.HttpServletResponseProxy
- setLocale(Locale) - Method in class org.javalite.activeweb.HttpSupport
-
Sets locale on response.
- setLocale(Locale) - Method in class org.javalite.validation.Errors
-
Sets a locale on this instance.
- setLog(Log) - Static method in class org.javalite.instrumentation.Logger
- setLogExpression(String) - Static method in class org.javalite.activejdbc.logging.LogFilter
- setLong(int, long) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setLong(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as
Long
. - setMax(Double) - Method in class org.javalite.validation.NumericValidator
- setMaxAge(int) - Method in class org.javalite.activeweb.Cookie
- setMaxFieldSize(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setMaxFieldSize(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- setMaxRows(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setMaxRows(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- setMergeProperties(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- setMessage(String) - Method in interface org.javalite.validation.Validator
-
Sets an message on this validator.
- setMessage(String) - Method in class org.javalite.validation.ValidatorAdapter
- setMigrationsPath(String) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
- setMin(Double) - Method in class org.javalite.validation.NumericValidator
- setModelFile(String) - Method in enum class 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
- setNCharacterStream(int, Reader) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setNCharacterStream(int, Reader, long) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setNClob(int, Reader) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setNClob(int, Reader, long) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setNClob(int, NClob) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setNetworkTimeout(Executor, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- setNString(int, String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setNull(int, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setNull(int, int, String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setObject(int, Object) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setObject(int, Object, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setObject(int, Object, int, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setOnlyInteger(boolean) - Method in class org.javalite.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
- setPoolable(boolean) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setPoolable(boolean) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- setProject(MavenProject) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
- setProperty(String, String) - Static method in class org.javalite.app_config.AppConfig
-
Sets a property in memory.
- setQueryTimeout(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setQueryTimeout(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- setReadOnly(boolean) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- setRef(int, Ref) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- 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
- setRowId(int, RowId) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setSassArguments(String) - Method in class org.javalite.sass.maven.SassConfig
- setSassMain(String) - Method in class org.javalite.sass.maven.SassConfig
- setSavepoint() - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- setSavepoint(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- setSchema(String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- 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(int, short) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setShort(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as
Short
. - setSQLXML(int, SQLXML) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setStatus(int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
- setStatus(int, String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
- setStrictMode(boolean) - Method in class org.javalite.activeweb.Router
- setString(int, String) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- 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
- setTargetDirectory(String) - Method in class org.javalite.sass.maven.SassConfig
- setTargetFileName(String) - Method in class org.javalite.lessc.maven.LessConfig
- setTargetFileName(String) - Method in class org.javalite.sass.maven.SassConfig
- 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.ConnectionConfig
- setTesting(boolean) - Static method in class org.javalite.activeweb.Configuration
- setTime(int, Time) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setTime(int, Time, Calendar) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setTime(String, Object) - Method in class org.javalite.activejdbc.Model
-
Sets attribute value as
java.sql.Time
. - setTimestamp(int, Timestamp) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setTimestamp(int, Timestamp, Calendar) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- 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.
- setTopicConfigsList(List<TopicConfig>) - Method in class org.javalite.async.Async
- setTransactionIsolation(int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- setTypeMap(Map<String, Class<?>>) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- setUnicodeStream(int, InputStream, int) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- setUrl(String) - Method in class org.javalite.db_migrator.maven.AbstractDbMigrationMojo
- setUrl(String) - Method in class org.javalite.instrumentation.DBParameters
- setURL(int, URL) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- 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
- 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
-
Alias to
Expectation.shouldBeEqual(Object)
. - 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
-
This method is exactly opposite (negated) of
Expectation.shouldContain(Object)
. - 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.activeweb.SessionFacade
- size() - Method in class org.javalite.app_config.AppConfig
- size() - Method in class org.javalite.validation.Errors
- SOURCE - Static variable in class org.javalite.activejdbc.associations.Association
- SOURCE_FK - Static variable in class org.javalite.activejdbc.associations.Many2ManyAssociation
- sourceClass() - Method in class org.javalite.conversion.ConverterAdapter
- sourceClass() - Method in class org.javalite.conversion.StringToSqlDateConverter
- sourceClass() - Method in class org.javalite.conversion.StringToTimestampConverter
- sourceFKName() - Element in annotation interface org.javalite.activejdbc.annotations.Many2Many
-
Foreign key name of a source table in the join.
- SpecException - Exception in org.javalite.activeweb
- SpecException(String) - Constructor for exception org.javalite.activeweb.SpecException
- SpecException(String, Throwable) - Constructor for exception org.javalite.activeweb.SpecException
- SpecException(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, char) - Static method in class org.javalite.common.Util
-
Splits a string into an array using provided delimiter.
- split(String, String) - Static method in class org.javalite.common.Util
-
Splits a string into an array using provided delimiters.
- SQL_SERVER - Enum constant in enum class org.javalite.db_migrator.DatabaseType
- SQLiteDialect - Class in org.javalite.activejdbc.dialects
- SQLiteDialect() - Constructor for class org.javalite.activejdbc.dialects.SQLiteDialect
- SQLMigration - Class in org.javalite.db_migrator
- SQLMigration(String, File) - Constructor for class org.javalite.db_migrator.SQLMigration
- SQLMigration(String, File, Properties) - Constructor for class org.javalite.db_migrator.SQLMigration
- StaleModelException - Exception in org.javalite.activejdbc
- StaleModelException(String) - Constructor for exception org.javalite.activejdbc.StaleModelException
- start() - Method in class org.javalite.async.Async
-
Starts the server.
- 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() - Method in class org.javalite.activeweb.HttpSupport
-
Returns status code from current response.
- status(int) - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
-
Overrides HTTP status with a different value.
- statusCode() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Provides status code set on response by controller
- statusCode(int) - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
-
Alias to
HttpSupport.HttpBuilder.status(int)
. - 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. - strictMode() - Method in class org.javalite.activeweb.AbstractRouteConfig
-
Use in configuration of custom routes in order to exclude any other routing paths, such as Standard and Restful.
- StringToSqlDateConverter - Class in org.javalite.conversion
- StringToSqlDateConverter(String) - Constructor for class org.javalite.conversion.StringToSqlDateConverter
- StringToSqlDateConverter(DateFormat) - Constructor for class org.javalite.conversion.StringToSqlDateConverter
- StringToTimestampConverter - Class in org.javalite.conversion
- StringToTimestampConverter(String) - Constructor for class org.javalite.conversion.StringToTimestampConverter
- StringToTimestampConverter(DateFormat) - Constructor for class org.javalite.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() - Method in class org.javalite.activeweb.AppIntegrationSpec
-
Call this method from a constructor of your spec in cases you do not need DB connections.
- 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.
- suppressedDb() - Method in class org.javalite.activejdbc.test.DBSpec
- SystemOutAppender - Class in org.javalite.logging
-
Primitive appender, only for testing (tired fighting log4j for my output!).
- SystemOutAppender(String, Layout) - Constructor for class org.javalite.logging.SystemOutAppender
- 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.
T
- Table - Annotation Interface 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
- TablePrinter - Class in org.javalite.common
-
Prints a two dimensional array to STDIO as a formatted table.
- TablePrinter() - Constructor for class org.javalite.common.TablePrinter
- TableTag - Class in org.javalite.activeweb
- TableTag() - Constructor for class org.javalite.activeweb.TableTag
- 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.associations.Association
- TARGET_FK - Static variable in class org.javalite.activejdbc.associations.Many2ManyAssociation
- TARGET_PK - Static variable in class org.javalite.activejdbc.associations.Many2ManyAssociation
- targetFile - Variable in class org.javalite.activeweb.mojo.GenerateMojo
- targetFKName() - Element in annotation interface org.javalite.activejdbc.annotations.Many2Many
-
Foreign key name of a target table in the join table.
- tearDown() - Static method in class org.javalite.activeweb.DBControllerSpec
- template() - Method in class org.javalite.activeweb.RequestSpecHelper
- templateFile - Variable in class org.javalite.activeweb.mojo.GenerateMojo
-
File containing a template to merge the paths content into.
- 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.
- text() - Method in class org.javalite.http.Request
-
Fetches response content from server as String.
- text(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
Parses controller response content and selects content of HTML element using CSS selectors.
Example: - 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(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
- timestampFormat(String, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- timestampFormat(String, String...) - Method in class org.javalite.validation.ValidationSupport
-
Registers timestamp converters (Date -> String -> java.sql.Timestamp) for specified model attributes.
- timestampFormat(DateFormat, String...) - Static method in class org.javalite.activejdbc.Model
-
Registers date format for specified attributes.
- timestampFormat(DateFormat, String...) - Method in class org.javalite.validation.ValidationSupport
-
Registers timestamp converters (Date -> String -> java.sql.Timestamp) for specified model attributes.
- TimestampValidator - Class in org.javalite.validation
-
Validates presence and correct format of a string.
- TimestampValidator(String, String) - Constructor for class org.javalite.validation.TimestampValidator
- to(Class) - Method in class org.javalite.activeweb.SpecHelper.DynamicBuilder
-
This method is optional.
- 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<T>) - Method in class org.javalite.activeweb.websockets.AbstractWebSocketConfig.EndpointMapping
- toAbsolutePath(String) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
- toAbsolutePath(String, boolean) - Method in class org.javalite.db_migrator.maven.AbstractMigrationMojo
- toArray() - Method in class org.javalite.activejdbc.AbstractLazyList
- toArray(String, Object, Connection) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
-
Converts the input
- toArray(String, Object, Connection) - Method in interface org.javalite.activejdbc.dialects.Dialect
- toArray(String, Object, Connection) - Method in class org.javalite.activejdbc.dialects.PostgreSQLDialect
-
Converts the input
- 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) - Static method in class org.javalite.common.HumanDate
-
This is a convenience method in addition to
HumanDate.toHumanFormat(long, long)
, except the second parameter is always now. - toHumanFormat(long, long) - Static method in class org.javalite.common.HumanDate
-
Generates a human representation of distance in time between two time stamps.
- 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 aString
in ISO 8601 format: "yyyy-MM-dd'T'HH:mm:ss'Z'" in UTC timezone for timestamps, and "yyyy-MM-dd" for instances ofjava.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(Object...) - Static method in class org.javalite.json.JSONHelper
-
Generates a JSON object from names and values.
- toJSON() - Method in class org.javalite.activejdbc.Model
-
Equivalent to
Model.toJson(boolean, String...)
, not pretty and includes all attributes - toJSON() - Method in class org.javalite.activejdbc.RegistryProxy
- toJSON() - Method in class org.javalite.json.JSONMap
- toJSON() - Static method in class org.javalite.logging.Context
- toJSON() - Method in class org.javalite.validation.Errors
- toJSON(boolean) - Method in class org.javalite.json.JSONList
- toJSON(boolean) - Method in class org.javalite.json.JSONMap
- toJSONList(String) - Static method in class org.javalite.json.JSONHelper
-
Convenience method to convert String to
JSONList
. - toJSONMap(String) - Static method in class org.javalite.json.JSONHelper
-
Convenience method to convert String to
JSONMap
. - toJsonObject(Object...) - Static method in class org.javalite.json.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.json.JSONHelper
-
Convert Java object to a JSON string.
- toJsonString(Object...) - Static method in class org.javalite.json.JSONHelper
-
Generates a JSON object from names and values.
- toJsonString(Object, boolean) - Static method in class org.javalite.json.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.json.JSONHelper
-
Convert JSON array tp Java List
- toLocalDate(Object) - Static method in class org.javalite.common.Convert
-
Converts a value to
LocalDate
. - toLocalDate(Date) - Static method in class org.javalite.common.Convert
- toLocalDateTime(long) - Static method in class org.javalite.common.Convert
- toLocalDateTime(long, TimeZone) - Static method in class org.javalite.common.Convert
- toLocalDateTime(Object) - Static method in class org.javalite.common.Convert
-
Converts a value to
LocalDateTime
. - toLong(Object) - Static method in class org.javalite.common.Convert
-
Converts value to
Long
if it can. - toMap() - Method in class org.javalite.activejdbc.associations.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(String) - Static method in class org.javalite.json.JSONHelper
-
Convert a JSON map to a Java Map
- toMap(String...) - 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.
- 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.json.JSONHelper
-
Convert JSON Array to Java array of maps.
- TopicConfig - Class in org.javalite.async
- TopicConfig() - Constructor for class org.javalite.async.TopicConfig
- toSerializable(LogEvent) - Method in class org.javalite.logging.JsonLog4j2Layout
-
Formats a
LogEvent
. - 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
-
Same as
toSql(true)
, seeLazyList.toSql(boolean)
; - 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.connection_config.ConnectionConfig
- 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.RouteBuilder
- toString() - Method in class org.javalite.activeweb.SimpleHash
- toString() - Method in class org.javalite.app_config.Property
- toString() - Method in class org.javalite.json.JSONBase
- toString() - Method in class org.javalite.json.JSONList
- toString() - Method in class org.javalite.json.JSONMap
- toString() - Method in class org.javalite.validation.Errors
- 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() - Method in class org.javalite.async.Command
-
Serializes this object into XML.
- 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.
- toXmlP(StringBuilder, boolean, String, String...) - Method in class org.javalite.activejdbc.Model
- truncateToSqlDate(long) - Static method in class org.javalite.common.Convert
-
This method will truncate hours, minutes, seconds and milliseconds to zeros, to conform with JDBC spec: http://download.oracle.com/javase/6/docs/api/java/sql/Date.html.
- 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". - 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
- typeLabels() - Element in annotation interface org.javalite.activejdbc.annotations.BelongsToPolymorphic
-
List of type labels corresponding to parent classes.
U
- underscore(String) - Static method in class org.javalite.common.Inflector
-
Converts a CamelCase string to underscores: "AliceInWonderLand" becomes: "alice_in_wonderland"
- underscore(Map<?, Object>) - Static method in class org.javalite.common.Inflector
-
Will underscore the keys of the map and will return a new map with the same values, but under_score keys.
- UNKNOWN - Enum constant in enum class org.javalite.db_migrator.DatabaseType
- UnrelatedTo - Annotation Interface in org.javalite.activejdbc.annotations
-
This annotation breaks a relationship that exists based on naming conventions.
- unwrap(Class<T>) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCConnection
- unwrap(Class<T>) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCPreparedStatement
- unwrap(Class<T>) - Method in class org.javalite.cassandra.jdbc.CassandraJDBCStatement
- UPDATABLE - Enum constant in enum class org.javalite.activejdbc.RowProcessor.ResultSetConcur
- update(Class<? extends Model>, String, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
- update(String, String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Updates records associated with this model.
- update(MetaModel, Map<String, Object>, String...) - Method in class org.javalite.activejdbc.dialects.DefaultDialect
- update(MetaModel, Map<String, Object>, String...) - Method in interface org.javalite.activejdbc.dialects.Dialect
- updateAll(Class<? extends Model>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
- updateAll(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Updates all records associated with this model.
- uploadedFiles() - Method in class org.javalite.activeweb.HttpSupport
-
Returns a collection of uploaded files from a multi-part port request.
- uploadedFiles(String) - Method in class org.javalite.activeweb.HttpSupport
-
Returns a collection of uploaded files from a multi-part port request.
- uploadedFiles(String, long) - Method in class org.javalite.activeweb.HttpSupport
-
Returns a collection of uploaded files from a multi-part port request.
- uri() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns URI, or a full path of request.
- url - Variable in class org.javalite.http.Request
- url() - Method in interface org.javalite.activeweb.RequestAccess
-
Returns a full URL of the request, all except a query string.
- url() - Static method in class org.javalite.db_migrator.JdbcPropertiesOverride
- useDefaultLayoutForErrors() - Static method in class org.javalite.activeweb.Configuration
-
True to use default layout for error pages, false not to.
- useLibAio(boolean) - Method in class org.javalite.async.Async.AsyncBuilder
- user() - Static method in class org.javalite.db_migrator.JdbcPropertiesOverride
- userAgent() - Method in interface org.javalite.activeweb.RequestAccess
-
Helper method, returns user-agent header of the request.
- Util - Class in org.javalite.activeweb.freemarker
- Util - Class in org.javalite.common
V
- 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.
- Validatable - Interface in org.javalite.validation
-
Top interface to make something validatable.
- validate() - Method in class org.javalite.activejdbc.Model
-
Executes all validators attached to this model.
- validate() - Method in interface org.javalite.validation.Validatable
-
Runs validation.
- validate() - Method in class org.javalite.validation.ValidationSupport
-
Runs all registered validators and collects errors if any.
- validate(boolean) - Method in class org.javalite.activejdbc.Model
-
Executes all validators attached to this model.
- validate(boolean) - Method in interface org.javalite.validation.Validatable
-
Runs validation.
- validate(boolean) - Method in class org.javalite.validation.ValidationSupport
-
Runs all registered validators and collects errors if any.
- validate(String) - Method in class org.javalite.validation.length.Exact
- validate(String) - Method in interface org.javalite.validation.length.LengthOption
- validate(String) - Method in class org.javalite.validation.length.Max
- validate(String) - Method in class org.javalite.validation.length.Min
- validate(String) - Method in class org.javalite.validation.length.Range
- validate(Validatable) - Method in class org.javalite.json.JSONValidator
- validate(Validatable) - Method in class org.javalite.validation.AttributePresenceValidator
- validate(Validatable) - Method in class org.javalite.validation.DateValidator
- validate(Validatable) - Method in class org.javalite.validation.ImplicitConversionValidator
- validate(Validatable) - Method in class org.javalite.validation.length.AttributeLengthValidator
- validate(Validatable) - Method in class org.javalite.validation.NumericValidator
- validate(Validatable) - Method in class org.javalite.validation.RangeValidator
- validate(Validatable) - Method in class org.javalite.validation.RegexpValidator
- validate(Validatable) - Method in class org.javalite.validation.TimestampValidator
- validate(Validatable) - Method in interface org.javalite.validation.Validator
-
Called by framework when validation is required
- validateBoolean(String) - Method in class org.javalite.json.JSONBase
- validateBoolean(String, boolean) - Method in class org.javalite.json.JSONBase
- validateEmailOf(Class<? extends Model>, String) - Static method in class org.javalite.activejdbc.ModelDelegate
- validateEmailOf(String) - Static method in class org.javalite.activejdbc.Model
-
Validates email format.
- validateJSONBase(JSONBase) - Method in class org.javalite.json.BooleanValidator
- validateJSONBase(JSONBase) - Method in class org.javalite.json.JSONValidator
- validateJSONBase(JSONBase) - Method in class org.javalite.json.ListValidator
- validateJSONBase(JSONBase) - Method in class org.javalite.json.MapValidator
- validateList(String) - Method in class org.javalite.json.JSONBase
- validateMap(String) - Method in class org.javalite.json.JSONBase
- 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(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
- validateNumericalityOf(String...) - Static method in class org.javalite.activejdbc.Model
- validateNumericalityOf(String...) - Method in class org.javalite.validation.ValidationSupport
- validateParamsPresence(Map, String...) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Will throw
IllegalArgumentException
if a parameter on the list is missing - validateParamsPresence(Map, String...) - Static method in class org.javalite.activeweb.freemarker.Util
-
Will throw
IllegalArgumentException
if a key in the map is missing. - validatePresenceOf(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
- 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(String...) - Method in class org.javalite.validation.ValidationSupport
- validateRange(Class<? extends Model>, String, Number, Number) - Static method in class org.javalite.activejdbc.ModelDelegate
- validateRange(String, Number, Number) - Static method in class org.javalite.activejdbc.Model
-
Validates range.
- validateRegexpOf(Class<? extends Model>, String, String) - 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.
- validateWith(Class<? extends Model>, Validator) - Static method in class org.javalite.activejdbc.ModelDelegate
- validateWith(List<Validator>) - Method in class org.javalite.validation.ValidationSupport
- validateWith(Validator) - Static method in class org.javalite.activejdbc.Model
-
Add a custom validator to the model.
- validateWith(Validator) - Method in class org.javalite.validation.ValidationSupport
- validateWith(Validator...) - Method in class org.javalite.validation.ValidationSupport
- ValidationBuilder<T extends Validator> - Class in org.javalite.validation
- ValidationBuilder(List<T>) - Constructor for class org.javalite.validation.ValidationBuilder
- ValidationBuilder(T) - Constructor for class org.javalite.validation.ValidationBuilder
- ValidationException - Exception in org.javalite.validation
- ValidationException(String) - Constructor for exception org.javalite.validation.ValidationException
- ValidationException(Validatable) - Constructor for exception org.javalite.validation.ValidationException
- ValidationSupport - Class in org.javalite.validation
-
Manages validators and converters.
- ValidationSupport() - Constructor for class org.javalite.validation.ValidationSupport
- Validator - Interface in org.javalite.validation
- ValidatorAdapter - Class in org.javalite.validation
-
Subclass this class to create custom validators.
- ValidatorAdapter() - Constructor for class org.javalite.validation.ValidatorAdapter
- validators - Variable in class org.javalite.validation.ValidationBuilder
- validators() - Method in class org.javalite.validation.ValidationSupport
- 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
-
Synonym of
RequestSpecHelper.assigns()
. - valString(String) - Method in class org.javalite.activeweb.RequestSpecHelper
-
String value assigned by controller.
- value() - Element in annotation interface org.javalite.activejdbc.annotations.BelongsToParents
- value() - Element in annotation interface org.javalite.activejdbc.annotations.CompositePK
- value() - Element in annotation interface org.javalite.activejdbc.annotations.DbName
- value() - Element in annotation interface org.javalite.activejdbc.annotations.HasManies
- value() - Element in annotation interface org.javalite.activejdbc.annotations.IdGenerator
- value() - Element in annotation interface org.javalite.activejdbc.annotations.IdName
- value() - Element in annotation interface org.javalite.activejdbc.annotations.Many2Manies
- value() - Element in annotation interface org.javalite.activejdbc.annotations.PartitionIDs
- value() - Element in annotation interface org.javalite.activejdbc.annotations.Table
- value() - Element in annotation interface org.javalite.activejdbc.annotations.UnrelatedTo
- value() - Element in annotation interface org.javalite.activejdbc.annotations.VersionColumn
- value() - Element in annotation interface org.javalite.activeweb.annotations.DELETE
- value() - Element in annotation interface org.javalite.activeweb.annotations.FailedValidationReply
- value() - Element in annotation interface org.javalite.activeweb.annotations.GET
- value() - Element in annotation interface org.javalite.activeweb.annotations.HEAD
- value() - Element in annotation interface org.javalite.activeweb.annotations.OPTIONS
- value() - Element in annotation interface org.javalite.activeweb.annotations.PATCH
- value() - Element in annotation interface org.javalite.activeweb.annotations.POST
- value() - Element in annotation interface org.javalite.activeweb.annotations.PUT
- valueOf(String) - Static method in enum class org.javalite.activejdbc.cache.CacheEvent.CacheEventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.activejdbc.cache.QueryCache
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.activejdbc.Configuration.PropertyName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.activejdbc.logging.LogLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.activejdbc.Registry
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.activejdbc.RowProcessor.ResultSetConcur
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.activejdbc.RowProcessor.ResultSetType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.activeweb.controller_filters.AbstractLoggingFilter.Level
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.activeweb.Format
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.activeweb.HttpMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.conversion.BlankToNullConverter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.conversion.ZeroToNullConverter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.javalite.db_migrator.DatabaseType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.javalite.activejdbc.cache.CacheEvent.CacheEventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.javalite.activejdbc.cache.QueryCache
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.javalite.activejdbc.Configuration.PropertyName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.javalite.activejdbc.logging.LogLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.javalite.activejdbc.Registry
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.javalite.activejdbc.RowProcessor.ResultSetConcur
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.javalite.activejdbc.RowProcessor.ResultSetType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.javalite.activeweb.controller_filters.AbstractLoggingFilter.Level
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.javalite.activeweb.Format
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.javalite.activeweb.HttpMethod
-
Returns an array containing the constants of this enum class, 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 class org.javalite.conversion.BlankToNullConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.javalite.conversion.ZeroToNullConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.javalite.db_migrator.DatabaseType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.javalite.validation.Errors
- verificationEnabled() - Static method in class org.javalite.activeweb.CSRF
- VersionColumn - Annotation Interface in org.javalite.activejdbc.annotations
-
This annotation is used to override name of a version column for optimistic locking
- view(Object...) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method to pass multiple names and corresponding values to a view.
- view(String, Object) - Method in class org.javalite.activeweb.HttpSupport
-
Alias to
HttpSupport.assign(String, Object)
. - view(Map) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, calls
HttpSupport.assign(String, Object)
internally. - ViewException - Exception in org.javalite.activeweb
- ViewException(String) - Constructor for exception org.javalite.activeweb.ViewException
- ViewException(String, Throwable) - Constructor for exception org.javalite.activeweb.ViewException
- ViewException(Throwable) - 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
W
- Wait - Class in org.javalite.common
-
Borrowed from Apache Artemis.
- Wait() - Constructor for class org.javalite.common.Wait
- Wait.Condition - Interface in org.javalite.common
- waitFor(long, long, Wait.Condition) - Static method in class org.javalite.common.Wait
-
Same as
Wait.waitFor(long, Condition)
. - waitFor(long, Wait.Condition) - Static method in class org.javalite.common.Wait
-
Waits for a condition to be satisfied or till
durationMillis
, whichever is sooner. - waitFor(Wait.Condition) - Static method in class org.javalite.common.Wait
- WARNING - Enum constant in enum class org.javalite.activejdbc.logging.LogLevel
- WARNING - Enum constant in enum class org.javalite.activeweb.controller_filters.AbstractLoggingFilter.Level
- WebException - Exception in org.javalite.activeweb
- WebException() - Constructor for exception org.javalite.activeweb.WebException
- WebException(String) - Constructor for exception org.javalite.activeweb.WebException
- WebException(String, Throwable) - Constructor for exception org.javalite.activeweb.WebException
- WebException(Throwable) - Constructor for exception org.javalite.activeweb.WebException
- WebsocketConfigProvider - Class in org.javalite.activeweb.websockets
- WebsocketConfigProvider() - Constructor for class org.javalite.activeweb.websockets.WebsocketConfigProvider
- WebSocketConfigurator - Class in org.javalite.activeweb.websockets
-
Based on: https://stackoverflow.com/questions/17936440/accessing-httpsession-from-httpservletrequest-in-a-web-socket-serverendpoint/17994303#17994303
- WebSocketConfigurator() - Constructor for class org.javalite.activeweb.websockets.WebSocketConfigurator
- WebSocketException - Exception in org.javalite.activeweb.websockets
- WebSocketException() - Constructor for exception org.javalite.activeweb.websockets.WebSocketException
- WebSocketException(String) - Constructor for exception org.javalite.activeweb.websockets.WebSocketException
- WebSocketException(String, Throwable) - Constructor for exception org.javalite.activeweb.websockets.WebSocketException
- WebSocketException(Throwable) - Constructor for exception org.javalite.activeweb.websockets.WebSocketException
- where(Class<T>, String, Object...) - Static method in class org.javalite.activejdbc.ModelDelegate
- where(String, Object...) - Static method in class org.javalite.activejdbc.Model
-
Finder method for DB queries based on table represented by this model.
- where(String, Object...) - Method in class org.javalite.activejdbc.ScopeBuilder
-
Applies additional criteria to scopes defined in the model.
- with(Class) - Method in class org.javalite.activeweb.SpecHelper.ModuleBuilder
-
Specifies what mock to use to override a real service in a module.
- with(RowListener) - Method in class org.javalite.activejdbc.RowProcessor
- with(LengthOption) - Method in class org.javalite.validation.length.AttributeLengthValidator
- withDb(String, String, String, String, Supplier<T>) - Static method in class org.javalite.activejdbc.Base
-
Same as
DB.withDb(String, String, String, String, Supplier)
, but with db nameDB.DEFAULT_NAME
. - withDb(String, String, String, String, Supplier<T>) - Method in class org.javalite.activejdbc.DB
-
Convenience method to be used outside ActiveWeb.
- withDb(String, String, Properties, Supplier<T>) - Static method in class org.javalite.activejdbc.Base
-
Same as
DB.withDb(String, Properties, Supplier)
, but with db nameDB.DEFAULT_NAME
. - withDb(String, String, Properties, Supplier<T>) - Method in class org.javalite.activejdbc.DB
-
Convenience method to be used outside ActiveWeb.
- withDb(String, Supplier<T>) - Static method in class org.javalite.activejdbc.Base
-
Same as
DB.withDb(String, Supplier)
, but with db nameDB.DEFAULT_NAME
. - withDb(String, Supplier<T>) - Method in class org.javalite.activejdbc.DB
-
Convenience method to be used outside ActiveWeb.
- withDb(String, Properties, Supplier<T>) - Static method in class org.javalite.activejdbc.Base
-
Same as
DB.withDb(String, Properties, Supplier)
, but with db nameDB.DEFAULT_NAME
. - withDb(String, Properties, Supplier<T>) - Method in class org.javalite.activejdbc.DB
-
Convenience method to be used outside ActiveWeb.
- withDb(Supplier<T>) - Static method in class org.javalite.activejdbc.Base
-
Same as
DB.withDb(Supplier)
, but with db nameDB.DEFAULT_NAME
. - withDb(Supplier<T>) - Method in class org.javalite.activejdbc.DB
-
Convenience method to be used outside ActiveWeb.
- withDb(DataSource, Supplier<T>) - Static method in class org.javalite.activejdbc.Base
-
Same as
DB.withDb(DataSource, Supplier)
, but with db nameDB.DEFAULT_NAME
. - withDb(DataSource, Supplier<T>) - Method in class org.javalite.activejdbc.DB
-
Convenience method to be used outside ActiveWeb.
- withoutPadding() - Method in class org.javalite.common.Base64.Encoder
-
Returns an encoder instance that encodes equivalently to this one, but without adding any padding character at the end of the encoded byte data.
- wrap(InputStream) - Method in class org.javalite.common.Base64.Decoder
-
Returns an input stream for decoding
Base64
encoded byte stream. - wrap(OutputStream) - Method in class org.javalite.common.Base64.Encoder
-
Wraps an output stream for encoding byte data using the
Base64
encoding scheme. - WrapTag - Class in org.javalite.activeweb.freemarker
-
This tag wraps provided content into a given layout.
- WrapTag() - Constructor for class org.javalite.activeweb.freemarker.WrapTag
- write(Writer) - Method in class org.javalite.activeweb.freemarker.TagFactory
- writeExternal(ObjectOutput) - Method in class org.javalite.activejdbc.LazyList
- writeExternal(ObjectOutput) - Method in class org.javalite.activejdbc.Model
- writer() - Method in class org.javalite.activeweb.HttpSupport
-
Produces a writer for sending raw data to HTTP clients.
- writer(String, Map, int) - Method in class org.javalite.activeweb.HttpSupport
-
Produces a writer for sending raw data to HTTP clients.
X
- xhr() - Method in interface org.javalite.activeweb.RequestAccess
-
Synonym for
RequestAccess.isXhr()
. - xml(String) - Static method in class org.javalite.common.Escape
-
Escapes XML.
- xml(StringBuilder, String) - Static method in class org.javalite.common.Escape
-
Escapes XML appending to StringBuilder.
- XPathHelper - Class in org.javalite.test
-
Convenience class for pulling information from XML documents.
- XPathHelper(String) - Constructor for class org.javalite.test.XPathHelper
-
Use constructor and instance methods to only parse once and reuse a parsed tree.
Y
- YAML - Enum constant in enum class org.javalite.activeweb.Format
- YieldTag - Class in org.javalite.activeweb.freemarker
- YieldTag() - Constructor for class org.javalite.activeweb.freemarker.YieldTag
Z
- zeroToNull(Class<? extends Model>, String...) - Static method in class org.javalite.activejdbc.ModelDelegate
- zeroToNull(String...) - Static method in class org.javalite.activejdbc.Model
-
Registers
ZeroToNullConverter
for specified attributes. - ZeroToNullConverter - Enum Class in org.javalite.conversion
-
Converts instances of Number that are zero to null.
All Classes|All Packages|Constant Field Values|Deprecated API|Serialized Form
DBConfiguration.addConnectionConfig(ConnectionConfig)
.