Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X Y 

A

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.ExcludeBuilder - Class in org.javalite.activeweb
 
AbstractControllerConfig.FilterBuilder - Class in org.javalite.activeweb
 
AbstractDBConfig - Class in org.javalite.activeweb
This class is designed to be sub-classed by an application level class called app.config.DbConfig.
AbstractDBConfig() - Constructor for class org.javalite.activeweb.AbstractDBConfig
 
AbstractFreeMarkerConfig - Class in org.javalite.activeweb.freemarker
 
AbstractFreeMarkerConfig() - Constructor for class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
 
AbstractLesscController - Class in org.javalite.activeweb.controllers
Subclass will compile and serve CSS from LESS files.
AbstractLesscController() - Constructor for class org.javalite.activeweb.controllers.AbstractLesscController
 
AbstractLoggingFilter - Class in org.javalite.activeweb.controller_filters
 
AbstractLoggingFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
Creates a filter with preset log level.
AbstractLoggingFilter() - Constructor for class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
Creates a filter with default "INFO" level.
AbstractLoggingFilter.Level - Enum in org.javalite.activeweb.controller_filters
 
AbstractRouteConfig - Class in org.javalite.activeweb
 
AbstractRouteConfig() - Constructor for class org.javalite.activeweb.AbstractRouteConfig
 
action(String) - Method in class org.javalite.activeweb.RouteBuilder
Name of action to which a route is mapped.
ActionNotFoundException - Exception in org.javalite.activeweb
 
ActionNotFoundException(Throwable) - Constructor for exception org.javalite.activeweb.ActionNotFoundException
 
ActionNotFoundException(String) - Constructor for exception org.javalite.activeweb.ActionNotFoundException
 
actionSupportsHttpMethod(String, HttpMethod) - Method in class org.javalite.activeweb.AppController
Checks if the action supports an HTTP method, according to its configuration.
activeReload() - Static method in class org.javalite.activeweb.Configuration
 
add(ControllerFilter...) - Method in class org.javalite.activeweb.AbstractControllerConfig
Adds a set of filters to a set of controllers.
addAttributesExcept(Map, String...) - Method in class org.javalite.activeweb.freemarker.TagFactory
Will add values from params map except the exceptions.
addConnectionWrapper(ConnectionSpecWrapper, boolean) - Static method in class org.javalite.activeweb.Configuration
 
addFilter(Class<? extends AppController>, ControllerFilter) - Method in class org.javalite.activeweb.IntegrationSpec
 
addFormItem(FormItem) - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
 
addGlobalFilters(ControllerFilter...) - Method in class org.javalite.activeweb.AbstractControllerConfig
Adds filters to all controllers globally.
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.controller_filters.TimingFilter
 
after() - Method in class org.javalite.activeweb.DBIntegrationSpec
 
after() - Method in class org.javalite.activeweb.DBSpec
 
afterAppIntegrationSpec() - Method in class org.javalite.activeweb.AppIntegrationSpec
 
afterEnd() - Method in class org.javalite.activeweb.SpecHelper
 
afterTest() - Method in class org.javalite.activeweb.ViewSpec
 
allowedActions(String) - Method in class org.javalite.activeweb.AppController
 
app.controllers - package app.controllers
 
AppConfig - Class in org.javalite.activeweb
 
AppConfig() - Constructor for class org.javalite.activeweb.AppConfig
 
AppContext - Class in org.javalite.activeweb
Instance of this class can hold application-specific objects for duration of application life span.
AppContext() - Constructor for class org.javalite.activeweb.AppContext
 
appContext() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns instance of AppContext.
appContext() - Method in class org.javalite.activeweb.HttpSupport
Returns instance of AppContext.
appContext() - Static method in class org.javalite.activeweb.RequestUtils
Returns instance of AppContext.
AppController - Class in org.javalite.activeweb
Subclass this class to create application controllers.
AppController() - Constructor for class org.javalite.activeweb.AppController
 
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
 
assign(String, Object) - Method in class org.javalite.activeweb.AppController
Assigns value that will be passed into view.
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.
Async - Class in org.javalite.async
Wrapper for embedded Apache ActiveMQ Artemis.
Async(String, boolean, QueueConfig...) - Constructor for class org.javalite.async.Async
Creates and configures a new instance.
Async(String, boolean, Injector, QueueConfig...) - Constructor for class org.javalite.async.Async
Creates and configures a new instance.
AsyncException - Exception in org.javalite.async
 
AsyncException() - Constructor for exception org.javalite.async.AsyncException
 
AsyncException(Throwable) - Constructor for exception org.javalite.async.AsyncException
 
AsyncException(String) - Constructor for exception org.javalite.async.AsyncException
 
AsyncException(String, Throwable) - Constructor for exception org.javalite.async.AsyncException
 
atStart() - Method in class org.javalite.activeweb.ControllerSpec
 
atStart() - Method in class org.javalite.activeweb.SpecHelper
 
atStart00() - Method in class org.javalite.activeweb.RequestSpecHelper
 
attribute(String, String) - Method in class org.javalite.activeweb.freemarker.TagFactory
 

B

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.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.controller_filters.TimingFilter
 
before() - Method in class org.javalite.activeweb.DBIntegrationSpec
 
beforeAppIntegrationSpec() - Method in class org.javalite.activeweb.AppIntegrationSpec
 
beforeTest() - Method in class org.javalite.activeweb.ViewSpec
 
blank(String...) - Method in class org.javalite.activeweb.HttpSupport
Returns true if any named request parameter is blank.
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
 
bytesContent() - Method in class org.javalite.activeweb.RequestSpecHelper
Provides content generated by controller as bytes.

C

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.
ClassLoadException - Exception in org.javalite.activeweb
 
ClassLoadException(String) - Constructor for exception org.javalite.activeweb.ClassLoadException
 
ClassLoadException(Throwable) - Constructor for exception org.javalite.activeweb.ClassLoadException
 
clear() - Method in class org.javalite.activeweb.AbstractRouteConfig
 
clear() - Method in class org.javalite.activeweb.SessionFacade
 
clearConnectionWrappers() - Static method in class org.javalite.activeweb.Configuration
 
clearConnectionWrappers(String) - Static method in class org.javalite.activeweb.Configuration
 
clearConnectionWrappers() - Static method in class org.javalite.activeweb.DBSpecHelper
 
close() - Method in class org.javalite.activeweb.DBControllerSpec
 
closeTestConnections() - Static method in class org.javalite.activeweb.DBSpecHelper
 
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
 
CompilationException - Exception in org.javalite.activeweb
 
CompilationException(String) - Constructor for exception org.javalite.activeweb.CompilationException
 
compile(File, String) - Method in class org.javalite.lessc.maven.CompileLesscFilesMojo
 
compileClass(String) - Static method in class org.javalite.activeweb.DynamicClassFactory
 
CompileLesscFilesMojo - Class in org.javalite.lessc.maven
 
CompileLesscFilesMojo() - Constructor for class org.javalite.lessc.maven.CompileLesscFilesMojo
 
completeInit() - Method in class org.javalite.activeweb.AbstractControllerConfig
 
completeInit() - Method in class org.javalite.activeweb.AppConfig
 
configFile(String) - Method in class org.javalite.activeweb.AbstractDBConfig
Configures multiple database connections from a single property file.
Configuration - Class in org.javalite.activeweb
 
Configuration() - Constructor for class org.javalite.activeweb.Configuration
 
ConfigurationException - Exception in org.javalite.activeweb
 
ConfigurationException(String) - Constructor for exception org.javalite.activeweb.ConfigurationException
 
configureNetty(String, int) - Method in class org.javalite.async.Async
Call this method once after a constructor in order to create a Netty instance to accept out of VM messages.
ConfirmationTag - Class in org.javalite.activeweb.freemarker
Simple confirmation tag.
ConfirmationTag() - Constructor for class org.javalite.activeweb.freemarker.ConfirmationTag
 
ConnectionBuilder - Class in org.javalite.activeweb
Supports DSL for specifying connection parameters for various environments and modes.
ConnectionSpecWrapper - Class in org.javalite.activeweb
 
ConnectionSpecWrapper() - Constructor for class org.javalite.activeweb.ConnectionSpecWrapper
 
containsKey(Object) - Method in class org.javalite.activeweb.SessionFacade
 
containsValue(Object) - Method in class org.javalite.activeweb.SessionFacade
 
content(byte[]) - Method in class org.javalite.activeweb.RequestBuilder
 
contentFor(String) - Method in class org.javalite.activeweb.ViewSpec
This method returns chunks of content that was assigned from a tested template.
ContentForTag - Class in org.javalite.activeweb.freemarker
 
ContentForTag() - Constructor for class org.javalite.activeweb.freemarker.ContentForTag
 
ContentTL - Class in org.javalite.activeweb.freemarker
 
contentType(String) - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
Sets content type of response.
contentType(String) - Method in class org.javalite.activeweb.RequestBuilder
Sets content type on request.
contentType() - Method in class org.javalite.activeweb.RequestSpecHelper
Provides content type set on response by controller
context() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Provides a context of the request - usually an app name (as seen on URL of request).
context() - Method in class org.javalite.activeweb.HttpSupport
Provides a context of the request - usually an app name (as seen on URL of request).
context() - Static method in class org.javalite.activeweb.RequestUtils
Provides a context of the request - usually an app name (as seen on URL of request).
controller(String) - Method in class org.javalite.activeweb.AppIntegrationSpec
Takes controller path.
controller(String) - Method in class org.javalite.activeweb.IntegrationSpec
 
CONTROLLER_NAME - Static variable in class org.javalite.activeweb.Router
 
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
 
Cookie - Class in org.javalite.activeweb
 
Cookie(String, String) - Constructor for class org.javalite.activeweb.Cookie
 
Cookie(String, String, boolean) - Constructor for class org.javalite.activeweb.Cookie
 
cookie(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns a cookie by name, null if not found.
cookie(String) - Method in class org.javalite.activeweb.HttpSupport
Returns a cookie by name, null if not found.
cookie(Cookie) - Method in class org.javalite.activeweb.RequestBuilder
Adds cookie to current request.
cookie(String) - Method in class org.javalite.activeweb.RequestSpecHelper
Returns a cookie from last response by name, null if not found.
cookie(String) - Static method in class org.javalite.activeweb.RequestUtils
Returns a cookie by name, null if not found.
cookies() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns collection of all cookies browser sent.
cookies() - Method in class org.javalite.activeweb.HttpSupport
Returns collection of all cookies browser sent.
cookies() - Static method in class org.javalite.activeweb.RequestUtils
Returns collection of all cookies browser sent.
cookieValue(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Convenience method, returns cookie value.
cookieValue(String) - Method in class org.javalite.activeweb.HttpSupport
Convenience method, returns cookie value.
cookieValue(String) - Method in class org.javalite.activeweb.RequestSpecHelper
Convenience method, returns cookie value.
cookieValue(String) - Static method in class org.javalite.activeweb.RequestUtils
Convenience method, returns cookie value.
count(String) - Method in class org.javalite.activeweb.RequestSpecHelper
Parses controller response and counts elements that are found by a CSS query.
create() - Method in class org.javalite.activeweb.SpecHelper.ModuleBuilder
Terminal method of a builder.
createControllerInstance(String) - Static method in class org.javalite.activeweb.ControllerFactory
 
createInjector(T) - Method in class org.javalite.activeweb.SpecHelper
This is a convenience method for setting Guice modules and service mocks.
createInstance(String, Class<T>) - Static method in class org.javalite.activeweb.DynamicClassFactory
 

D

db(String) - Method in class org.javalite.activeweb.ConnectionBuilder
Name of a database.
DBCommandListener - Class in org.javalite.async
Standard command listener to process commands that require a database access.
DBCommandListener(String) - Constructor for class org.javalite.async.DBCommandListener
JNDI string to open a connection from a pool.
DBCommandListener() - Constructor for class org.javalite.async.DBCommandListener
Use this constructor to open a connection using a set of properties from "database.properties" file according to current ACTIVE_ENV environment (development, production, etc.).
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
 
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
 
DBSpec - Class in org.javalite.activeweb
Super class of a general spec that requires a connection to a test DB.
DBSpec() - Constructor for class org.javalite.activeweb.DBSpec
 
DBSpecHelper - Class in org.javalite.activeweb
Used by test classes as a helper to open/close DB connection, start and rollback transactions.
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
 
DELETE - Annotation Type in org.javalite.activeweb.annotations
Mark an action of a controller with this annotation to receive an HTTP DELETE request.
delete(String) - Method in class org.javalite.activeweb.RequestBuilder
Simulate HTTP DELETE call to an action of controller.
delete() - Method in class org.javalite.activeweb.RouteBuilder
Specifies that this route is mapped to HTTP DELETE method.
destroy(AppContext) - Method in class org.javalite.activeweb.Bootstrap
Called when application is destroyed (un-deployed).
destroy() - Method in class org.javalite.activeweb.RequestDispatcher
 
destroy() - Method in class org.javalite.activeweb.SessionFacade
Destroys current session
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.javalite.activeweb.RequestDispatcher
 
DynamicClassFactory - Class in org.javalite.activeweb
Created By User: evan Date: 4/30/13
DynamicClassFactory() - Constructor for class org.javalite.activeweb.DynamicClassFactory
 

E

encoding(String) - Method in class org.javalite.activeweb.HttpSupport
entrySet() - Method in class org.javalite.activeweb.SessionFacade
 
environment(String) - Method in class org.javalite.activeweb.AbstractDBConfig
 
environment(String, boolean) - Method in class org.javalite.activeweb.AbstractDBConfig
 
exceptFor(Class<? extends AppController>...) - Method in class org.javalite.activeweb.AbstractControllerConfig.ExcludeBuilder
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.
excludeActions(String...) - Method in class org.javalite.activeweb.AbstractControllerConfig.FilterBuilder
Excludes actions from filter configuration.
ExcludeBuilder(ControllerFilter[]) - Constructor for class org.javalite.activeweb.AbstractControllerConfig.ExcludeBuilder
 
execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.javalite.activeweb.freemarker.ContentForTag
 
execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.javalite.activeweb.freemarker.FlashTag
 
execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
 
execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.javalite.activeweb.freemarker.RenderTag
 
execute(Environment, Map, TemplateModel[], TemplateDirectiveBody) - Method in class org.javalite.activeweb.freemarker.WrapTag
 
execute() - Method in class org.javalite.async.Command
Subclasses are to provide implementation of this method to get application-specific work done.
execute() - Method in class org.javalite.lessc.maven.CompileLesscFilesMojo
 
exists(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Tests if a request parameter exists.
exists(String) - Method in class org.javalite.activeweb.HttpSupport
Tests if a request parameter exists.
exists(String) - Static method in class org.javalite.activeweb.RequestUtils
Tests if a request parameter exists.

F

FileItem - Class in org.javalite.activeweb
Convenience class for use in tests.
FileItem(String, String, String, byte[]) - Constructor for class org.javalite.activeweb.FileItem
Constructor to be used in tests.
FileItem(String, String, byte[]) - Constructor for class org.javalite.activeweb.FileItem
Constructor to be used in tests.
FileItem(File) - Constructor for class org.javalite.activeweb.FileItem
Constructor to be used in tests, field name and file name are set to File name.
FilterBuilder(ControllerFilter[]) - Constructor for class org.javalite.activeweb.AbstractControllerConfig.FilterBuilder
 
FilterException - Exception in org.javalite.activeweb
 
FilterException(Throwable) - Constructor for exception org.javalite.activeweb.FilterException
 
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.
findPackagePrefix(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.
flash(Map) - Method in class org.javalite.activeweb.HttpSupport
Flash method to display multiple flash messages.
flash(Object...) - Method in class org.javalite.activeweb.HttpSupport
Flash method to display multiple flash messages.
flash(String) - Method in class org.javalite.activeweb.HttpSupport
Sets a flash name for a flash with a body.
flash(String, Object) - Method in class org.javalite.activeweb.HttpSupport
Sends value to flash.
flash(String) - Method in class org.javalite.activeweb.SpecHelper
Returns a named flash value assigned to session by controller.
flash(String, Class<T>) - Method in class org.javalite.activeweb.SpecHelper
Returns a named flash value assigned to session by controller.
flashExists(String) - Method in class org.javalite.activeweb.SpecHelper
Tests if flash by name exists.
FlashTag - Class in org.javalite.activeweb.freemarker
This tag allows to display a message on a page that lives for one more request.
FlashTag() - Constructor for class org.javalite.activeweb.freemarker.FlashTag
 
forActions(String...) - Method in class org.javalite.activeweb.AbstractControllerConfig.FilterBuilder
Adds a list of actions for which filters are configured.
format() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns a format part of the URI, or null if URI does not have a format part.
format() - Method in class org.javalite.activeweb.HttpSupport
Returns a format part of the URI, or null if URI does not have a format part.
format(String) - Method in class org.javalite.activeweb.HttpSupport.RenderBuilder
Sets a format for the current request.
format(String) - Method in class org.javalite.activeweb.RequestBuilder
Sets format for this request.
format() - Static method in class org.javalite.activeweb.RequestUtils
Returns a format part of the URI, or null if URI does not have a format part.
FormItem - Class in org.javalite.activeweb
Represents an form item from a multi-part form.
FormItem(String, String, boolean, String, byte[]) - Constructor for class org.javalite.activeweb.FormItem
This constructor is used for testing.
formItem(Object, Object) - Method in class org.javalite.activeweb.RequestBuilder
Convenience method to add a non-file form item to request.
formItem(String, String, boolean, String, byte[]) - Method in class org.javalite.activeweb.RequestBuilder
Adds an "uploaded" file to the request.
formItem(FormItem) - Method in class org.javalite.activeweb.RequestBuilder
Adds "uploaded" file to the request.
formItems(Object...) - Method in class org.javalite.activeweb.RequestBuilder
Convenience method for sending pairs of name and values with multi-part request.
FormTag - Class in org.javalite.activeweb.freemarker
This is a FreeMarker directive which is registered as <@form...
FormTag() - Constructor for class org.javalite.activeweb.freemarker.FormTag
 
FreeMarkerTag - Class in org.javalite.activeweb.freemarker
Convenience class for implementing application - specific tags.
FreeMarkerTag() - Constructor for class org.javalite.activeweb.freemarker.FreeMarkerTag
 
FreeMarkerTemplateManager - Class in org.javalite.activeweb.freemarker
 
FreeMarkerTemplateManager() - Constructor for class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
 
fromBytes(byte[]) - Static method in class org.javalite.async.Command
 
fromXml(String) - Static method in class org.javalite.async.Command
Method used by framework to de-serialize a command from XML.

G

generate(String, String, String, boolean, Map) - Static method in class org.javalite.activeweb.Router
Generates a URI for a controller.
generateImage(String) - Static method in class org.javalite.activeweb.Captcha
Generates a PNG image of text 180 pixels wide, 40 pixels high with white background.
generateText() - Static method in class org.javalite.activeweb.Captcha
Generates a random alpha-numeric string of eight characters.
GET - Annotation Type in org.javalite.activeweb.annotations
Mark an action of a controller with this annotation to receive an HTTP GET request.
get(String) - Method in class org.javalite.activeweb.AppContext
Retrieves object by name
get(String, Class<T>) - Method in class org.javalite.activeweb.AppContext
Retrieves object by name.
get() - Static method in class org.javalite.activeweb.async.Host
 
get(String) - Static method in class org.javalite.activeweb.Configuration
 
get(Object) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Gets an object from context - by name.
get(String) - Method in class org.javalite.activeweb.RequestBuilder
Simulate HTTP GET call to an action of controller.
get(String) - Method in class org.javalite.activeweb.RequestContext
 
get() - Method in class org.javalite.activeweb.RouteBuilder
Specifies that this route is mapped to HTTP GET method.
get(String) - Method in class org.javalite.activeweb.SessionFacade
Retrieve object from session.
get(String, Class<T>) - Method in class org.javalite.activeweb.SessionFacade
Convenience method, will do internal check for null and then cast.
get(Object) - Method in class org.javalite.activeweb.SessionFacade
 
get(String) - Method in class org.javalite.activeweb.SessionTestFacade
Retrieve object from session.
get(String, Class<T>) - Method in class org.javalite.activeweb.SessionTestFacade
Convenience method, will do internal check for null and then cast.
getActionName() - Method in class org.javalite.activeweb.Route
 
getActionName() - Method in class org.javalite.activeweb.RouteBuilder
 
getAllContent() - Static method in class org.javalite.activeweb.freemarker.ContentTL
 
getAllVariables() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns a map of all variables in scope.
getAsyncContext() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
 
getBootstrapClassName() - Static method in class org.javalite.activeweb.Configuration
 
getBytes() - Method in class org.javalite.activeweb.FormItem
Reads contents of a file into a byte array at once.
getBytes(BytesMessage) - Static method in class org.javalite.async.Async
 
getCommandListener() - Method in class org.javalite.async.QueueConfig
 
getCompiledClass(String) - Static method in class org.javalite.activeweb.DynamicClassFactory
 
getConfig() - Method in class org.javalite.async.Async
Get additional server configuration.
getConfiguration() - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
 
getConnectionSpec() - Method in class org.javalite.activeweb.ConnectionSpecWrapper
 
getConnectionSpecWrappers() - Static method in class org.javalite.activeweb.Configuration
Provides a list of all connection wrappers corresponding to a current environment.
getConnectionSpecWrappers(String) - Static method in class org.javalite.activeweb.Configuration
Provides a list of all connection wrappers corresponding to a given environment.
getContentType() - Method in class org.javalite.activeweb.AppController
Returns hardcoded value "text/html".
getContentType() - Method in class org.javalite.activeweb.FormItem
Content type of this form field.
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
 
getControllerClassName(String) - Static method in class org.javalite.activeweb.ControllerFactory
Expected paths: /controller, /package/controller, /package/package2/controller, /package/package2/package3/controller, etc.
getControllerClassName() - Method in class org.javalite.activeweb.ControllerSpec
 
getControllerClassName() - Method in class org.javalite.activeweb.Route
This is used in specs
getControllerConfigClassName() - Static method in class org.javalite.activeweb.Configuration
 
getControllerPath() - Method in class org.javalite.activeweb.ControllerSpec
Returns a controller path - this includes packages if there are any after "app.controllers".
getControllerPath() - Method in class org.javalite.activeweb.Route
 
getControllerPath(String) - Method in class org.javalite.activeweb.Router
Finds a controller path from URI.
getControllerRegistry() - Method in class org.javalite.activeweb.RequestDispatcher
 
getControllerResponse() - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
 
getCookies() - Method in class org.javalite.activeweb.RequestSpecHelper
Returns all cookies from last response.
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.
getDbConfigClassName() - Static method in class org.javalite.activeweb.Configuration
 
getDbName() - Method in class org.javalite.activeweb.ConnectionSpecWrapper
 
getDefaultLayout() - Static method in class org.javalite.activeweb.Configuration
 
getDispatcherType() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
 
getDomain() - Method in class org.javalite.activeweb.Cookie
 
getEncoding() - Method in class org.javalite.activeweb.HttpSupport
Controllers can override this method to return encoding they require.
getEnv() - Static method in class org.javalite.activeweb.Configuration
Returns name of environment, such as "development", "production", etc.
getEnvironment() - Method in class org.javalite.activeweb.ConnectionSpecWrapper
 
getExcludeControllerClasses() - Method in class org.javalite.activeweb.AbstractControllerConfig.ExcludeBuilder
 
getFieldName() - Method in class org.javalite.activeweb.FormItem
Form field name.
getFile(String, List<FormItem>) - Method in class org.javalite.activeweb.HttpSupport
Convenience method to get file content from multipart/form-data request.
getFileName() - Method in class org.javalite.activeweb.FormItem
File name.
getFilters() - Method in class org.javalite.activeweb.AbstractControllerConfig.ExcludeBuilder
 
getFormItemIterator() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
 
getFormItems() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
 
getFreeMarkerConfig() - Static method in class org.javalite.activeweb.Configuration
 
getId() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns value of ID if one is present on a URL.
getId() - Method in class org.javalite.activeweb.HttpSupport
Returns value of ID if one is present on a URL.
getId() - Static method in class org.javalite.activeweb.RequestUtils
Returns value of ID if one is present on a URL.
getId() - Method in class org.javalite.activeweb.Route
 
getId() - Method in class org.javalite.activeweb.RouteBuilder
 
getId() - Method in class org.javalite.activeweb.SessionFacade
returns ID of the underlying session
getIgnoreSpecs() - Method in class org.javalite.activeweb.AbstractRouteConfig
 
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.
getJmsConfig() - Method in class org.javalite.async.Async
Get additional JMS configuration.
getJMSMessageID() - Method in class org.javalite.async.Command
 
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.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 class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
 
getListenerCount() - Method in class org.javalite.async.QueueConfig
 
getLocale() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
getLocale() - Method in class org.javalite.activeweb.HttpSupport
getLocale() - Static method in class org.javalite.activeweb.RequestUtils
getMap(String) - Method in class org.javalite.activeweb.HttpSupport
Returns a map parsed from a request if parameter names have a "hash" syntax:
getMap(String, List<FormItem>) - Method in class org.javalite.activeweb.HttpSupport
Convenience method to get parameter map in case multipart/form-data request was used.
getMaxAge() - Method in class org.javalite.activeweb.Cookie
 
getMaxUploadSize() - Static method in class org.javalite.activeweb.Configuration
 
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.WebException
 
getMessageCount(String) - Method in class org.javalite.async.Async
Returns number of messages currently in queue
getMessageCounts() - Method in class org.javalite.async.Async
Returns counts of messages for all queues.
getName() - Method in class org.javalite.activeweb.Cookie
 
getName() - Method in class org.javalite.activeweb.FormItem
File name.
getName() - Method in class org.javalite.async.QueueConfig
 
getPart(String) - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
 
getParts() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
 
getPath() - Method in class org.javalite.activeweb.Cookie
 
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
 
getRequestBytes() - Method in class org.javalite.activeweb.HttpSupport
Reads entire request data as byte array.
getRequestHost() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
This method returns a host name of a web server if this container is fronted by one, such that it sets a header X-Forwarded-Host on the request and forwards it to the Java container.
getRequestHost() - Method in class org.javalite.activeweb.HttpSupport
This method returns a host name of a web server if this container is fronted by one, such that it sets a header X-Forwarded-Host on the request and forwards it to the Java container.
getRequestHost() - Static method in class org.javalite.activeweb.RequestUtils
This method returns a host name of a web server if this container is fronted by one, such that it sets a header X-Forwarded-Host on the request and forwards it to the Java container.
getRequestInputStream() - Method in class org.javalite.activeweb.HttpSupport
Returns InputStream of the request.
getRequestPort() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
This method returns a port of a web server if this Java container is fronted by one, such that it sets a header X-Forwarded-Port on the request and forwards it to the Java container.
getRequestPort() - Method in class org.javalite.activeweb.HttpSupport
This method returns a port of a web server if this Java container is fronted by one, such that it sets a header X-Forwarded-Port on the request and forwards it to the Java container.
getRequestPort() - Static method in class org.javalite.activeweb.RequestUtils
This method returns a port of a web server if this Java container is fronted by one, such that it sets a header X-Forwarded-Port on the request and forwards it to the Java container.
getRequestProtocol() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
This method returns a protocol of a request to web server if this container is fronted by one, such that it sets a header X-Forwarded-Proto on the request and forwards it to the Java container.
getRequestProtocol() - Method in class org.javalite.activeweb.HttpSupport
This method returns a protocol of a request to web server if this container is fronted by one, such that it sets a header X-Forwarded-Proto on the request and forwards it to the Java container.
getRequestProtocol() - Static method in class org.javalite.activeweb.RequestUtils
This method returns a protocol of a request to web server if this container is fronted by one, such that it sets a header X-Forwarded-Proto on the request and forwards it to the Java container.
getRequestStream() - Method in class org.javalite.activeweb.HttpSupport
getRequestString() - Method in class org.javalite.activeweb.HttpSupport
Reads entire request data as String.
getResponseHeaders() - Method in class org.javalite.activeweb.HttpSupport
Returns response headers
getRootPackage() - Static method in class org.javalite.activeweb.Configuration
 
getRoute() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns instance of Route to be used for potential conditional logic inside controller filters.
getRoute() - Method in class org.javalite.activeweb.HttpSupport
Returns instance of Route to be used for potential conditional logic inside controller filters.
getRoute() - Static method in class org.javalite.activeweb.RequestUtils
Returns instance of Route to be used for potential conditional logic inside controller filters.
getRouteConfigClassName() - Static method in class org.javalite.activeweb.Configuration
 
getRoutes() - Method in class org.javalite.activeweb.AbstractRouteConfig
 
getSerializationPolicy(String, String) - Method in class org.javalite.activeweb.GWTAppController
 
getSession() - Method in class org.javalite.activeweb.SessionTestFacade
 
getStreamAsString() - Method in class org.javalite.activeweb.FormItem
Converts entire content of this item to String.
getString() - Method in class org.javalite.activeweb.FormItem
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.
getTargetDir() - Static method in class org.javalite.activeweb.Configuration
 
getTargetDirectory() - Method in class org.javalite.lessc.maven.LessConfig
 
getTargetFileName() - Method in class org.javalite.lessc.maven.LessConfig
 
getTemplateManager() - Static method in class org.javalite.activeweb.Configuration
 
getTmpDir() - Static method in class org.javalite.activeweb.Configuration
 
getTopCommands(int, String) - Method in class org.javalite.async.Async
Returns top commands in queue.
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
 
getUserSegmentName(String) - Method in class org.javalite.activeweb.RouteBuilder
Extracts user segment name from route config.
getUserSegments() - Method in class org.javalite.activeweb.RequestContext
 
getValue() - Method in class org.javalite.activeweb.Cookie
 
getValue() - Method in class org.javalite.activeweb.freemarker.SelectOption
 
getVersion() - Method in class org.javalite.activeweb.Cookie
 
getWildCardName() - Method in class org.javalite.activeweb.RequestContext
 
getWildCardName() - Method in class org.javalite.activeweb.Route
 
getWildcardName() - Method in class org.javalite.activeweb.RouteBuilder
 
getWildCardValue() - Method in class org.javalite.activeweb.RequestContext
 
getWildCardValue() - Method in class org.javalite.activeweb.Route
 
getWildCardValue() - Method in class org.javalite.activeweb.RouteBuilder
 
GWTAppController - Class in org.javalite.activeweb
This class was adapted for ActiveWeb from com.google.gwt.user.server.rpc.RemoteServiceServlet (GWT SDK 2.2.0)
GWTAppController() - Constructor for class org.javalite.activeweb.GWTAppController
 
GWTByteArrayResponse - Class in org.javalite.activeweb
 
GWTByteArrayResponse(byte[]) - Constructor for class org.javalite.activeweb.GWTByteArrayResponse
 

H

HEAD - Annotation Type in org.javalite.activeweb.annotations
Mark an action of a controller with this annotation to receive an HTTP HEAD request.
header(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns a request header by name.
header(String) - Method in class org.javalite.activeweb.HttpSupport
Returns a request header by name.
header(String, String) - Method in class org.javalite.activeweb.HttpSupport
Adds a header to response.
header(String, Object) - Method in class org.javalite.activeweb.HttpSupport
Adds a header to response.
header(String, String) - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
Sets a HTTP header on response.
header(String, String) - Method in class org.javalite.activeweb.RequestBuilder
Sets a single header for the request.
header(String) - Method in class org.javalite.activeweb.RequestSpecHelper
Returns header set by controller or filter.
header(String) - Static method in class org.javalite.activeweb.RequestUtils
Returns a request header by name.
headers() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns all headers from a request keyed by header name.
headers() - Method in class org.javalite.activeweb.HttpSupport
Returns all headers from a request keyed by header name.
headers(String...) - Method in class org.javalite.activeweb.RequestBuilder
Convenience method to set names and values for headers.
headers() - Static method in class org.javalite.activeweb.RequestUtils
Returns all headers from a request keyed by header name.
HeadersLogFilter - Class in org.javalite.activeweb.controller_filters
Use this filter to log HTTP request (and response) headers to a log system.
HeadersLogFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.HeadersLogFilter
Creates a filter with preset log level.
HeadersLogFilter(AbstractLoggingFilter.Level, boolean) - Constructor for class org.javalite.activeweb.controller_filters.HeadersLogFilter
Creates a filter with preset log level.
HeadersLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.HeadersLogFilter
Creates a filter with default "INFO" level.
Host - Class in org.javalite.activeweb.async
 
host() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns local host name on which request was received.
host() - Method in class org.javalite.activeweb.HttpSupport
Returns local host name on which request was received.
host() - Static method in class org.javalite.activeweb.RequestUtils
Returns local host name on which request was received.
HttpMethod - Enum 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
This class is to be overridden by those filters that are to produce/override responses generated by controller.
HttpSupportFilter() - Constructor for class org.javalite.activeweb.controller_filters.HttpSupportFilter
 

I

id(Object) - Method in class org.javalite.activeweb.RequestBuilder
Sets ID for this request.
id() - Method in class org.javalite.activeweb.SessionFacade
Returns a session ID from underlying session.
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.
index() - Method in class app.controllers.SimpleController
 
index() - Method in class org.javalite.activeweb.controllers.AbstractLesscController
 
index() - Method in class org.javalite.activeweb.GWTAppController
 
init(AppContext) - Method in class org.javalite.activeweb.AppConfig
 
init(AppContext) - Method in class org.javalite.activeweb.Bootstrap
Called when application is bootstraps.
init() - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
Called by framework during initialization.
init(FilterConfig) - Method in class org.javalite.activeweb.RequestDispatcher
 
initApp(AppContext) - Method in class org.javalite.activeweb.RequestDispatcher
 
initDBConfig() - Static method in class org.javalite.activeweb.DBControllerSpec
 
initDBConfig() - Static method in class org.javalite.activeweb.DBSpec
 
initDBConfig() - Static method in class org.javalite.activeweb.DBSpecHelper
 
InitException - Exception in org.javalite.activeweb
 
InitException() - Constructor for exception org.javalite.activeweb.InitException
 
InitException(String) - Constructor for exception org.javalite.activeweb.InitException
 
InitException(String, Throwable) - Constructor for exception org.javalite.activeweb.InitException
 
InitException(Throwable) - Constructor for exception org.javalite.activeweb.InitException
 
inject(Injector) - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
Injects user tags with members
integrateViews() - Method in class org.javalite.activeweb.RequestBuilder
Call this method to cause generation of the view after execution of a controller.
integrateViews(boolean) - Method in class org.javalite.activeweb.RequestBuilder
Call this method to cause generation of the view after execution of a controller.
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
 
InternalErrorResponse - Class in org.javalite.activeweb
 
InternalErrorResponse() - Constructor for class org.javalite.activeweb.InternalErrorResponse
 
invalidate() - Method in class org.javalite.activeweb.SessionFacade
Invalidates current session.
invalidate() - Method in class org.javalite.activeweb.SessionTestFacade
Invalidates current session.
ipAddress() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns local IP address on which request was received.
ipAddress() - Method in class org.javalite.activeweb.HttpSupport
Returns local IP address on which request was received.
ipAddress() - Static method in class org.javalite.activeweb.RequestUtils
Returns local IP address on which request was received.
ipForwardedFor() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns IP address that the web server forwarded request for.
ipForwardedFor() - Method in class org.javalite.activeweb.HttpSupport
Returns IP address that the web server forwarded request for.
ipForwardedFor() - Static method in class org.javalite.activeweb.RequestUtils
Returns IP address that the web server forwarded request for.
isAsyncStarted() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
 
isAsyncSupported() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
 
isDelete() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
True if this request uses HTTP DELETE method, false otherwise.
isDelete() - Method in class org.javalite.activeweb.HttpSupport
True if this request uses HTTP DELETE method, false otherwise.
isDelete() - Static method in class org.javalite.activeweb.RequestUtils
True if this request uses HTTP DELETE method, false otherwise.
isDurable() - Method in class org.javalite.async.QueueConfig
 
isEmpty() - Method in class org.javalite.activeweb.SessionFacade
 
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.
isFormField() - Method in class org.javalite.activeweb.FormItem
returns true if this is a form field, false if not.
isGet() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
True if this request uses HTTP GET method, false otherwise.
isGet() - Method in class org.javalite.activeweb.HttpSupport
True if this request uses HTTP GET method, false otherwise.
isGet() - Static method in class org.javalite.activeweb.RequestUtils
True if this request uses HTTP GET method, false otherwise.
isHead() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
True if this request uses HTTP HEAD method, false otherwise.
isHead() - Method in class org.javalite.activeweb.HttpSupport
True if this request uses HTTP HEAD method, false otherwise.
isHead() - Static method in class org.javalite.activeweb.RequestUtils
True if this request uses HTTP HEAD method, false otherwise.
isHttpOnly() - Method in class org.javalite.activeweb.Cookie
Tells if a cookie HTTP only or not.
isMethod(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
 
isMethod(String) - Static method in class org.javalite.activeweb.RequestUtils
 
isPaused(String) - Method in class org.javalite.async.Async
 
isPost() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
True if this request uses HTTP POST method, false otherwise.
isPost() - Method in class org.javalite.activeweb.HttpSupport
True if this request uses HTTP POST method, false otherwise.
isPost() - Static method in class org.javalite.activeweb.RequestUtils
True if this request uses HTTP POST method, false otherwise.
isPut() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
True if this request uses HTTP PUT method, false otherwise.
isPut() - Method in class org.javalite.activeweb.HttpSupport
True if this request uses HTTP PUT method, false otherwise.
isPut() - Static method in class org.javalite.activeweb.RequestUtils
True if this request uses HTTP PUT method, false otherwise.
isSecure() - Method in class org.javalite.activeweb.Cookie
 
isSelected() - Method in class org.javalite.activeweb.freemarker.SelectOption
 
isTesting() - Static method in class org.javalite.activeweb.Configuration
 
isTesting() - Method in class org.javalite.activeweb.ConnectionSpecWrapper
 
isWildCard() - Method in class org.javalite.activeweb.Route
 
isWildcard() - Method in class org.javalite.activeweb.RouteBuilder
 
isXhr() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns true if this request is Ajax.
isXhr() - Method in class org.javalite.activeweb.HttpSupport
Returns true if this request is Ajax.
isXhr() - Static method in class org.javalite.activeweb.RequestUtils
Returns true if this request is Ajax.

J

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
jndi(String) - Method in class org.javalite.activeweb.ConnectionBuilder
Provide a name of a JNDI datasource configured for runtime.
jsonList() - Method in class org.javalite.activeweb.HttpSupport
Converts posted JSON array to a Java List.
jsonMap() - Method in class org.javalite.activeweb.HttpSupport
Converts posted JSON map to a Java Map.
jsonMaps() - Method in class org.javalite.activeweb.HttpSupport
Converts posted JSON maps to a Java Maps array.

K

keySet() - Method in class org.javalite.activeweb.SessionFacade
 

L

layout(String) - Method in class org.javalite.activeweb.HttpSupport.RenderBuilder
Use this method to override a default layout configured.
layout() - Method in class org.javalite.activeweb.RequestSpecHelper
Provides layout set after executing an action of a controller.
lessc(File) - Method in class org.javalite.activeweb.controllers.AbstractLesscController
 
LessConfig - Class in org.javalite.lessc.maven
 
LessConfig() - Constructor for class org.javalite.lessc.maven.LessConfig
 
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
 
locale() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns locale of request.
locale(Locale) - Method in class org.javalite.activeweb.HttpSupport
locale() - Method in class org.javalite.activeweb.HttpSupport
Returns locale of request.
locale() - Static method in class org.javalite.activeweb.RequestUtils
Returns locale of request.
log(String) - Method in class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
 
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
 
logError(String) - Method in class org.javalite.activeweb.HttpSupport
 
logError(Throwable) - Method in class org.javalite.activeweb.HttpSupport
 
logError(String, Throwable) - Method in class org.javalite.activeweb.HttpSupport
 
logger() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Provides a logger to a subclass.
logInfo(String) - Method in class org.javalite.activeweb.HttpSupport
 
logRequestParams() - Static method in class org.javalite.activeweb.Configuration
 
logWarning(String) - Method in class org.javalite.activeweb.HttpSupport
 
logWarning(String, Throwable) - Method in class org.javalite.activeweb.HttpSupport
 

M

matches(String, HttpMethod) - Method in class org.javalite.activeweb.RouteBuilder
Returns true if this route matches the request URI, otherwise returns false.
merge(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
 
merge(Map, String, String, String, Writer) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
 
merge(String, Map) - Method in class org.javalite.activeweb.HttpSupport
Will merge a template and return resulting string.
merge(Map, String, String, String, Writer) - Method in class org.javalite.activeweb.TemplateManager
Merges values with templates and writes a merged template to the writer.
merge(Map, String, Writer) - Method in class org.javalite.activeweb.TemplateManager
Same as TemplateManager.merge(java.util.Map, String, String, String, java.io.Writer), but uses default layout and default format (html).
message(String, Locale, Object...) - Static method in class org.javalite.activeweb.Messages
Looks for a localized property/message in activeweb_messages bundle.
message(String, Object...) - Static method in class org.javalite.activeweb.Messages
Looks for a property/message in activeweb_messages bundle.
Messages - Class in org.javalite.activeweb
This class is used to pull messages from a resource bundle called activeweb_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
 
method() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns an HTTP method from the request.
method(Annotation) - Static method in enum org.javalite.activeweb.HttpMethod
Detects a method from annotation
method() - Method in class org.javalite.activeweb.HttpSupport
Returns an HTTP method from the request.
method() - Static method in class org.javalite.activeweb.RequestUtils
Returns an HTTP method from the request.
MockMultipartHttpServletRequestImpl - Class in org.javalite.activeweb
 
MockMultipartHttpServletRequestImpl() - Constructor for class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
 
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
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.

N

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.
noLayout() - Method in class org.javalite.activeweb.HttpSupport.RenderBuilder
Call this method to turn off all layouts.

O

onCommand(T) - Method in class org.javalite.async.CommandListener
 
onCommand(T) - Method in class org.javalite.async.DBCommandListener
 
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
 
onException(Command, Exception) - Method in class org.javalite.async.DBCommandListener
Override in subclasses to handle exceptions.
onMessage(Message) - Method in class org.javalite.async.CommandListener
 
open() - Method in class org.javalite.activeweb.DBControllerSpec
 
open() - Method in class org.javalite.activeweb.DBSpec
 
openTestConnections() - Static method in class org.javalite.activeweb.DBSpecHelper
 
OPTIONS - Annotation Type in org.javalite.activeweb.annotations
Mark an action of a controller with this annotation to receive an HTTP OPTIONS request.
options(String) - Method in class org.javalite.activeweb.RequestBuilder
Simulate HTTP OPTIONS call to an action of controller.
org.javalite.activeweb - package org.javalite.activeweb
 
org.javalite.activeweb.annotations - package org.javalite.activeweb.annotations
 
org.javalite.activeweb.async - package org.javalite.activeweb.async
 
org.javalite.activeweb.controller_filters - package org.javalite.activeweb.controller_filters
 
org.javalite.activeweb.controllers - package org.javalite.activeweb.controllers
 
org.javalite.activeweb.freemarker - package org.javalite.activeweb.freemarker
 
org.javalite.async - package org.javalite.async
 
org.javalite.lessc.maven - package org.javalite.lessc.maven
 
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.

P

PACKAGE_SUFFIX - Static variable in class org.javalite.activeweb.Router
 
param(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns value of one named parameter from request.
param(String) - Method in class org.javalite.activeweb.HttpSupport
Returns value of one named parameter from request.
param(String, List<FormItem>) - Method in class org.javalite.activeweb.HttpSupport
Convenience method to get a parameter in case multipart/form-data request was used.
param(String, Object) - Method in class org.javalite.activeweb.RequestBuilder
Sets a single parameter for request.
param(String) - Method in class org.javalite.activeweb.RequestBuilder
Convenience method, exists to pass parameters with blank values.
param(String) - Static method in class org.javalite.activeweb.RequestUtils
Returns value of routing user segment, or route wild card value, or request parameter.
param(String, List<FormItem>) - Static method in class org.javalite.activeweb.RequestUtils
Convenience method to get a parameter value in case multipart/form-data request was used.
params(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns multiple request values for a name.
params() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns an instance of java.util.Map containing parameter names as keys and parameter values as map values.
params(String) - Method in class org.javalite.activeweb.HttpSupport
Returns multiple request values for a name.
params() - Method in class org.javalite.activeweb.HttpSupport
Returns an instance of java.util.Map containing parameter names as keys and parameter values as map values.
params(String, List<FormItem>) - Method in class org.javalite.activeweb.HttpSupport
Convenience method to get parameters in case multipart/form-data request was used.
params(Object...) - Method in class org.javalite.activeweb.RequestBuilder
Convenience method for setting parameters of the request.
params(String) - Static method in class org.javalite.activeweb.RequestUtils
Returns multiple request values for a name.
params(String, List<FormItem>) - Static method in class org.javalite.activeweb.RequestUtils
Convenience method to get parameter values in case multipart/form-data request was used.
params() - Static method in class org.javalite.activeweb.RequestUtils
Returns an instance of java.util.Map containing parameter names as keys and parameter values as map values.
params1st() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns a map where keys are names of all parameters, while values are first value for each parameter, even if such parameter has more than one value submitted.
params1st() - Method in class org.javalite.activeweb.HttpSupport
Returns a map where keys are names of all parameters, while values are first value for each parameter, even if such parameter has more than one value submitted.
params1st(List<FormItem>) - Method in class org.javalite.activeweb.HttpSupport
Convenience method to get first parameter values in case multipart/form-data request was used.
params1st() - Static method in class org.javalite.activeweb.RequestUtils
Returns a map where keys are names of all parameters, while values are the first value for each parameter, even if such parameter has more than one value submitted.
params1st(List<FormItem>) - Static method in class org.javalite.activeweb.RequestUtils
Convenience method to get parameters in case multipart/form-data request was used.
parseCommand(Message) - Method in class org.javalite.async.CommandListener
 
PATCH - Annotation Type in org.javalite.activeweb.annotations
Mark an action of a controller with this annotation to receive an HTTP POST request.
path() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns a path of the request.
path() - Method in class org.javalite.activeweb.HttpSupport
Returns a path of the request.
path() - Static method in class org.javalite.activeweb.RequestUtils
Returns a path of the request.
pause(String) - Method in class org.javalite.async.Async
Pauses a queue.
port() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns port on which the of the server received current request.
port() - Method in class org.javalite.activeweb.HttpSupport
Returns port on which the of the server received current request.
port() - Static method in class org.javalite.activeweb.RequestUtils
Returns port on which the of the server received current request.
POST - Annotation Type in org.javalite.activeweb.annotations
Mark an action of a controller with this annotation to receive an HTTP POST request.
post(String) - Method in class org.javalite.activeweb.RequestBuilder
Simulate HTTP POST call to an action of controller.
post() - Method in class org.javalite.activeweb.RouteBuilder
Specifies that this route is mapped to HTTP POST method.
process(String, Map, Writer) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Processes text as a FreeMarker template.
project - Variable in class org.javalite.lessc.maven.CompileLesscFilesMojo
 
protocol() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns protocol of request, for example: HTTP/1.1.
protocol() - Method in class org.javalite.activeweb.HttpSupport
Returns protocol of request, for example: HTTP/1.1.
protocol() - Static method in class org.javalite.activeweb.RequestUtils
Returns protocol of request, for example: HTTP/1.1.
PUT - Annotation Type in org.javalite.activeweb.annotations
Mark an action of a controller with this annotation to receive an HTTP PUT request.
put(String) - Method in class org.javalite.activeweb.RequestBuilder
Simulate HTTP PUT call to an action of controller.
put() - Method in class org.javalite.activeweb.RouteBuilder
Specifies that this route is mapped to HTTP PUT method.
put(String, Serializable) - Method in class org.javalite.activeweb.SessionFacade
Add object to a session.
put(Object, Object) - Method in class org.javalite.activeweb.SessionFacade
 
put(String, Serializable) - Method in class org.javalite.activeweb.SessionTestFacade
Add object to a session.
putAll(Map) - Method in class org.javalite.activeweb.SessionFacade
 

Q

queryString() - Method in class org.javalite.activeweb.AppController
 
queryString() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns query string of the request.
queryString() - Method in class org.javalite.activeweb.HttpSupport
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.
queryString() - Static method in class org.javalite.activeweb.RequestUtils
Returns query string of the request.
QueueConfig - Class in org.javalite.async
Simple configuration of queue.
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

R

read(InputStream, String) - Static method in class org.javalite.lessc.maven.CompileLesscFilesMojo
 
receiveCommand(String) - Method in class org.javalite.async.Async
Receives a command from a queue synchronously.
receiveCommand(String, Class<T>) - Method in class org.javalite.async.Async
Receives a command from a queue synchronously.
receiveCommand(String, int, Class<T>) - Method in class org.javalite.async.Async
Receives a command from a queue synchronously.
receiveCommand(String, long) - Method in class org.javalite.async.Async
Receives a command from a queue synchronously.
recognize(String, HttpMethod) - Method in class org.javalite.activeweb.Router
This is a main method for recognizing a route to a controller; used when a request is received.
redirect(String) - Method in class org.javalite.activeweb.HttpSupport
Redirects to a an action of this controller, or an action of a different controller.
redirect(URL) - Method in class org.javalite.activeweb.HttpSupport
Redirects to another URL (usually another site).
redirect(Class<T>, String, Object) - Method in class org.javalite.activeweb.HttpSupport
redirect(Class<T>, Object) - Method in class org.javalite.activeweb.HttpSupport
redirect(Class<T>, String) - Method in class org.javalite.activeweb.HttpSupport
redirect() - Method in class org.javalite.activeweb.HttpSupport
Redirects to the same controller, and action "index".
redirect(Class<T>) - Method in class org.javalite.activeweb.HttpSupport
Redirects to given controller, action "index" without any parameters.
redirect(Class<T>, Map) - Method in class org.javalite.activeweb.HttpSupport
Redirects to a controller, generates appropriate redirect path.
redirected() - Method in class org.javalite.activeweb.RequestSpecHelper
Returns true after execution of an action that sent a redirect.
redirectToReferrer(String) - Method in class org.javalite.activeweb.HttpSupport
Redirects to referrer if one exists.
redirectToReferrer() - Method in class org.javalite.activeweb.HttpSupport
Redirects to referrer if one exists.
redirectValue() - Method in class org.javalite.activeweb.RequestSpecHelper
Returns a redirect value if one was produced by a controller or filter, null if not.
registerTag(String, FreeMarkerTag) - Method in class org.javalite.activeweb.Bootstrap
Deprecated.
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.
remoteAddress() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
IP address of the requesting client.
remoteAddress() - Method in class org.javalite.activeweb.HttpSupport
IP address of the requesting client.
remoteAddress() - Static method in class org.javalite.activeweb.RequestUtils
IP address of the requesting client.
remoteHost() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Host name of the requesting client.
remoteHost() - Method in class org.javalite.activeweb.HttpSupport
Host name of the requesting client.
remoteHost() - Static method in class org.javalite.activeweb.RequestUtils
Host name of the requesting client.
remove(String) - Method in class org.javalite.activeweb.SessionFacade
Removes object from session.
remove(Object) - Method in class org.javalite.activeweb.SessionFacade
 
remove(String) - Method in class org.javalite.activeweb.SessionTestFacade
Removes object from session.
removeAllMessages(String) - Method in class org.javalite.async.Async
Removes all messages from queue.
removeMessages(String, String) - Method in class org.javalite.async.Async
Removes messages from queue.
render(String) - Method in class org.javalite.activeweb.AppController
Renders results with a template.
render() - Method in class org.javalite.activeweb.AppController
Use this method in order to override a layout, status code, and content type.
render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.ConfirmationTag
 
render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.DebugTag
 
render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.FormTag
 
render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Implement this method ina concrete subclass.
render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.LinkToTag
 
render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.MessageTag
 
render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.SelectTag
 
render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.YieldTag
 
render(String, Map) - Method in class org.javalite.activeweb.HttpSupport
Renders results with a template.
render(String) - Method in class org.javalite.activeweb.ViewSpec
Renders a template by name
render(String, Map) - Method in class org.javalite.activeweb.ViewSpec
Renders a template by name
render(String, String...) - Method in class org.javalite.activeweb.ViewSpec
Renders a template by name.
RenderTag - Class in org.javalite.activeweb.freemarker
Required attribute: partial
RenderTag() - Constructor for class org.javalite.activeweb.freemarker.RenderTag
 
request() - Method in class org.javalite.activeweb.ControllerSpec
Use this DSL-ish method to send requests to controllers from specs.
request(boolean) - Method in class org.javalite.activeweb.ControllerSpec
Version of ControllerSpec.request() that also sets integrateViews == true
RequestBuilder - Class in org.javalite.activeweb
Class is used in DSL for building a fake request for a controller to be tested.
RequestBuilder(String, SessionTestFacade, boolean) - Constructor for class org.javalite.activeweb.RequestBuilder
 
RequestContext - Class in org.javalite.activeweb
Carries internal data for the duration of a request.
RequestContext() - Constructor for class org.javalite.activeweb.RequestContext
 
RequestDispatcher - Class in org.javalite.activeweb
 
RequestDispatcher() - Constructor for class org.javalite.activeweb.RequestDispatcher
 
requestHas(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
requestHas(String) - Method in class org.javalite.activeweb.HttpSupport
requestHas(String) - Static method in class org.javalite.activeweb.RequestUtils
RequestParamsLogFilter - Class in org.javalite.activeweb.controller_filters
Use this filter to log HTTP request parameters to a log system.
RequestParamsLogFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.RequestParamsLogFilter
Creates a filter with preset log level.
RequestParamsLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.RequestParamsLogFilter
Creates a filter with default "INFO" level.
RequestPropertiesLogFilter - Class in org.javalite.activeweb.controller_filters
Use this filter to log HTTP request properties to a log system.
RequestPropertiesLogFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.RequestPropertiesLogFilter
Creates a filter with preset log level.
RequestPropertiesLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.RequestPropertiesLogFilter
Creates a filter with default "INFO" level.
RequestSpecHelper - Class in org.javalite.activeweb
This class is not used directly in applications.
RequestSpecHelper() - Constructor for class org.javalite.activeweb.RequestSpecHelper
 
RequestUtils - Class in org.javalite.activeweb
TODO: this needs to become a default interface, once we move the project to java 8
resetConnectionWrappers() - Static method in class org.javalite.activeweb.Configuration
 
respond(String) - Method in class org.javalite.activeweb.HttpSupport
This method will send the text to a client verbatim.
responseContent() - Method in class org.javalite.activeweb.RequestSpecHelper
Provides content generated by controller after controller execution - if views were integrated.
RESTful - Annotation Type in org.javalite.activeweb.annotations
This annotations is to signify that a controller will be providing actions for RESTful routes.
restful() - Method in class org.javalite.activeweb.AppController
Returns true if this controller is configured to be RESTful.
restful(Class<T>) - Static method in class org.javalite.activeweb.AppController
 
resume(String) - Method in class org.javalite.async.Async
Resumes a paused queue
rollback() - Static method in class org.javalite.activeweb.Configuration
 
route(String) - Method in class org.javalite.activeweb.AbstractRouteConfig
 
Route - Class in org.javalite.activeweb
Instance of this class will contain routing information.
Route(AppController, String) - Constructor for class org.javalite.activeweb.Route
 
Route(AppController, String, String) - Constructor for class org.javalite.activeweb.Route
 
Route(RouteBuilder) - Constructor for class org.javalite.activeweb.Route
 
Route(AppController) - Constructor for class org.javalite.activeweb.Route
 
RouteBuilder - Class in org.javalite.activeweb
Instance of this class represents a single route configured in the RouteConfig class of the application.
RouteBuilder(AppController, String, String) - Constructor for class org.javalite.activeweb.RouteBuilder
Used for standard and restful routes.
RouteBuilder(AppController, String) - Constructor for class org.javalite.activeweb.RouteBuilder
Used for tests.
RouteBuilder(String) - Constructor for class org.javalite.activeweb.RouteBuilder
Used for custom routes
RouteException - Exception in org.javalite.activeweb
 
RouteException(String) - Constructor for exception org.javalite.activeweb.RouteException
 
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
 
runningIn(String) - Static method in class org.javalite.activeweb.Configuration
Returns true if the environment is the same as argument.

S

sanitize(String) - Method in class org.javalite.activeweb.HttpSupport
Cleans HTML from harmful tags, making XSS impossible.
saveTo(String) - Method in class org.javalite.activeweb.FormItem
Saves content of this item to a file.
SelectOption - Class in org.javalite.activeweb.freemarker
This class is used to pass data to the <@select/> tag.
SelectOption(String) - Constructor for class org.javalite.activeweb.freemarker.SelectOption
Value is used for both: value and label.
SelectOption(Object, String) - Constructor for class org.javalite.activeweb.freemarker.SelectOption
Enabled, not selected by default
SelectOption(Object, String, boolean) - Constructor for class org.javalite.activeweb.freemarker.SelectOption
Creates new instance with all properties.
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
 
send(String, Command) - Method in class org.javalite.async.Async
Sends a command into a queue for processing
send(String, Command, int) - Method in class org.javalite.async.Async
Sends a command into a queue for processing
send(String, Command, int, int, int) - Method in class org.javalite.async.Async
Sends a command into a queue for processing
sendCookie(Cookie) - Method in class org.javalite.activeweb.HttpSupport
Sends cookie to browse with response.
sendCookie(String, String) - Method in class org.javalite.activeweb.HttpSupport
Sends cookie to browse with response.
sendFile(File, boolean) - Method in class org.javalite.activeweb.HttpSupport
Convenience method for downloading files.
sendFile(File) - Method in class org.javalite.activeweb.HttpSupport
Convenience method for downloading files.
sendPermanentCookie(String, String) - Method in class org.javalite.activeweb.HttpSupport
Sends long to live cookie to browse with response.
servletPath() - Method in class org.javalite.activeweb.AppController
 
session() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns reference to a current session map.
session(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
session() - Method in class org.javalite.activeweb.HttpSupport
Returns reference to a current session.
session(String, Serializable) - Method in class org.javalite.activeweb.HttpSupport
Convenience method, sets an object on a session.
session(String) - Method in class org.javalite.activeweb.HttpSupport
session() - Method in class org.javalite.activeweb.SpecHelper
Allows access to session in test context.
session(String, Serializable) - Method in class org.javalite.activeweb.SpecHelper
Convenience method, sets an object on a session.
session(String, Class<T>) - Method in class org.javalite.activeweb.SpecHelper
Returns object from session that is already cast to expected type.
sessionBoolean(String) - Method in class org.javalite.activeweb.HttpSupport
Convenience method, returns object from session, equivalent of:
sessionBoolean(String) - Method in class org.javalite.activeweb.SpecHelper
Convenience method, returns object from session, equivalent of:
sessionDouble(String) - Method in class org.javalite.activeweb.HttpSupport
Convenience method, returns object from session, equivalent of:
sessionDouble(String) - Method in class org.javalite.activeweb.SpecHelper
Convenience method, returns object from session, equivalent of:
SessionFacade - Class in org.javalite.activeweb
Facade to HTTP session.
SessionFacade() - Constructor for class org.javalite.activeweb.SessionFacade
 
sessionFloat(String) - Method in class org.javalite.activeweb.HttpSupport
Convenience method, returns object from session, equivalent of:
sessionFloat(String) - Method in class org.javalite.activeweb.SpecHelper
Convenience method, returns object from session, equivalent of:
sessionHas(String) - Method in class org.javalite.activeweb.HttpSupport
Returns true if session has named object, false if not.
sessionHas(String) - Method in class org.javalite.activeweb.SpecHelper
Returns true if session has named object, false if not.
sessionId() - Method in class org.javalite.activeweb.TemplateManager
Session ID from underlying session, or null if session does not exist.
sessionInteger(String) - Method in class org.javalite.activeweb.HttpSupport
Convenience method, returns object from session, equivalent of:
sessionInteger(String) - Method in class org.javalite.activeweb.SpecHelper
Convenience method, returns object from session, equivalent of:
sessionLong(String) - Method in class org.javalite.activeweb.HttpSupport
Convenience method, returns object from session, equivalent of:
sessionLong(String) - Method in class org.javalite.activeweb.SpecHelper
Convenience method, returns object from session, equivalent of:
sessionObject(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Convenience method, returns object from session, equivalent of:
sessionObject(String) - Method in class org.javalite.activeweb.HttpSupport
Convenience method, returns object from session, equivalent of:
sessionObject(String) - Method in class org.javalite.activeweb.SpecHelper
Convenience method, returns object from session, equivalent of:
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(String, Object) - Method in class org.javalite.activeweb.AppContext
Sets an application - wide object by name.
set(String, Object) - Method in class org.javalite.activeweb.RequestContext
 
setBinaryMode(boolean) - Method in class org.javalite.async.Async
If true, uses binary mode to send messages.
setConfiguration(Configuration) - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
 
setContentLength(int) - Method in class org.javalite.activeweb.HttpSupport
Sets content length of response.
setCurrentController(Class<T>) - Method in class org.javalite.activeweb.ViewSpec
This method is only needed as a hint to the LinkToTag.
setDefaultLayout(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
 
setDomain(String) - Method in class org.javalite.activeweb.Cookie
 
setEnabled(boolean) - Method in class org.javalite.activeweb.freemarker.SelectOption
 
setEncoding(String) - Method in class org.javalite.activeweb.HttpSupport
Sets character encoding on the response.
setEnv(String) - Static method in class org.javalite.activeweb.Configuration
 
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
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.Bootstrap
Deprecated.
This method will be removed in future versions. Instead, override Bootstrap.getInjector() method to produce your injector.
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.
setJMSMessageID(String) - Method in class org.javalite.async.Command
 
setLesscArguments(String) - Method in class org.javalite.lessc.maven.LessConfig
 
setLesscMain(String) - Method in class org.javalite.lessc.maven.LessConfig
 
setLocale(Locale) - Method in class org.javalite.activeweb.HttpSupport
Sets locale on response.
setMaxAge(int) - Method in class org.javalite.activeweb.Cookie
 
setPath(String) - Method in class org.javalite.activeweb.Cookie
 
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.
setRouteConfig(AbstractRouteConfig) - Method in class org.javalite.activeweb.RequestDispatcher
 
setRoutes(List<RouteBuilder>) - Method in class org.javalite.activeweb.Router
Sets custom routes
setSecure(boolean) - Method in class org.javalite.activeweb.Cookie
 
setSelected(boolean) - Method in class org.javalite.activeweb.freemarker.SelectOption
 
setServletContext(ServletContext) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
 
setServletContext(ServletContext) - Method in class org.javalite.activeweb.TemplateManager
A template manager might need a context to be able to load templates from it.
setTargetDirectory(String) - Method in class org.javalite.lessc.maven.LessConfig
 
setTargetFileName(String) - Method in class org.javalite.lessc.maven.LessConfig
 
setTemplateClassPath(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
This method exists for testing.
setTemplateLocation(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
 
setTemplateLocation(String) - Method in class org.javalite.activeweb.IntegrationSpec
 
setTemplateLocation(String) - Method in class org.javalite.activeweb.SpecHelper
 
setTemplateLocation(String) - Method in class org.javalite.activeweb.TemplateManager
 
setTemplateLocation(String) - Method in class org.javalite.activeweb.ViewSpec
By default the template location is set to src/main/webapp/WEB-INF/views.
setTesting(boolean) - Static method in class org.javalite.activeweb.Configuration
 
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.
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.
setValue(String) - Method in class org.javalite.activeweb.Cookie
 
setVersion(int) - Method in class org.javalite.activeweb.Cookie
 
setWildCardName(String) - Method in class org.javalite.activeweb.RequestContext
 
setWildCardValue(String) - Method in class org.javalite.activeweb.RequestContext
 
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
 
size() - Method in class org.javalite.activeweb.SessionFacade
 
SpecException - Exception in org.javalite.activeweb
 
SpecException(Throwable) - Constructor for exception org.javalite.activeweb.SpecException
 
SpecException(String) - Constructor for exception org.javalite.activeweb.SpecException
 
SpecException(String, Throwable) - Constructor for exception org.javalite.activeweb.SpecException
 
SpecHelper - Class in org.javalite.activeweb
This class is not used directly in applications.
SpecHelper() - Constructor for class org.javalite.activeweb.SpecHelper
 
SpecHelper.ModuleBuilder - Class in org.javalite.activeweb
 
standardActionSupportsHttpMethod(String, HttpMethod) - Method in class org.javalite.activeweb.AppController
 
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
 
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
 
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
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.
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.

T

TagFactory - Class in org.javalite.activeweb.freemarker
 
TagFactory(String, String) - Constructor for class org.javalite.activeweb.freemarker.TagFactory
 
tearDown() - Static method in class org.javalite.activeweb.DBControllerSpec
 
tearDown() - Static method in class org.javalite.activeweb.DBSpec
 
template() - Method in class org.javalite.activeweb.RequestSpecHelper
 
TemplateManager - Class in org.javalite.activeweb
 
TemplateManager() - Constructor for class org.javalite.activeweb.TemplateManager
 
testing() - Method in class org.javalite.activeweb.ConnectionBuilder
Marks this connection to be used for testing.
text(String) - Method in class org.javalite.activeweb.RequestSpecHelper
Parses controller response content and selects content of HTML element using CSS selectors.
Example:
textAttributes(String) - Method in class org.javalite.activeweb.freemarker.TagFactory
 
TimingFilter - Class in org.javalite.activeweb.controller_filters
This is a simple filter which logs time it took to process a controller.
TimingFilter() - Constructor for class org.javalite.activeweb.controller_filters.TimingFilter
 
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.
toBytes() - Method in class org.javalite.async.Command
Flattens(serializes, dehydrates, etc.) this instance to a binary representation.
toString() - Method in class org.javalite.activeweb.Cookie
 
toString() - Method in class org.javalite.activeweb.freemarker.TagFactory
 
toString() - Method in class org.javalite.activeweb.SimpleHash
 
toXml() - Method in class org.javalite.async.Command
Serializes this object into XML.

U

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 class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns URI, or a full path of request.
uri() - Method in class org.javalite.activeweb.HttpSupport
Returns URI, or a full path of request.
uri() - Static method in class org.javalite.activeweb.RequestUtils
Returns URI, or a full path of request.
url() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Returns a full URL of the request, all except a query string.
url() - Method in class org.javalite.activeweb.HttpSupport
Returns a full URL of the request, all except a query string.
url() - Static method in class org.javalite.activeweb.RequestUtils
Returns a full URL of the request, all except a query string.
useDefaultLayoutForErrors() - Static method in class org.javalite.activeweb.Configuration
True to use default layout for error pages, false not to.
userAgent() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
Helper method, returns user-agent header of the request.
userAgent() - Method in class org.javalite.activeweb.HttpSupport
Helper method, returns user-agent header of the request.
userAgent() - Static method in class org.javalite.activeweb.RequestUtils
Helper method, returns user-agent header of the request.
Util - Class in org.javalite.activeweb.freemarker
 

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.
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.
valInteger(String) - Method in class org.javalite.activeweb.RequestSpecHelper
int value assigned by controller.
valLong(String) - Method in class org.javalite.activeweb.RequestSpecHelper
long value assigned by controller.
vals() - Method in class org.javalite.activeweb.RequestSpecHelper
valString(String) - Method in class org.javalite.activeweb.RequestSpecHelper
String value assigned by controller.
valueOf(String) - Static method in enum org.javalite.activeweb.controller_filters.AbstractLoggingFilter.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.javalite.activeweb.HttpMethod
Returns the enum constant of this type with the specified name.
values() - Method in class org.javalite.activeweb.AppController
 
values() - Static method in enum org.javalite.activeweb.controller_filters.AbstractLoggingFilter.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.javalite.activeweb.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.javalite.activeweb.SessionFacade
 
view(String, Object) - Method in class org.javalite.activeweb.AppController
view(String, Object) - Method in class org.javalite.activeweb.HttpSupport
view(Map) - Method in class org.javalite.activeweb.HttpSupport
Convenience method, calls HttpSupport.assign(String, Object) internally.
view(Object...) - Method in class org.javalite.activeweb.HttpSupport
Convenience method to pass multiple names and corresponding values to a view.
ViewException - Exception in org.javalite.activeweb
 
ViewException(String, Throwable) - Constructor for exception org.javalite.activeweb.ViewException
 
ViewException(Throwable) - Constructor for exception org.javalite.activeweb.ViewException
 
ViewException(String) - Constructor for exception org.javalite.activeweb.ViewException
 
ViewMissingException - Exception in org.javalite.activeweb
 
ViewMissingException(String, Throwable) - Constructor for exception org.javalite.activeweb.ViewMissingException
 
ViewMissingException(Throwable) - Constructor for exception org.javalite.activeweb.ViewMissingException
 
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

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
 
with(Class) - Method in class org.javalite.activeweb.SpecHelper.ModuleBuilder
Specifies what mock to use to override a real service in a module.
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
 
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 class org.javalite.activeweb.freemarker.FreeMarkerTag
xhr() - Method in class org.javalite.activeweb.HttpSupport
Synonym for HttpSupport.isXhr().
xhr() - Static method in class org.javalite.activeweb.RequestUtils

Y

YieldTag - Class in org.javalite.activeweb.freemarker
 
YieldTag() - Constructor for class org.javalite.activeweb.freemarker.YieldTag
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y 

Copyright © 2016. All rights reserved.