A B C D G H I L M N O P R S T U V W

A

ActionPageLookup - Interface in net.trajano.twiff
These provide lookups for data used by the ActionServlet.
ActionResult - Class in net.trajano.twiff.action
Results of POSTs.
ActionResult(String) - Constructor for class net.trajano.twiff.action.ActionResult
 
ActionResultProcessor - Interface in net.trajano.twiff
Processes an action result.
ActionServlet - Class in net.trajano.twiff.internal.servlet
This implements a form handler that does not do the post-redirect-get pattern.
ActionServlet(Configuration, ActionPageLookup, ActionResultProcessor[], WebXmlAdapter) - Constructor for class net.trajano.twiff.internal.servlet.ActionServlet
 
ActionServlet - Class in net.trajano.twiff.web
This implements a form handler that does not do the post-redirect-get pattern.
ActionServlet() - Constructor for class net.trajano.twiff.web.ActionServlet
Constructs the servlet.
ActionServletDelegate - Class in net.trajano.twiff.internal.token.dao
 
ActionServletDelegate(HttpServletRequest, HttpServletResponse, PicoContainer) - Constructor for class net.trajano.twiff.internal.token.dao.ActionServletDelegate
 
ActionServletRequestAdapter - Class in net.trajano.twiff.internal.servlet
This adapts a request so ActionServlet can use it in a more type safe manner.
ActionServletRequestAdapter(HttpServletRequest, String) - Constructor for class net.trajano.twiff.internal.servlet.ActionServletRequestAdapter
Constructs the adapter and initializes all its data.
addServlet(String, String) - Method in class net.trajano.twiff.internal.webxml.WebXmlAdapter
 
addServletMapping(String, String) - Method in class net.trajano.twiff.internal.webxml.WebXmlAdapter
 
addToken(String, String) - Method in class net.trajano.twiff.internal.token.dao.SessionTokenDao
Adds a token into the table.
APP_CONTAINER_KEY - Static variable in class net.trajano.twiff.internal.TwiffInternal
Attribute key to get the application level container.
AttachmentActionPageLookup - Class in net.trajano.twiff.internal.servlet
Provides the logic to lookup data for action and attachements.
AttachmentActionPageLookup(ViewServletConfiguration) - Constructor for class net.trajano.twiff.internal.servlet.AttachmentActionPageLookup
Constructs the lookup.
AttachmentPageLookup - Interface in net.trajano.twiff
These provide lookups for data used by the AttachmentServlet.
AttachmentServlet - Class in net.trajano.twiff.internal.servlet
Displays byte data stored in the page beans.
AttachmentServlet(ViewServletConfiguration, AttachmentPageLookup) - Constructor for class net.trajano.twiff.internal.servlet.AttachmentServlet
 
AttachmentServlet - Class in net.trajano.twiff.web
Displays byte data stored in the page beans.
AttachmentServlet() - Constructor for class net.trajano.twiff.web.AttachmentServlet
Constructs the servlet.

B

buildApplicationLevelContainer(MutablePicoContainer) - Method in interface net.trajano.twiff.container.ContainerBuilder
This method registers components in the application level.
buildContainer(HttpSessionEvent, MutablePicoContainer) - Method in class net.trajano.twiff.internal.listener.PicoHttpSessionListener
Calls the container builder to add session level objects.
buildContainer(ServletRequestEvent, MutablePicoContainer) - Method in class net.trajano.twiff.internal.listener.PicoServletRequestListener
Adds additional elements into the container after the ServletRequest is put in.
buildRequestLevelContainer(MutablePicoContainer) - Method in interface net.trajano.twiff.container.ContainerBuilder
This method registers components per request.
buildSessionLevelContainer(MutablePicoContainer) - Method in interface net.trajano.twiff.container.ContainerBuilder
This method registers components in the session level.

C

Configuration - Interface in net.trajano.twiff
This is the configuration data for all servlets.
CONTAINER_BUILDER_KEY - Static variable in class net.trajano.twiff.Twiff
Context parameter key to get the component registerer class name.
ContainerBuilder - Interface in net.trajano.twiff.container
Implementors of this interface will be called when populating PicoContainers with components.
ContainerBuilderException - Exception in net.trajano.twiff
Subclass of TwiffException when there is a problem constructing the builder.
ContainerBuilderException() - Constructor for exception net.trajano.twiff.ContainerBuilderException
Construct a new exception with no cause and no detail message.
ContainerBuilderException(String) - Constructor for exception net.trajano.twiff.ContainerBuilderException
Construct a new exception with no cause and the specified detail message.
ContainerBuilderException(String, Throwable) - Constructor for exception net.trajano.twiff.ContainerBuilderException
Construct a new exception with the specified cause and the specified detail message.
ContainerBuilderException(Throwable) - Constructor for exception net.trajano.twiff.ContainerBuilderException
Construct a new exception with the specified cause and no detail message.
contextDestroyed(ServletContextEvent) - Method in class net.trajano.twiff.internal.listener.PicoServletContextListener
 
contextDestroyed(ServletContextEvent) - Method in class net.trajano.twiff.internal.listener.TokenServletContextListener
Thie closes the session factory if one exists in the context.
contextDestroyed(ServletContextEvent) - Method in class net.trajano.twiff.web.TwiffListener
 
contextInitialized(ServletContextEvent) - Method in class net.trajano.twiff.internal.listener.PicoServletContextListener
 
contextInitialized(ServletContextEvent) - Method in class net.trajano.twiff.internal.listener.TokenServletContextListener
This loads up the Hibernate configuration and puts it into the container along with required Hibernate components in order for things to work.
contextInitialized(ServletContextEvent) - Method in class net.trajano.twiff.web.TwiffListener
 

D

defaultIfNull(T...) - Static method in class net.trajano.twiff.internal.util.ObjectUtils
Scans through a list of values and returns the first non-null value.
destroy() - Method in class net.trajano.twiff.web.I18nRendererTwiffFilter
 
destroy() - Method in class net.trajano.twiff.web.TwiffFilter
 
DISPATCH_PATTERN_KEY - Static variable in class net.trajano.twiff.Twiff
The dispatch pattern.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class net.trajano.twiff.web.I18nRendererTwiffFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class net.trajano.twiff.web.TwiffFilter
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class net.trajano.twiff.internal.servlet.AttachmentServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class net.trajano.twiff.internal.servlet.RedirectServlet
This will redirect to the proper page if the token data is available otherwise it will display the please wait screen.
doGet(HttpServletRequest, HttpServletResponse) - Method in class net.trajano.twiff.internal.servlet.ViewServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class net.trajano.twiff.internal.servlet.ActionServlet
Handles POST requests.

G

getActionMethod(HttpServletRequest) - Method in interface net.trajano.twiff.ActionPageLookup
This extracts the action method from the URL requested in the servlet request.
getActionMethod(HttpServletRequest) - Method in class net.trajano.twiff.internal.servlet.AttachmentActionPageLookup
 
getActionMethodName(HttpServletRequest) - Method in interface net.trajano.twiff.ActionPageLookup
This extracts the action method name from the URL requested in the servlet request.
getActionMethodName(HttpServletRequest) - Method in class net.trajano.twiff.internal.servlet.AttachmentActionPageLookup
 
getContainer() - Method in class net.trajano.twiff.adapter.RequestAdapter
Returns the PicoContainer stored in the request.
getContainer() - Method in interface net.trajano.twiff.adapter.ServletContextAdapter
Returns the PicoContainer stored in the servlet context.
getContainer() - Method in class net.trajano.twiff.adapter.SessionAdapter
Returns the PicoContainer stored in the session.
getContainer() - Method in class net.trajano.twiff.internal.ServletContextAdapterImpl
Returns the PicoContainer stored in the servlet context.
getContainerBuilder() - Method in interface net.trajano.twiff.adapter.ServletContextAdapter
Returns the ContainerBuilder stored in the servlet context.
getContainerBuilder() - Method in class net.trajano.twiff.internal.ServletContextAdapterImpl
Returns the ContainerBuilder stored in the servlet context.
getDispatchPattern() - Method in class net.trajano.twiff.internal.servlet.ServletConfiguration
 
getDispatchPattern() - Method in interface net.trajano.twiff.ViewServletConfiguration
This is a URL pattern that the view servlet includes in the request dispatcher to do the actual display.
getId() - Method in class net.trajano.twiff.internal.token.entity.SessionToken
 
getInitParam(ServletConfig, String) - Static method in class net.trajano.twiff.internal.util.InitParamUtil
Gets the initialization parameter.
getInitParam(ServletContext, String) - Static method in class net.trajano.twiff.internal.util.InitParamUtil
Gets the initialization parameter.
getLocale() - Method in class net.trajano.twiff.internal.servlet.LocaleHttpServletRequest
Returns the overridden locale.
getLocales() - Method in class net.trajano.twiff.internal.servlet.LocaleHttpServletRequest
Returns the list of locales, with the overridden one being the first in the enumeration.
getMappingForServlet(Class) - Method in class net.trajano.twiff.internal.webxml.WebXmlAdapter
This gets the first mapping used by a servlet by class.
getMappingsForServlet(Class) - Method in class net.trajano.twiff.internal.webxml.WebXmlAdapter
This gets the mappings used by a servlet by class.
getMappingsForServletName(String) - Method in class net.trajano.twiff.internal.webxml.WebXmlAdapter
 
getPackageContext() - Method in interface net.trajano.twiff.Configuration
Returns the package context.
getPackageContext() - Method in class net.trajano.twiff.internal.servlet.ServletConfiguration
 
getPageBean(String, String) - Method in class net.trajano.twiff.internal.token.dao.SessionTokenDao
Gets the redirect URL based on the session and token ID.
getPageBean() - Method in class net.trajano.twiff.internal.token.entity.SessionToken
This returns the page bean data as a serializable object.
getPageBeanClass(HttpServletRequest) - Method in class net.trajano.twiff.internal.servlet.ViewPageLookup
 
getPageBeanClass(HttpServletRequest) - Method in interface net.trajano.twiff.PageLookup
This extracts the page bean class from the URL requested in the servlet request.
getPageBeanClassName(HttpServletRequest) - Method in class net.trajano.twiff.internal.servlet.ViewPageLookup
 
getPageBeanClassName(HttpServletRequest) - Method in interface net.trajano.twiff.PageLookup
This extracts the page bean class name from the URL requested in the servlet request.
getPageName(HttpServletRequest) - Method in class net.trajano.twiff.internal.servlet.AttachmentActionPageLookup
 
getPageName(HttpServletRequest) - Method in class net.trajano.twiff.internal.servlet.ViewPageLookup
 
getPageName(HttpServletRequest) - Method in interface net.trajano.twiff.PageLookup
This extracts the page name from the URL requested in the servlet request.
getParameterName() - Method in exception net.trajano.twiff.MissingInitialParameterException
Returns the intialization parameter name that was not found.
getPathInfo() - Method in class net.trajano.twiff.internal.servlet.LocaleHttpServletRequest
Returns the path info.
getPostData() - Method in class net.trajano.twiff.internal.servlet.ActionServletRequestAdapter
 
getPropertyName(HttpServletRequest) - Method in interface net.trajano.twiff.AttachmentPageLookup
This extracts the property name from the URL requested in the servlet request.
getPropertyName(HttpServletRequest) - Method in class net.trajano.twiff.internal.servlet.AttachmentActionPageLookup
 
getRedirectPage() - Method in class net.trajano.twiff.internal.servlet.ServletConfiguration
 
getRedirectPage() - Method in interface net.trajano.twiff.RedirectConfiguration
This is the page that would be displayed during the redirect within the servlet context.
getRedirectPageTimeout() - Method in class net.trajano.twiff.internal.servlet.ServletConfiguration
 
getRedirectPageTimeout() - Method in interface net.trajano.twiff.RedirectConfiguration
This is the amount of time in seconds that the redirect page would wait before reloading itself.
getRedirectUrl(String, String) - Method in class net.trajano.twiff.internal.token.dao.SessionTokenDao
Gets the redirect URL based on the session and token ID.
getRedirectUrl() - Method in class net.trajano.twiff.internal.token.entity.SessionToken
 
getRequestCount(String, String) - Method in class net.trajano.twiff.internal.token.dao.SessionTokenDao
Gets the request count of the object.
getRequestCount() - Method in class net.trajano.twiff.internal.token.entity.SessionToken
Returns the number of times the data was requested.
getRequestedToken() - Method in exception net.trajano.twiff.InvalidTokenException
Returns the token requested
getServletNamesForClass(Class) - Method in class net.trajano.twiff.internal.webxml.WebXmlAdapter
 
getServletPath() - Method in class net.trajano.twiff.internal.servlet.LocaleHttpServletRequest
Returns the servlet path.
getSessionFactory() - Method in interface net.trajano.twiff.adapter.ServletContextAdapter
This returns the Hibernate session factory used in the framework.
getSessionFactory() - Method in class net.trajano.twiff.internal.ServletContextAdapterImpl
This returns the Hibernate session factory.
getSessionId() - Method in class net.trajano.twiff.internal.servlet.ActionServletRequestAdapter
 
getSessionId() - Method in class net.trajano.twiff.internal.token.entity.SessionToken
 
getTokenFieldName() - Method in interface net.trajano.twiff.Configuration
Returns the name of the token field.
getTokenFieldName() - Method in class net.trajano.twiff.internal.servlet.ServletConfiguration
 
getTokenId() - Method in class net.trajano.twiff.internal.servlet.ActionServletRequestAdapter
 
getTokenId() - Method in class net.trajano.twiff.internal.servlet.ViewServletRequestAdapter
 
getTokenId() - Method in class net.trajano.twiff.internal.token.entity.SessionToken
 
getUnprocessedObject() - Method in exception net.trajano.twiff.UnprocessedException
Returns the unprocessed object.

H

HIBERNATE_CFG_KEY - Static variable in class net.trajano.twiff.Twiff
Context parameter key to get the hibernate configuration file name.
HTTP_SESSION_CONTAINER_KEY - Static variable in class net.trajano.twiff.internal.TwiffInternal
Attribute key to get the session level container.

I

I18nRendererTwiffFilter - Class in net.trajano.twiff.web
This would redirect to the first available page that would support the locale.
I18nRendererTwiffFilter() - Constructor for class net.trajano.twiff.web.I18nRendererTwiffFilter
 
init(FilterConfig) - Method in class net.trajano.twiff.web.I18nRendererTwiffFilter
Initializes the pattern.
init(FilterConfig) - Method in class net.trajano.twiff.web.TwiffFilter
Initializes the pattern.
InitParamUtil - Class in net.trajano.twiff.internal.util
Utility class to get data for initialization parameters.
InstantiationException - Exception in net.trajano.twiff
Subclass of TwiffException when there is a problem instantiating a class.
InstantiationException() - Constructor for exception net.trajano.twiff.InstantiationException
Construct a new exception with no cause and no detail message.
InstantiationException(String) - Constructor for exception net.trajano.twiff.InstantiationException
Construct a new exception with no cause and the specified detail message.
InstantiationException(String, Throwable) - Constructor for exception net.trajano.twiff.InstantiationException
Construct a new exception with the specified cause and the specified detail message.
InstantiationException(Throwable) - Constructor for exception net.trajano.twiff.InstantiationException
Construct a new exception with the specified cause and no detail message.
InvalidTokenException - Exception in net.trajano.twiff
Subclass of TwiffException when a token is being requested that is not valid.
InvalidTokenException(String) - Constructor for exception net.trajano.twiff.InvalidTokenException
Construct a new exception specifying the token value.
isRedirectPageDefined() - Method in class net.trajano.twiff.internal.servlet.ServletConfiguration
 
isRedirectPageDefined() - Method in interface net.trajano.twiff.RedirectConfiguration
This returns true if the redirect page was defined.
isResultProcessable(Object, HttpServletRequest) - Method in interface net.trajano.twiff.ActionResultProcessor
Returns true if the result object is processable by the current processor.
isResultProcessable(Object, HttpServletRequest) - Method in class net.trajano.twiff.internal.servlet.StringActionResultProcessor
Returns true if the result is a string.
isResultProcessable(Object, HttpServletRequest) - Method in class net.trajano.twiff.internal.servlet.UrlActionResultProcessor
Returns true if the result is a string.
isTokenAvailable(String, String) - Method in class net.trajano.twiff.internal.token.dao.SessionTokenDao
This checks if a token is available in the database.
isTokenExist() - Method in class net.trajano.twiff.internal.servlet.ViewServletRequestAdapter
 
isTokenValid(String, String) - Method in class net.trajano.twiff.internal.token.dao.SessionTokenDao
Checks if the session token is valid.
isValid() - Method in class net.trajano.twiff.internal.token.entity.SessionToken
 

L

LocaleHttpServletRequest - Class in net.trajano.twiff.internal.servlet
This wraps the servlet request with some if its returned elements that modified by the filter.
LocaleHttpServletRequest(HttpServletRequest, String) - Constructor for class net.trajano.twiff.internal.servlet.LocaleHttpServletRequest
 
LocaleHttpServletRequest(HttpServletRequest, Locale, String, String) - Constructor for class net.trajano.twiff.internal.servlet.LocaleHttpServletRequest
 

M

MissingInitialParameterException - Exception in net.trajano.twiff
Subclass of TwiffException when there are initial parameters that are not set in the web.xml file.
MissingInitialParameterException(String) - Constructor for exception net.trajano.twiff.MissingInitialParameterException
Construct a new exception with no cause and the specified detail message.
MissingSessionException - Exception in net.trajano.twiff
Subclass of TwiffException when a no session has been created when one is expected.
MissingSessionException() - Constructor for exception net.trajano.twiff.MissingSessionException
Construct a new exception.
MissingTokenException - Exception in net.trajano.twiff
Subclass of TwiffException when a form had no "token" value.
MissingTokenException() - Constructor for exception net.trajano.twiff.MissingTokenException
Construct a new exception with no cause and no detail message.

N

net.trajano.twiff - package net.trajano.twiff
Constants, interfaces and exceptions used by the framework.
net.trajano.twiff.action - package net.trajano.twiff.action
 
net.trajano.twiff.adapter - package net.trajano.twiff.adapter
Provides adapters used by the framework.
net.trajano.twiff.container - package net.trajano.twiff.container
Classes that handle container management.
net.trajano.twiff.internal - package net.trajano.twiff.internal
Classes in this package and packages under this one are for internal use only and may change at anytime.
net.trajano.twiff.internal.listener - package net.trajano.twiff.internal.listener
Servlet API 2.4 listeners.
net.trajano.twiff.internal.servlet - package net.trajano.twiff.internal.servlet
Contains implementations of the servlets.
net.trajano.twiff.internal.token.dao - package net.trajano.twiff.internal.token.dao
 
net.trajano.twiff.internal.token.entity - package net.trajano.twiff.internal.token.entity
 
net.trajano.twiff.internal.util - package net.trajano.twiff.internal.util
Internal utility classes.
net.trajano.twiff.internal.webxml - package net.trajano.twiff.internal.webxml
Parses web.xml into java code.
net.trajano.twiff.web - package net.trajano.twiff.web
Classes that must be registered in the web.xml file of the application.

O

ObjectUtils - Class in net.trajano.twiff.internal.util
Extends ObjectUtils with Java 5.0 constructs.
ObjectUtils() - Constructor for class net.trajano.twiff.internal.util.ObjectUtils
 

P

PACKAGE_CONTEXT_KEY - Static variable in class net.trajano.twiff.Twiff
Context parameter key to get the base package name for the page beans.
PAGE_CACHE_MAX_SIZE_KEY - Static variable in class net.trajano.twiff.Twiff
Context parameter key to get the maximum page cache size.
PageLookup - Interface in net.trajano.twiff
This interface gets the page data that is used for all the servlets.
PicoHttpSessionListener - Class in net.trajano.twiff.internal.listener
This populates the container within the HttpSession.
PicoHttpSessionListener() - Constructor for class net.trajano.twiff.internal.listener.PicoHttpSessionListener
 
PicoServletContextListener - Class in net.trajano.twiff.internal.listener
This populates the container within the ServletContext.
PicoServletContextListener() - Constructor for class net.trajano.twiff.internal.listener.PicoServletContextListener
 
PicoServletRequestListener - Class in net.trajano.twiff.internal.listener
This populates the container within in the ServletRequest object with the ContainerBuilder.buildRequestLevelContainer(MutablePicoContainer) method.
PicoServletRequestListener() - Constructor for class net.trajano.twiff.internal.listener.PicoServletRequestListener
 
populateContainer(MutablePicoContainer) - Method in class net.trajano.twiff.web.ActionServlet
Configures the container.
populateContainer(MutablePicoContainer) - Method in class net.trajano.twiff.web.AttachmentServlet
Configures the container.
populateContainer(MutablePicoContainer) - Method in class net.trajano.twiff.web.RedirectServlet
Configures the container.
populateContainer(MutablePicoContainer) - Method in class net.trajano.twiff.web.ViewServlet
Configures the container.
processActionResult(Object, HttpServletRequest) - Method in interface net.trajano.twiff.ActionResultProcessor
Processes the action result and returns the URL to redirect to.
processActionResult(Object, HttpServletRequest) - Method in class net.trajano.twiff.internal.servlet.StringActionResultProcessor
 
processActionResult(Object, HttpServletRequest) - Method in class net.trajano.twiff.internal.servlet.UrlActionResultProcessor
 

R

REDIRECT_TIMEOUT - Static variable in class net.trajano.twiff.Twiff
How many seconds before the redirect page refreshes itself.
REDIRECT_WAIT_PAGE - Static variable in class net.trajano.twiff.Twiff
Which page to display during a redirect.
RedirectConfiguration - Interface in net.trajano.twiff
This is the configuration data for the redirect servlet.
RedirectServlet - Class in net.trajano.twiff.internal.servlet
This servlet is used for redirecting.
RedirectServlet(RedirectConfiguration) - Constructor for class net.trajano.twiff.internal.servlet.RedirectServlet
 
RedirectServlet - Class in net.trajano.twiff.web
This servlet is used for redirecting.
RedirectServlet() - Constructor for class net.trajano.twiff.web.RedirectServlet
Constructs the servlet.
registerComponentImplementation(Class) - Method in class net.trajano.twiff.internal.servlet.ViewServletRequestAdapter
Registeres the class into the PicoContainer stored in the request.
registerPageBean(ServletRequest, Class) - Static method in class net.trajano.twiff.internal.servlet.RendererUtil
Registers a page bean in the request container.
registerPageBean(ServletRequest, String) - Static method in class net.trajano.twiff.internal.servlet.RendererUtil
Deprecated.  
removeSession(String) - Method in class net.trajano.twiff.internal.token.dao.SessionTokenDao
Removes all the token and session data for the session id.
RENDERER_CLASS_KEY - Static variable in class net.trajano.twiff.Twiff
Servlet init parameter key to get the class name of the renderer for the view.
RendererUtil - Class in net.trajano.twiff.internal.servlet
Utilty class to provide helper methods in making renderers.
REQUEST_CONTAINER_KEY - Static variable in class net.trajano.twiff.internal.TwiffInternal
Attribute key to get the request level container.
RequestAdapter - Class in net.trajano.twiff.adapter
This provides access to the ServletRequest data.
RequestAdapter(ServletRequest) - Constructor for class net.trajano.twiff.adapter.RequestAdapter
Creates the adapter.
requestDestroyed(ServletRequestEvent) - Method in class net.trajano.twiff.internal.listener.PicoServletRequestListener
Invoked when a servlet request is destroyed.
requestDestroyed(ServletRequestEvent) - Method in class net.trajano.twiff.internal.listener.TokenServletRequestListener
Does nothing.
requestDestroyed(ServletRequestEvent) - Method in class net.trajano.twiff.web.TwiffListener
 
requestInitialized(ServletRequestEvent) - Method in class net.trajano.twiff.internal.listener.PicoServletRequestListener
This creates the container for the request level.
requestInitialized(ServletRequestEvent) - Method in class net.trajano.twiff.internal.listener.TokenServletRequestListener
Adds a token into the request object.
requestInitialized(ServletRequestEvent) - Method in class net.trajano.twiff.web.TwiffListener
 

S

safeGetInitParam(ServletConfig, String) - Static method in class net.trajano.twiff.internal.util.InitParamUtil
Gets the initialization parameter.
safeGetInitParam(ServletContext, String) - Static method in class net.trajano.twiff.internal.util.InitParamUtil
Gets the initialization parameter.
ServletConfiguration - Class in net.trajano.twiff.internal.servlet
 
ServletConfiguration(ServletConfig) - Constructor for class net.trajano.twiff.internal.servlet.ServletConfiguration
 
ServletContextAdapter - Interface in net.trajano.twiff.adapter
This provides access to the servlet context data.
ServletContextAdapterImpl - Class in net.trajano.twiff.internal
This provides access to the servlet context data.
ServletContextAdapterImpl(ServletContext) - Constructor for class net.trajano.twiff.internal.ServletContextAdapterImpl
Creates the adapter.
SESSION_FACTORY_KEY - Static variable in class net.trajano.twiff.internal.TwiffInternal
Attribute key to get the Hibernate SessionFactory object from the servlet context.
SessionAdapter - Class in net.trajano.twiff.adapter
This provides access to the HttpSession data.
SessionAdapter(HttpSession) - Constructor for class net.trajano.twiff.adapter.SessionAdapter
Creates the adapter.
sessionCreated(HttpSessionEvent) - Method in class net.trajano.twiff.internal.listener.PicoHttpSessionListener
 
sessionCreated(HttpSessionEvent) - Method in class net.trajano.twiff.internal.listener.TokenHttpSessionListener
Does nothing.
sessionCreated(HttpSessionEvent) - Method in class net.trajano.twiff.web.TwiffListener
 
sessionDestroyed(HttpSessionEvent) - Method in class net.trajano.twiff.internal.listener.PicoHttpSessionListener
This will dispose the container inside an attribute of the HTTP session and remove the container attribute as well.
sessionDestroyed(HttpSessionEvent) - Method in class net.trajano.twiff.internal.listener.TokenHttpSessionListener
Destroys any data for the HttpSession in the SessionToken table.
sessionDestroyed(HttpSessionEvent) - Method in class net.trajano.twiff.web.TwiffListener
 
SessionToken - Class in net.trajano.twiff.internal.token.entity
This is an entity that stores the session token data.
SessionToken() - Constructor for class net.trajano.twiff.internal.token.entity.SessionToken
 
SessionTokenDao - Class in net.trajano.twiff.internal.token.dao
DAO to manipate session token data.
SessionTokenDao(Session) - Constructor for class net.trajano.twiff.internal.token.dao.SessionTokenDao
Constructs the DAO.
setPageBean(Serializable) - Method in class net.trajano.twiff.internal.token.entity.SessionToken
 
setRedirectUrl(URL) - Method in class net.trajano.twiff.internal.token.entity.SessionToken
 
setSessionId(String) - Method in class net.trajano.twiff.internal.token.entity.SessionToken
Sets the session Id for the SessionToken.
setTokenId(String) - Method in class net.trajano.twiff.internal.token.entity.SessionToken
Sets the token Id for the SessionToken.
StringActionResultProcessor - Class in net.trajano.twiff.internal.servlet
Processes action results of strings.
StringActionResultProcessor(Configuration, WebXmlAdapter) - Constructor for class net.trajano.twiff.internal.servlet.StringActionResultProcessor
Constructs the processor.

T

TOKEN_FIELD_NAME - Static variable in class net.trajano.twiff.Twiff
Context parameter key that sets the token field name to use.
TOKEN_RESUBMIT_FIELD_NAME - Static variable in class net.trajano.twiff.Twiff
Context parameter key that sets the token resubmit field name to use.
TokenHttpSessionListener - Class in net.trajano.twiff.internal.listener
This handles requests made when an HTTP Session is created.
TokenHttpSessionListener() - Constructor for class net.trajano.twiff.internal.listener.TokenHttpSessionListener
 
TokenServletContextListener - Class in net.trajano.twiff.internal.listener
This places required objects into the servlet context.
TokenServletContextListener() - Constructor for class net.trajano.twiff.internal.listener.TokenServletContextListener
 
TokenServletRequestListener - Class in net.trajano.twiff.internal.listener
 
TokenServletRequestListener() - Constructor for class net.trajano.twiff.internal.listener.TokenServletRequestListener
 
Twiff - Class in net.trajano.twiff
This utility class provides string constants used by the application and are exposed for public use.
TWIFF_DEFAULTS - Static variable in class net.trajano.twiff.internal.TwiffInternal
Resource bundle lookup key to get the defaults used in the framework.
TwiffException - Exception in net.trajano.twiff
Superclass of all exceptions in the Twiff framework.
TwiffException() - Constructor for exception net.trajano.twiff.TwiffException
Construct a new exception with no cause and no detail message.
TwiffException(String) - Constructor for exception net.trajano.twiff.TwiffException
Construct a new exception with no cause and the specified detail message.
TwiffException(String, Throwable) - Constructor for exception net.trajano.twiff.TwiffException
Construct a new exception with the specified cause and the specified detail message.
TwiffException(Throwable) - Constructor for exception net.trajano.twiff.TwiffException
Construct a new exception with the specified cause and no detail message.
TwiffFilter - Class in net.trajano.twiff.web
 
TwiffFilter() - Constructor for class net.trajano.twiff.web.TwiffFilter
 
TwiffInternal - Class in net.trajano.twiff.internal
This utility class provides string constants used by the framework internally.
TwiffListener - Class in net.trajano.twiff.web
This listens to events thrown by the servlet container.
TwiffListener() - Constructor for class net.trajano.twiff.web.TwiffListener
 

U

UnprocessedException - Exception in net.trajano.twiff
Subclass of TwiffException when there is an object that is not processed.
UnprocessedException(Object) - Constructor for exception net.trajano.twiff.UnprocessedException
Construct a new exception specifying the unprocessed object.
updateTokenInfo(String, String, URL, Serializable) - Method in class net.trajano.twiff.internal.token.dao.SessionTokenDao
Adds the token info.
UrlActionResultProcessor - Class in net.trajano.twiff.internal.servlet
Processes action results of strings.
UrlActionResultProcessor() - Constructor for class net.trajano.twiff.internal.servlet.UrlActionResultProcessor
 

V

ViewPageLookup - Class in net.trajano.twiff.internal.servlet
This is a simple page lookup implementation.
ViewPageLookup(ViewServletConfiguration) - Constructor for class net.trajano.twiff.internal.servlet.ViewPageLookup
 
ViewServlet - Class in net.trajano.twiff.internal.servlet
This class forwards container data a request dispatcher.
ViewServlet(ViewServletConfiguration, PageLookup) - Constructor for class net.trajano.twiff.internal.servlet.ViewServlet
 
ViewServlet - Class in net.trajano.twiff.web
This class forwards container data to a JSP.
ViewServlet() - Constructor for class net.trajano.twiff.web.ViewServlet
Constructs the servlet.
ViewServletConfiguration - Interface in net.trajano.twiff
This is the configuration data for servlets that perform views.
ViewServletRequestAdapter - Class in net.trajano.twiff.internal.servlet
This adapts a request so ViewServlet and AttachmentServlet can use it in a more type safe manner.
ViewServletRequestAdapter(HttpServletRequest, String) - Constructor for class net.trajano.twiff.internal.servlet.ViewServletRequestAdapter
Constructs the adapter.

W

WebXmlAdapter - Class in net.trajano.twiff.internal.webxml
This processes the web.xml file.
WebXmlAdapter(ServletConfig) - Constructor for class net.trajano.twiff.internal.webxml.WebXmlAdapter
Constructs the adapter from the web.xml file in the servlet context used by the servlet config.
WebXmlAdapter(InputStream) - Constructor for class net.trajano.twiff.internal.webxml.WebXmlAdapter
Constructs the adapter using the specified web.xml location.

A B C D G H I L M N O P R S T U V W

Copyright © 2004-2005 trajano.net. All Rights Reserved.