- AbstractControllerConfig<T extends AppController> - Class in org.javalite.activeweb
-
This class is to be sub-classed by the application level class called app.config.AppControllerConfig
.
- AbstractControllerConfig() - Constructor for class org.javalite.activeweb.AbstractControllerConfig
-
- AbstractControllerConfig.FilterBuilder - Class in org.javalite.activeweb
-
- AbstractDBConfig - Class in org.javalite.activeweb
-
This class is designed to be sub-classed by an application level class called app.config.DbConfig
.
- AbstractDBConfig() - Constructor for class org.javalite.activeweb.AbstractDBConfig
-
- 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(HttpSupportFilter...) - 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.
- addCookie(Cookie) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- addDateHeader(String, long) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- addFilter(Class<? extends AppController>, HttpSupportFilter) - Method in class org.javalite.activeweb.IntegrationSpec
-
Adds a filter to a specific controller for the duration of the current spec.
- addFilter(HttpSupportFilter) - Method in class org.javalite.activeweb.IntegrationSpec
-
Adds a global filter for the duration of the current spec.
- addFormItem(FormItem) - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- addGlobalFilters(HttpSupportFilter...) - Method in class org.javalite.activeweb.AbstractControllerConfig
-
- addHeader(String, String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- addIntHeader(String, int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- 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
-
Deprecated.
- after() - Method in class org.javalite.activeweb.DBIntegrationSpec
-
- after() - Method in class org.javalite.activeweb.DBSpec
-
Deprecated.
- 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 - Interface in org.javalite.activeweb
-
- AppContext - Class in org.javalite.activeweb
-
Instance of this class can hold application-specific objects for duration of application life span.
- AppContext() - Constructor for class org.javalite.activeweb.AppContext
-
- appContext() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- appContext() - Method in class org.javalite.activeweb.HttpSupport
-
- appContext() - Static method in class org.javalite.activeweb.RequestUtils
-
- AppController - Class in org.javalite.activeweb
-
Subclass this class to create application controllers.
- AppController() - Constructor for class org.javalite.activeweb.AppController
-
- AppControllerFilter - Class in org.javalite.activeweb.controller_filters
-
Controller filters are similar to that of Servlet filters, but designed to wrap execution of controllers.
- AppControllerFilter() - Constructor for class org.javalite.activeweb.controller_filters.AppControllerFilter
-
- 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.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
-
- 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.DBSpecHelper
-
- close() - Method in class org.javalite.activeweb.DBControllerSpec
-
- close() - Method in class org.javalite.async.BatchReceiver
-
Closes this resource (calling it is mandatory).
- close() - Method in class org.javalite.async.SessionPool
-
Closes all underlying JMS sessions.
- 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
-
- commit() - Method in class org.javalite.async.BatchReceiver
-
Commits a current transaction.
- CompilationException - Exception in org.javalite.activeweb
-
- CompilationException(String) - Constructor for exception org.javalite.activeweb.CompilationException
-
- compile(File, String) - Method in class org.javalite.lessc.maven.CompileLesscFilesMojo
-
- compileClass(String) - Static method in class org.javalite.activeweb.DynamicClassFactory
-
- CompileLesscFilesMojo - Class in org.javalite.lessc.maven
-
- CompileLesscFilesMojo() - Constructor for class org.javalite.lessc.maven.CompileLesscFilesMojo
-
- completeInit() - Method in class org.javalite.activeweb.AbstractControllerConfig
-
- completeInit() - Method in interface org.javalite.activeweb.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.
- containsHeader(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- 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
-
- 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.
- counter() - Static method in class org.javalite.async.pooltest.HelloPerformanceCommand
-
- create() - Method in class org.javalite.activeweb.SpecHelper.DynamicBuilder
-
- create() - Method in class org.javalite.activeweb.SpecHelper.ModuleBuilder
-
Terminal method of a builder.
- createControllerInstance(String) - Static method in class org.javalite.activeweb.ControllerFactory
-
- createInjector(T) - Method in class org.javalite.activeweb.SpecHelper
-
This is a convenience method for setting Guice modules and service mocks.
- createInstance(String, Class<T>) - Static method in class org.javalite.activeweb.DynamicClassFactory
-
- createNewSession() - Method in class org.javalite.async.SessionPool
-
- CSRF - Class in org.javalite.activeweb
-
Responsible for generating tokens for CSRF protection support.
- CSRF() - Constructor for class org.javalite.activeweb.CSRF
-
- CSRF_TOKEN_NAME - Static variable in class org.javalite.activeweb.CSRF
-
- CSRF_TOKEN_VALUE - Static variable in class org.javalite.activeweb.CSRF
-
- CSRFFilter - Class in org.javalite.activeweb.controller_filters
-
- CSRFFilter() - Constructor for class org.javalite.activeweb.controller_filters.CSRFFilter
-
- CSRFTokenTag - Class in org.javalite.activeweb.freemarker
-
- CSRFTokenTag() - Constructor for class org.javalite.activeweb.freemarker.CSRFTokenTag
-
- dataSource(DataSource) - Method in class org.javalite.activeweb.ConnectionBuilder
-
Sets a DataSource
to be used by this configuration.
- 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
-
- DBSpec() - Constructor for class org.javalite.activeweb.DBSpec
-
Deprecated.
- 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
- disableVerification() - Static method in class org.javalite.activeweb.CSRF
-
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.javalite.activeweb.RequestDispatcher
-
- DynamicBuilder() - Constructor for class org.javalite.activeweb.SpecHelper.DynamicBuilder
-
- DynamicClassFactory - Class in org.javalite.activeweb
-
Created By
User: evan
Date: 4/30/13
- DynamicClassFactory() - Constructor for class org.javalite.activeweb.DynamicClassFactory
-
- FileItem - Class in org.javalite.activeweb
-
Convenience class for use in tests.
- FileItem(String, String, String, byte[]) - Constructor for class org.javalite.activeweb.FileItem
-
Constructor to be used in tests.
- FileItem(String, String, byte[]) - Constructor for class org.javalite.activeweb.FileItem
-
Constructor to be used in tests.
- FileItem(File) - Constructor for class org.javalite.activeweb.FileItem
-
Constructor to be used in tests, field name and file name are set to File name.
- FilterBuilder(HttpSupportFilter[]) - Constructor for class org.javalite.activeweb.AbstractControllerConfig.FilterBuilder
-
- FilterException - Exception in org.javalite.activeweb
-
- FilterException(Throwable) - Constructor for exception org.javalite.activeweb.FilterException
-
- 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.
- findPackageSuffix(String) - Method in class org.javalite.activeweb.Router
-
Finds a part of a package name which can be found in between "app.controllers" and short name of class.
- 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
-
- flushBuffer() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- forActions(String...) - Method in class org.javalite.activeweb.AbstractControllerConfig.FilterBuilder
-
Adds a list of actions for which filters are configured.
- format() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns a format part of the URI, or null if URI does not have a format part.
- format() - Method in class org.javalite.activeweb.HttpSupport
-
Returns a format part of the URI, or null if URI does not have a format part.
- format(String) - Method in class org.javalite.activeweb.HttpSupport.RenderBuilder
-
Sets a format for the current request.
- format(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Sets format for this request.
- format() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns a format part of the URI, or null if URI does not have a format part.
- 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.
- 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.RequestVo
-
- get() - Method in class org.javalite.activeweb.RouteBuilder
-
Specifies that this route is mapped to HTTP GET method.
- get(String) - Method in class org.javalite.activeweb.SessionFacade
-
Retrieve object from session.
- get(String, Class<T>) - Method in class org.javalite.activeweb.SessionFacade
-
Convenience method, will do internal check for null and then cast.
- get(Object) - Method in class org.javalite.activeweb.SessionFacade
-
- get(String) - Method in class org.javalite.activeweb.SessionTestFacade
-
Retrieve object from session.
- get(String, Class<T>) - Method in class org.javalite.activeweb.SessionTestFacade
-
Convenience method, will do internal check for null and then cast.
- 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
-
- getBatchReceiver(String, long) - Method in class org.javalite.async.Async
-
- getBootstrapClassName() - Static method in class org.javalite.activeweb.Configuration
-
- getBufferSize() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getBytes() - Method in class org.javalite.activeweb.FormItem
-
Reads contents of a file into a byte array at once.
- getBytes(BytesMessage) - Static method in class org.javalite.async.Async
-
- getCharacterEncoding() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- 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
-
- getContentType() - Method in class org.javalite.activeweb.AppController
-
Returns hardcoded value "text/html".
- getContentType() - Method in class org.javalite.activeweb.FormItem
-
Content type of this form field.
- getContentType() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getContext() - Method in class org.javalite.activeweb.AppIntegrationSpec
-
- getContext() - Method in class org.javalite.activeweb.RequestDispatcher
-
- getContextPath() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns this applications' context path.
- getController() - Method in class org.javalite.activeweb.Route
-
- getController() - Method in class org.javalite.activeweb.RouteBuilder
-
- getControllerClassName(String) - Static method in class org.javalite.activeweb.ControllerFactory
-
Expected paths: /controller, /package/controller, /package/package2/controller, /package/package2/package3/controller, etc.
- getControllerClassName() - Method in class org.javalite.activeweb.ControllerSpec
-
- getControllerClassName() - Method in class org.javalite.activeweb.Route
-
This is used in specs
- getControllerConfigClassName() - Static method in class org.javalite.activeweb.Configuration
-
- getControllerPath() - Method in class org.javalite.activeweb.ControllerSpec
-
Returns a controller path - this includes packages if there are any after "app.controllers".
- getControllerPath() - Method in class org.javalite.activeweb.Route
-
- getControllerPath(String) - Method in class org.javalite.activeweb.Router
-
Finds a controller path from URI.
- getControllerResponse() - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
-
- getCookies() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns all cookies from last response.
- 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
-
- 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.
- 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() - Static method in class org.javalite.activeweb.Configuration
-
- 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
-
- getHeader(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getHeaderNames() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getHeaders(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getHttpServletRequest() - Method in class org.javalite.activeweb.HttpSupport
-
Direct access to current HttpServletRequest
for low level operations.
- getHttpServletResponse() - Method in class org.javalite.activeweb.HttpSupport
-
Direct access to current HttpServletResponse
for low level operations.
- getId() - Method in class org.javalite.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.activeweb.controllers.AbstractLesscController
-
Subclass should override this method if they want to provide custom list of arguments to LessC compiler.
- getLesscArguments() - Method in class org.javalite.lessc.maven.LessConfig
-
- getLesscMain() - Method in class org.javalite.lessc.maven.LessConfig
-
- getLessFile() - Method in class org.javalite.activeweb.controllers.AbstractLesscController
-
Subclass should return a file handle pointing to the main Less file.
- getLevel() - Method in class org.javalite.activeweb.controller_filters.AbstractLoggingFilter
-
- getListenerCount() - Method in class org.javalite.async.QueueConfig
-
- getLocale() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- getLocale() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getLocale() - Method in class org.javalite.activeweb.HttpSupport
-
- getLocale() - Static method in class org.javalite.activeweb.RequestUtils
-
- getLogHeaders() - Static method in class org.javalite.activeweb.Configuration
-
- 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.ViewMissingException
-
- getMessage() - Method in exception org.javalite.activeweb.WebException
-
- getMessageCount(String) - Method in class org.javalite.async.Async
-
Returns number of messages currently in queue
- getMessageCounts() - Method in class org.javalite.async.Async
-
Returns counts of messages for all queues.
- getMethod() - Method in class org.javalite.activeweb.Route
-
- 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
-
- getOutputStream() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- 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.
- getRequestProperties() - Static method in class org.javalite.activeweb.RequestUtils
-
- getRequestProtocol() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
This method returns a protocol of a request to web server if this container is fronted by one, such that
it sets a header X-Forwarded-Proto
on the request and forwards it to the Java container.
- getRequestProtocol() - Method in class org.javalite.activeweb.HttpSupport
-
This method returns a protocol of a request to web server if this container is fronted by one, such that
it sets a header X-Forwarded-Proto
on the request and forwards it to the Java container.
- getRequestProtocol() - Static method in class org.javalite.activeweb.RequestUtils
-
This method returns a protocol of a request to web server if this container is fronted by one, such that
it sets a header X-Forwarded-Proto
on the request and forwards it to the Java container.
- getRequestStream() - Method in class org.javalite.activeweb.HttpSupport
-
- getRequestString() - Method in class org.javalite.activeweb.HttpSupport
-
Reads entire request data as String.
- getResponseHeaders() - Method in class org.javalite.activeweb.HttpSupport
-
Returns response headers
- getRootPackage() - Static method in class org.javalite.activeweb.Configuration
-
- getRoute() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns instance of
Route
to be used for potential conditional logic inside controller filters.
- getRoute() - Method in class org.javalite.activeweb.HttpSupport
-
Returns instance of
Route
to be used for potential conditional logic inside controller filters.
- getRoute() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns instance of
Route
to be used for potential conditional logic inside controller filters.
- getRouteConfigClassName() - Static method in class org.javalite.activeweb.Configuration
-
- getRoutes() - Method in class org.javalite.activeweb.AbstractRouteConfig
-
- getSession() - Method in class org.javalite.activeweb.SessionTestFacade
-
- getSession() - Method in class org.javalite.async.SessionPool
-
- getStatus() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- getStreamAsString() - Method in class org.javalite.activeweb.FormItem
-
Converts entire content of this item to String.
- getString() - Method in class org.javalite.activeweb.FormItem
-
- getTag(String) - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
-
- getTag(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTemplateManager
-
- getTargetAction() - Method in class org.javalite.activeweb.Route
-
In case of OPTIONS HTTP method, the controller action might be routed to Controller#options
, in which case
you can use this getter to see what was the original intended controller action.
- 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.
- getTopTextMessages(int, String) - Method in class org.javalite.async.Async
-
Returns top TextMessage
s 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.RequestVo
-
- 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.RequestVo
-
- getWildCardName() - Method in class org.javalite.activeweb.Route
-
- getWildcardName() - Method in class org.javalite.activeweb.RouteBuilder
-
- getWildCardValue() - Method in class org.javalite.activeweb.RequestVo
-
- getWildCardValue() - Method in class org.javalite.activeweb.Route
-
- getWildCardValue() - Method in class org.javalite.activeweb.RouteBuilder
-
- getWriter() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- 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.
- headerNames() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns all headers set by controller or filter.
- headers() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns all headers from a request keyed by header name.
- headers() - Method in class org.javalite.activeweb.HttpSupport
-
Returns all headers from a request keyed by header name.
- headers(String...) - Method in class org.javalite.activeweb.RequestBuilder
-
Convenience method to set names and values for headers.
- headers() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Returns all headers set by controller or filter.
- headers() - Static method in class org.javalite.activeweb.RequestUtils
-
Returns all headers from a request keyed by header name.
- HeadersLogFilter - Class in org.javalite.activeweb.controller_filters
-
Use this filter to log HTTP request (and response) headers to a log system.
- HeadersLogFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.HeadersLogFilter
-
Creates a filter with preset log level.
- HeadersLogFilter(AbstractLoggingFilter.Level, boolean) - Constructor for class org.javalite.activeweb.controller_filters.HeadersLogFilter
-
Creates a filter with preset log level.
- HeadersLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.HeadersLogFilter
-
Creates a filter with default "INFO" level.
- HelloPerformanceCommand - Class in org.javalite.async.pooltest
-
- HelloPerformanceCommand(String) - Constructor for class org.javalite.async.pooltest.HelloPerformanceCommand
-
- HelloPerformanceCommand() - Constructor for class org.javalite.async.pooltest.HelloPerformanceCommand
-
- 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.
- HTTP_HEADER_NAME - Static variable in class org.javalite.activeweb.CSRF
-
- HttpMethod - Enum in org.javalite.activeweb
-
- HttpServletResponseProxy - Class in org.javalite.activeweb
-
- HttpSupport - Class in org.javalite.activeweb
-
- HttpSupport() - Constructor for class org.javalite.activeweb.HttpSupport
-
- HttpSupport.HttpBuilder - Class in org.javalite.activeweb
-
- HttpSupport.RenderBuilder - Class in org.javalite.activeweb
-
- HttpSupportFilter - Class in org.javalite.activeweb.controller_filters
-
Adds support for access to HTTP parameters.
- HttpSupportFilter() - Constructor for class org.javalite.activeweb.controller_filters.HttpSupportFilter
-
- 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
-
- init(AppContext) - Method in interface 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
-
Deprecated.
- 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
- injectFilters() - Static method in class org.javalite.activeweb.Configuration
-
- injector() - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method: allows to set services without explicitly configuring a new module for mocking.
- integrateViews() - Method in class org.javalite.activeweb.RequestBuilder
-
- integrateViews(boolean) - Method in class org.javalite.activeweb.RequestBuilder
-
- 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
-
- 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
-
- isCommitted() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- isCustom() - Method in class org.javalite.activeweb.Route
-
- isDelete() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
True if this request uses HTTP DELETE method, false otherwise.
- isDelete() - Method in class org.javalite.activeweb.HttpSupport
-
True if this request uses HTTP DELETE method, false otherwise.
- isDelete() - Static method in class org.javalite.activeweb.RequestUtils
-
True if this request uses HTTP DELETE method, false otherwise.
- isDurable() - Method in class org.javalite.async.QueueConfig
-
- isEmpty() - Method in class org.javalite.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
-
- isMultipartContent() - 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
-
This method is used internally by ActiveWeb tests.
- 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.
- 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
-
- 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.
- receiveMessage(String, long) - Method in class org.javalite.async.Async
-
Receives a messafge from a queue asynchronously.If this queue also has listeners, then messages will be distributed across
all consumers.
- receiveTextMessages(int) - Method in class org.javalite.async.BatchReceiver
-
Receives and returns size
Strings from the queue.
- recognize(String, HttpMethod) - Method in class org.javalite.activeweb.Router
-
This is a main method for recognizing a route to a controller; used when a request is received.
- 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(String) - Method in class org.javalite.activeweb.RequestBuilder
-
Use to simulate a remote IP address.
- remoteAddress() - Static method in class org.javalite.activeweb.RequestUtils
-
IP address of the requesting client.
- remoteHost() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Host name of the requesting client.
- remoteHost() - Method in class org.javalite.activeweb.HttpSupport
-
Host name of the requesting client.
- remoteHost() - Static method in class org.javalite.activeweb.RequestUtils
-
Host name of the requesting client.
- remove(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.CSRFTokenTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.DebugTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.FormTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Implement this method ina concrete subclass.
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.LinkToTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.MessageTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.SelectTag
-
- render(Map, String, Writer) - Method in class org.javalite.activeweb.freemarker.YieldTag
-
- render(String, Map) - Method in class org.javalite.activeweb.HttpSupport
-
Renders results with a template.
- render(String) - Method in class org.javalite.activeweb.ViewSpec
-
Renders a template by name
- render(String, Map) - Method in class org.javalite.activeweb.ViewSpec
-
Renders a template by name
- render(String, String...) - Method in class org.javalite.activeweb.ViewSpec
-
Renders a template by name.
- RenderTag - Class in org.javalite.activeweb.freemarker
-
Required attribute: partial
- RenderTag() - Constructor for class org.javalite.activeweb.freemarker.RenderTag
-
- 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
-
- RequestBuilder - Class in org.javalite.activeweb
-
Class is used in DSL for building a fake request for a controller to be tested.
- RequestBuilder(String, SessionTestFacade) - Constructor for class org.javalite.activeweb.RequestBuilder
-
- RequestContext - Class in org.javalite.activeweb
-
This class is used internally by the framework.
- RequestDispatcher - Class in org.javalite.activeweb
-
- RequestDispatcher() - Constructor for class org.javalite.activeweb.RequestDispatcher
-
- requestHas(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- requestHas(String) - Method in class org.javalite.activeweb.HttpSupport
-
- requestHas(String) - Static method in class org.javalite.activeweb.RequestUtils
-
- RequestParamsLogFilter - Class in org.javalite.activeweb.controller_filters
-
Use this filter to log HTTP request parameters to a log system.
- RequestParamsLogFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.RequestParamsLogFilter
-
Creates a filter with preset log level.
- RequestParamsLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.RequestParamsLogFilter
-
Creates a filter with default "INFO" level.
- RequestPropertiesLogFilter - Class in org.javalite.activeweb.controller_filters
-
Use this filter to log HTTP request properties to a log system.
- RequestPropertiesLogFilter(AbstractLoggingFilter.Level) - Constructor for class org.javalite.activeweb.controller_filters.RequestPropertiesLogFilter
-
Creates a filter with preset log level.
- RequestPropertiesLogFilter() - Constructor for class org.javalite.activeweb.controller_filters.RequestPropertiesLogFilter
-
Creates a filter with default "INFO" level.
- RequestSpecHelper - Class in org.javalite.activeweb
-
This class is not used directly in applications.
- RequestSpecHelper() - Constructor for class org.javalite.activeweb.RequestSpecHelper
-
- RequestUtils - Class in org.javalite.activeweb
-
TODO: this needs to become a default interface, once we move the project to java 8
- RequestVo - Class in org.javalite.activeweb
-
Carries internal data for the duration of a request.
- RequestVo() - Constructor for class org.javalite.activeweb.RequestVo
-
- reset() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- reset() - Static method in class org.javalite.async.pooltest.HelloPerformanceCommand
-
- resetBuffer() - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- resetFilters() - Method in class org.javalite.activeweb.IntegrationSpec
-
Clears all filters from context even if they are defined in the AppControllerConfig
class.
- 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
-
- rollback() - Method in class org.javalite.async.BatchReceiver
-
Rolls back current transaction.
- route(String) - Method in class org.javalite.activeweb.AbstractRouteConfig
-
- Route - Class in org.javalite.activeweb
-
Instance of this class will contain routing information.
- Route(AppController, String, HttpMethod) - Constructor for class org.javalite.activeweb.Route
-
- Route(AppController, String, String, HttpMethod) - Constructor for class org.javalite.activeweb.Route
-
- Route(RouteBuilder, HttpMethod, boolean) - Constructor for class org.javalite.activeweb.Route
-
- Route(AppController) - Constructor for class org.javalite.activeweb.Route
-
- RouteBuilder - Class in org.javalite.activeweb
-
Instance of this class represents a single custom route configured in the RouteConfig class of the application.
- RouteBuilder(AppController, String, String) - Constructor for class org.javalite.activeweb.RouteBuilder
-
Used for standard and restful routes.
- RouteBuilder(AppController, String) - Constructor for class org.javalite.activeweb.RouteBuilder
-
Used for tests.
- RouteBuilder(String) - Constructor for class org.javalite.activeweb.RouteBuilder
-
Used for custom routes
- RouteException - Exception in org.javalite.activeweb
-
- RouteException(String) - Constructor for exception org.javalite.activeweb.RouteException
-
- RouteException(String, Throwable) - Constructor for exception org.javalite.activeweb.RouteException
-
- Router - Class in org.javalite.activeweb
-
Responsible for looking at a URI and creating a route to controller if one is found.
- Router(String) - Constructor for class org.javalite.activeweb.Router
-
- runningIn(String) - Static method in class org.javalite.activeweb.Configuration
-
Returns true if the environment is the same as argument.
- 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.
- sendError(int, String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- sendError(int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- sendFile(File, boolean) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method for downloading files.
- sendFile(File) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method for downloading files.
- SENDING_THREAD_COUNT - Static variable in class org.javalite.async.pooltest.TestReceive
-
- SENDING_THREAD_COUNT - Static variable in class org.javalite.async.pooltest.TestSend
-
- sendPermanentCookie(String, String) - Method in class org.javalite.activeweb.HttpSupport
-
Sends long to live cookie to browse with response.
- sendRedirect(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- sendTextMessage(String, String) - Method in class org.javalite.async.Async
-
Sends a non-expiring TextMessage
with average priority.
- sendTextMessage(String, String, int, int, int) - Method in class org.javalite.async.Async
-
Sends a TextMessage
.
- servletPath() - Method in class org.javalite.activeweb.AppController
-
- session() - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Returns reference to a current session map.
- session(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
- session() - Method in class org.javalite.activeweb.HttpSupport
-
Returns reference to a current session.
- session(String, Serializable) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, sets an object on a session.
- session(String) - Method in class org.javalite.activeweb.HttpSupport
-
- session(String) - Method in class org.javalite.activeweb.RequestUtils
-
- session(String, Object) - Method in class org.javalite.activeweb.RequestUtils
-
Sets an object on a current session.
- session() - Method in class org.javalite.activeweb.SpecHelper
-
Allows access to session in test context.
- session(String, Serializable) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, sets an object on a session.
- session(String, Class<T>) - Method in class org.javalite.activeweb.SpecHelper
-
Returns object from session that is already cast to expected type.
- sessionBoolean(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionBoolean(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- sessionDouble(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionDouble(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- SessionFacade - Class in org.javalite.activeweb
-
Facade to HTTP session.
- SessionFacade() - Constructor for class org.javalite.activeweb.SessionFacade
-
- sessionFloat(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionFloat(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- sessionHas(String) - Method in class org.javalite.activeweb.HttpSupport
-
Returns true if session has named object, false if not.
- sessionHas(String) - Method in class org.javalite.activeweb.SpecHelper
-
Returns true if session has named object, false if not.
- sessionId() - Method in class org.javalite.activeweb.TemplateManager
-
Session ID from underlying session, or null if session does not exist.
- sessionInteger(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionInteger(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- sessionLong(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionLong(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- sessionObject(String) - Method in class org.javalite.activeweb.freemarker.FreeMarkerTag
-
Convenience method, returns object from session, equivalent of:
- sessionObject(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionObject(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- SessionPool - Class in org.javalite.async
-
Serves as a pool of sessions for local sending/receiving to/from the Async.
- SessionPool(String, Connection) - Constructor for class org.javalite.async.SessionPool
-
- sessionString(String) - Method in class org.javalite.activeweb.HttpSupport
-
Convenience method, returns object from session, equivalent of:
- sessionString(String) - Method in class org.javalite.activeweb.SpecHelper
-
Convenience method, returns object from session, equivalent of:
- SessionTestFacade - Class in org.javalite.activeweb
-
- SessionTestFacade(HttpSession) - Constructor for class org.javalite.activeweb.SessionTestFacade
-
- set(String, Object) - Method in class org.javalite.activeweb.AppContext
-
Sets an application - wide object by name.
- set(String, Object) - Method in class org.javalite.activeweb.RequestVo
-
- setBinaryMode(boolean) - Method in class org.javalite.async.Async
-
If true, uses binary mode to send messages.
- setBufferSize(int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setCharacterEncoding(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setConfiguration(Configuration) - Method in class org.javalite.activeweb.freemarker.AbstractFreeMarkerConfig
-
- setContentLength(int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setContentLength(int) - Method in class org.javalite.activeweb.HttpSupport
-
Sets content length of response.
- setContentLengthLong(long) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setContentType(String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setCurrentController(Class<T>) - Method in class org.javalite.activeweb.ViewSpec
-
This method is only needed as a hint to the
LinkToTag
.
- setDateHeader(String, long) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- 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
-
- setFilterConfig(FilterConfig) - Static method in class org.javalite.activeweb.Configuration
-
- setFilters(List<HttpSupportFilter>) - Static method in class org.javalite.activeweb.Configuration
-
- setHeader(String, String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setHttpOnly() - Method in class org.javalite.activeweb.Cookie
-
Sets this cookie to be HTTP only.
- setHttpOnly(boolean) - Method in class org.javalite.activeweb.Cookie
-
Sets this cookie to be Http only or not
- 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
-
- 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.
- setIntHeader(String, int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setJMSMessageID(String) - Method in class org.javalite.async.Command
-
- setLesscArguments(String) - Method in class org.javalite.lessc.maven.LessConfig
-
- setLesscMain(String) - Method in class org.javalite.lessc.maven.LessConfig
-
- setLocale(Locale) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- 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.
- setStatus(int) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- setStatus(int, String) - Method in class org.javalite.activeweb.HttpServletResponseProxy
-
- 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.
- setTokenProvider(CSRF.TokenProvider) - Static method in class org.javalite.activeweb.CSRF
-
Use in case you want to use a project-level provider.
- 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.RequestVo
-
- setWildCardValue(String) - Method in class org.javalite.activeweb.RequestVo
-
- 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.DynamicBuilder - Class in org.javalite.activeweb
-
- 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.
- START - Static variable in class org.javalite.async.pooltest.HelloPerformanceCommand
-
- startAsync() - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- startAsync(ServletRequest, ServletResponse) - Method in class org.javalite.activeweb.MockMultipartHttpServletRequestImpl
-
- 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.
- status() - Method in class org.javalite.activeweb.HttpSupport
-
Returns status code from current response.
- statusCode(int) - Method in class org.javalite.activeweb.HttpSupport.HttpBuilder
-
- statusCode() - Method in class org.javalite.activeweb.RequestSpecHelper
-
Provides status code set on response by controller
- stop() - Method in class org.javalite.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.
- 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
-