A B C D F G H I J L M N O P R S T

A

ApplicationErrorHandler - Interface in com.getsnappy.snappyj
This interface is used to trap exceptions and perform custom actions.
ApplicationInstance - Class in com.getsnappy.snappyj
This class as a wrapper around HttpServlet is slightly more convenient and plays nicer with Eclipse than the HttpServlet class.
ApplicationInstance() - Constructor for class com.getsnappy.snappyj.ApplicationInstance
 

B

BlockingAnimatedGifLoadingIndicator - Class in com.getsnappy.snappyj
This loading indicator will apply the opaque png "/images/grey.png" screenwide and then load /images/loadingBox.png and attempt to keep it centered in the screen
BlockingAnimatedGifLoadingIndicator() - Constructor for class com.getsnappy.snappyj.BlockingAnimatedGifLoadingIndicator
 

C

CalendarLoadingIndicator - Class in com.getsnappy.snappyj.examples
 
CalendarLoadingIndicator(String) - Constructor for class com.getsnappy.snappyj.examples.CalendarLoadingIndicator
 
CLASS_NAME - Static variable in class com.getsnappy.snappyj.DynamicContextBean.Attributes
 
CLASS_NAME - Static variable in class com.getsnappy.snappyj.MultiJavaScriptBean
 
classCache - Static variable in class com.getsnappy.util.ReflectionCache.ClassCache
 
com.getsnappy.filter - package com.getsnappy.filter
 
com.getsnappy.snappyj - package com.getsnappy.snappyj
 
com.getsnappy.snappyj.examples - package com.getsnappy.snappyj.examples
 
com.getsnappy.util - package com.getsnappy.util
 
constructorCache - Static variable in class com.getsnappy.util.ReflectionCache.ConstructorCache
 
Context - Class in com.getsnappy.snappyj
Context's are html element which will be given web 2.0 loading/reloading capabilites.
Context() - Constructor for class com.getsnappy.snappyj.Context
 
ContextAnimatedGifLoadingIndicator - Class in com.getsnappy.snappyj
This loading indicator will apply the opaque png "/images/grey.png" screenwide and then load /images/loadingBox.png and attempt to keep it centered in the screen
ContextAnimatedGifLoadingIndicator(String) - Constructor for class com.getsnappy.snappyj.ContextAnimatedGifLoadingIndicator
Creates an loading image with the default imageUri /images/loadingBox.png
ContextAnimatedGifLoadingIndicator(String, String, int, int) - Constructor for class com.getsnappy.snappyj.ContextAnimatedGifLoadingIndicator
Will display the following image with the specified width and height in the center of the context if possible.
ContextAnimatedGifLoadingIndicator(String, String, int, int, int, int) - Constructor for class com.getsnappy.snappyj.ContextAnimatedGifLoadingIndicator
Will display the following image with the specified width and height.
ContextBlockingAnimatedGifLoadingIndicator - Class in com.getsnappy.snappyj
This loading indicator will apply the opaque png "/images/grey.png" screenwide and then load /images/loadingBox.png and attempt to keep it centered in the screen
ContextBlockingAnimatedGifLoadingIndicator(String) - Constructor for class com.getsnappy.snappyj.ContextBlockingAnimatedGifLoadingIndicator
 
COOKIE_NAME - Static variable in class com.getsnappy.snappyj.DynamicContextBean
 
COOKIE_NAME - Static variable in class com.getsnappy.snappyj.MultiJavaScriptBean
 

D

DEBUG(String) - Static method in class com.getsnappy.snappyj.Options
Used to wrap JavaScript statements that are useful for debugging issues with the library.
DefaultApplicationErrorHandler - Class in com.getsnappy.snappyj
 
DefaultApplicationErrorHandler() - Constructor for class com.getsnappy.snappyj.DefaultApplicationErrorHandler
 
DefaultJavaScriptErrorHandler - Class in com.getsnappy.snappyj
 
DefaultJavaScriptErrorHandler() - Constructor for class com.getsnappy.snappyj.DefaultJavaScriptErrorHandler
 
DefaultMessageApplicationErrorHandler - Class in com.getsnappy.snappyj
The DefaultMessageapplicationErrorHandler simply outputs a generic message to out.
DefaultMessageApplicationErrorHandler() - Constructor for class com.getsnappy.snappyj.DefaultMessageApplicationErrorHandler
Sets the defaultMessage to "An Error has Occured!"
DefaultMessageApplicationErrorHandler(String) - Constructor for class com.getsnappy.snappyj.DefaultMessageApplicationErrorHandler
Sets the defaultMessage to the param defaultMessage.
destroy() - Method in class com.getsnappy.filter.NoCacheFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.getsnappy.filter.NoCacheFilter
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.ApplicationInstance
simply forward to the output function and turn exceptions that are not already of type IOException or ServletException into ServletExceptions before passing them back out.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.ServletForwarder
Call doGet in the underlying servlet defined by the constructor or the one specified by the applicationClassName request parameter if the default contructor was used.
DoNothingLoadingIndicator - Class in com.getsnappy.snappyj
This loading indicator literally does nothing.
DoNothingLoadingIndicator() - Constructor for class com.getsnappy.snappyj.DoNothingLoadingIndicator
 
dontQuote(String) - Static method in class com.getsnappy.snappyj.StringUtil
When passing Strings into js<...> methods, they will be passed through jsQuote to be properly quoted.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.ApplicationInstance
simply forward to the output function and turn exceptions that are not already of type IOException or ServletException into ServletExceptions before passing them back out.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.ServletForwarder
Call doPost in the underlying servlet defined by the constructor or the one specified by the applicationClassName request parameter if the default contructor was used.
DynamicContext - Class in com.getsnappy.snappyj
FIXME: document me!!!!
DynamicContext(HttpServletRequest, HttpServletResponse, String, String, JavaScriptLoadingIndicator) - Constructor for class com.getsnappy.snappyj.DynamicContext
this is a special constructor that creates the bean for the specified application with the given
DynamicContextBean - Class in com.getsnappy.snappyj
Every DynamicContext instance is backed by a CategoryChooserBean bean
DynamicContextBean(HttpServletRequest, HttpServletResponse, String, String) - Constructor for class com.getsnappy.snappyj.DynamicContextBean
load up the CategoryChooserBean with the giving contextId.
DynamicContextBean.Attributes - Class in com.getsnappy.snappyj
 
DynamicContextBean.Attributes() - Constructor for class com.getsnappy.snappyj.DynamicContextBean.Attributes
 

F

forName(String) - Static method in class com.getsnappy.util.ReflectionCache.ClassCache
 

G

get(String) - Method in class com.getsnappy.snappyj.JavaScriptBean
Used internally to access the variables in this bean.
getApplicationVariables() - Method in class com.getsnappy.snappyj.DynamicContextBean
 
getApplicationVariables() - Method in class com.getsnappy.snappyj.JavaScriptBean
overide this function to define all variables for this bean
getApplicationVariables() - Method in class com.getsnappy.snappyj.MultiJavaScriptBean
 
getApplicationVariableTypes() - Method in class com.getsnappy.snappyj.DynamicContextBean
 
getApplicationVariableTypes() - Method in class com.getsnappy.snappyj.JavaScriptBean
overide this function to define the variables types.
getApplicationVariableTypes() - Method in class com.getsnappy.snappyj.MultiJavaScriptBean
 
getAttributeId(String) - Method in class com.getsnappy.snappyj.JavaScriptBean
Works in conjunction with jsPersistForm.
getBeans() - Method in class com.getsnappy.snappyj.SnappyJEnvironment
Get a collection of all global beans.
getClassName() - Method in class com.getsnappy.snappyj.Context
 
getClassName() - Method in class com.getsnappy.snappyj.DynamicContext
 
getClassName() - Method in class com.getsnappy.snappyj.DynamicContextBean
 
getClassName() - Method in class com.getsnappy.snappyj.MultiJavaScriptBean
 
getClassName() - Method in class com.getsnappy.snappyj.StaticContext
 
getCompleteClassName(String) - Static method in class com.getsnappy.snappyj.Options
If -Dcom.getsnappy.ClassNamePrefix is defined, it will prefix this value to className (adding a "." in between them if necessary).
getConstructor(Class, Class...) - Static method in class com.getsnappy.util.ReflectionCache.ConstructorCache
 
getContextId() - Method in class com.getsnappy.snappyj.Context
 
getContextId() - Method in class com.getsnappy.snappyj.DynamicContext
 
getContextId() - Method in class com.getsnappy.snappyj.StaticContext
 
getContexts() - Method in class com.getsnappy.snappyj.SnappyJEnvironment
Get a collection of all global beans.
getCookieName() - Method in class com.getsnappy.snappyj.DynamicContextBean
 
getCookieName() - Method in class com.getsnappy.snappyj.JavaScriptBean
overide this function to define a cookieName to load cookie state from
getCookieName() - Method in class com.getsnappy.snappyj.MultiJavaScriptBean
 
getDynamicContextBean() - Method in class com.getsnappy.snappyj.DynamicContext
 
getErrorHandlerClass() - Static method in class com.getsnappy.snappyj.Options
This class contains the functionality to alert a user when something unexpected happens.
getInstance() - Static method in class com.getsnappy.snappyj.BlockingAnimatedGifLoadingIndicator
Load the single shared instance.
getJavaScriptBeanName() - Method in class com.getsnappy.snappyj.DynamicContextBean
 
getJavaScriptBeanName() - Method in class com.getsnappy.snappyj.JavaScriptBean
// overide this function to define a bean name.
getJavaScriptBeanName() - Method in class com.getsnappy.snappyj.MultiJavaScriptBean
 
getJavaScriptLoadingIndicator() - Method in class com.getsnappy.snappyj.Context
 
getJavaScriptLoadingIndicator() - Method in class com.getsnappy.snappyj.DynamicContext
 
getJavaScriptLoadingIndicator() - Method in class com.getsnappy.snappyj.StaticContext
 
getMethod(Class, String, Class...) - Static method in class com.getsnappy.util.ReflectionCache.MethodCache
 
getServletForwarderUrl() - Static method in class com.getsnappy.snappyj.Options
If -Dcom.getsnappy.ServletForwarder is defined, it returns this value, otherwise it default /servletForwarder.
getUrl() - Method in class com.getsnappy.snappyj.SnappyJEnvironment
Get the url of the web page or servlet that is including and using this Web20Environment
GraphLoadingIndicator - Class in com.getsnappy.snappyj.examples
 
GraphLoadingIndicator(String) - Constructor for class com.getsnappy.snappyj.examples.GraphLoadingIndicator
 
GroovyLoadingIndicator - Class in com.getsnappy.snappyj.examples
This loading indicator will apply the opaque png "/images/grey.png" screenwide and then load /images/loadingBox.png and attempt to keep it centered in the screen
GroovyLoadingIndicator(String) - Constructor for class com.getsnappy.snappyj.examples.GroovyLoadingIndicator
 

H

handleException(Exception, Writer, HttpServletRequest, HttpServletResponse) - Method in interface com.getsnappy.snappyj.ApplicationErrorHandler
The default application
handleException(Exception, Writer, HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.DefaultApplicationErrorHandler
The default application error handler simply re-throws the exception letting the application server handle it.
handleException(Exception, Writer, HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.DefaultMessageApplicationErrorHandler
This error handler simply prints out defaultMessage

I

IFRAME_POS - Static variable in class com.getsnappy.snappyj.ServletForwarder.Parameters
 
include(Writer, HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.Context
This method will output a empty placeholder div of the specified width and height, followed by issueing a jsReload inside a JavaScript block, causing the contents of this context to be loaded asynchronously
includeAsync(Writer, HttpServletRequest, HttpServletResponse, int, int) - Method in class com.getsnappy.snappyj.Context
This method will output a empty placeholder div of the specified width and height, followed by issueing a jsReload inside a JavaScript block, causing the contents of this context to be loaded asynchronously
init(FilterConfig) - Method in class com.getsnappy.filter.NoCacheFilter
 
isPersistedInRequest(String, HttpServletRequest, HttpServletResponse) - Static method in class com.getsnappy.snappyj.JavaScriptBean
 

J

JAVA_SCRIPT_PREFIX - Static variable in class com.getsnappy.snappyj.StringUtil
 
JavaScriptBean - Class in com.getsnappy.snappyj
These beans act as the communication channel between javascript and java.
JavaScriptBean() - Constructor for class com.getsnappy.snappyj.JavaScriptBean
 
JavaScriptErrorHandler - Class in com.getsnappy.snappyj
 
JavaScriptErrorHandler() - Constructor for class com.getsnappy.snappyj.JavaScriptErrorHandler
 
JavaScriptLoadingIndicator - Class in com.getsnappy.snappyj
This is used to indicate to a user using JavaScript that it's containing context is being reloaded or forwarded.
JavaScriptLoadingIndicator() - Constructor for class com.getsnappy.snappyj.JavaScriptLoadingIndicator
 
jsAddToHistory(Writer, HttpServletRequest) - Static method in class com.getsnappy.snappyj.SnappyJEnvironment
 
jsDeclareObject(Writer) - Method in class com.getsnappy.snappyj.Context
Generate a JavaScript function that returns a JavaScript object representing this context.
jsDeclareObject(Writer) - Method in class com.getsnappy.snappyj.DynamicContext
 
jsDeclareObject(Writer) - Method in class com.getsnappy.snappyj.JavaScriptBean
Generate the necassary object definitions to process a bean.
jsDeclareObject(Writer) - Method in class com.getsnappy.snappyj.StaticContext
 
jsDisplayNonBlockingPopup(String, String, String, String, String) - Static method in class com.getsnappy.snappyj.SnappyJEnvironment
Call this method to output the JavaScript required to create make a popup window of the specified deminsions and id attributes, and LoadingIndicator sychronouly, and then asynchronously The className with queryString.
jsFinish(Writer) - Method in class com.getsnappy.snappyj.BlockingAnimatedGifLoadingIndicator
 
jsFinish(Writer) - Method in class com.getsnappy.snappyj.ContextAnimatedGifLoadingIndicator
 
jsFinish(Writer) - Method in class com.getsnappy.snappyj.ContextBlockingAnimatedGifLoadingIndicator
 
jsFinish(Writer) - Method in class com.getsnappy.snappyj.examples.GroovyLoadingIndicator
 
jsFinish(Writer) - Method in class com.getsnappy.snappyj.JavaScriptLoadingIndicator
Called immediately before replacing the contents of the page.
jsForward(String) - Method in class com.getsnappy.snappyj.DynamicContext
This method will forward
jsFunctionDefinition(Writer) - Method in class com.getsnappy.snappyj.DefaultJavaScriptErrorHandler
 
jsFunctionDefinition(Writer) - Method in class com.getsnappy.snappyj.JavaScriptErrorHandler
Used the define what happens when an unexpected condition occurs This must output a function definition that takes a single string and does some sort of JavaScript action to alert the user that an error w20.errorHandler
jsGet(String) - Method in class com.getsnappy.snappyj.JavaScriptBean
Outputs inline(single-line) JavaScript that will set and persist the specified attribute immediately, when the javascript is executed
jsIfAsyncRequest(Writer, String, HttpServletRequest) - Static method in class com.getsnappy.snappyj.SnappyJEnvironment
 
jsIfInitialLoad(Writer, String) - Static method in class com.getsnappy.snappyj.SnappyJEnvironment
Perform jsDo only if this is the initial page load.
jsIfNotReloadOrHistoryChange(Writer, String, HttpServletRequest) - Static method in class com.getsnappy.snappyj.SnappyJEnvironment
Fired when this page is NOT the result of browser refresh.
jsIfReload(Writer, String) - Method in class com.getsnappy.snappyj.SnappyJEnvironment
I'm not actually sure what the applied use of this would be.
jsInitialize(Writer) - Method in class com.getsnappy.snappyj.SnappyJEnvironment
This will create object declarations for each context and bean within the web 2.0 envirnment.
jsPersist() - Method in class com.getsnappy.snappyj.JavaScriptBean
 
jsPersistForm() - Method in class com.getsnappy.snappyj.JavaScriptBean
Load the html form elements by id for each attribute (see jsAttributeId) and persist changes.
jsQuote(String) - Static method in class com.getsnappy.snappyj.StringUtil
Take the given string and return a string in a format suitable for JavaScript.
jsQuote(Long) - Static method in class com.getsnappy.snappyj.StringUtil
Currently to calls the String version
jsQuote(Integer) - Static method in class com.getsnappy.snappyj.StringUtil
Currently to calls the String version
jsQuote(Boolean) - Static method in class com.getsnappy.snappyj.StringUtil
Returns either undefined, true or false
jsReload() - Method in class com.getsnappy.snappyj.Context
This method returns inline JavaScript that will reload the context.
jsReplaceElementAsync(String, String, String, String) - Static method in class com.getsnappy.snappyj.SnappyJEnvironment
A utility function for performing an asynchronous replacement of an element with the contents of an application.
jsSet(String, String) - Method in class com.getsnappy.snappyj.JavaScriptBean
FIXME: Need to add type safety checks to jsSet
jsSet(String, Integer) - Method in class com.getsnappy.snappyj.JavaScriptBean
Outputs inline(single-line) JavaScript that will set and persist the specified attribute immediately, when the javascript is executed
jsSet(String, Long) - Method in class com.getsnappy.snappyj.JavaScriptBean
Outputs inline(single-line) JavaScript that will set and persist the specified attribute immediately, when the javascript is executed
jsSet(String, Boolean) - Method in class com.getsnappy.snappyj.JavaScriptBean
Outputs inline(single-line) JavaScript that will set and persist the specified attribute immediately, when the javascript is executed
jsSetTitle(Writer, String) - Static method in class com.getsnappy.snappyj.SnappyJEnvironment
Setting the title and adding history are combined for a reason.
jsStart(Writer) - Method in class com.getsnappy.snappyj.BlockingAnimatedGifLoadingIndicator
This function will apply the opaque png "/images/grey.png" screenwide and then load /images/loadingBox.png and attempt to keep centered in the screen
jsStart(Writer) - Method in class com.getsnappy.snappyj.ContextAnimatedGifLoadingIndicator
This function will apply the opaque png "/images/grey.png" screenwide and then load /images/loadingBox.png and attempt to keep centered in the screen
jsStart(Writer) - Method in class com.getsnappy.snappyj.ContextBlockingAnimatedGifLoadingIndicator
This function will apply the opaque png "/images/grey.png" screenwide and then load /images/loadingBox.png and attempt to keep centered in the screen
jsStart(Writer) - Method in class com.getsnappy.snappyj.DoNothingLoadingIndicator
true to the classes name, this function does nothing!
jsStart(Writer) - Method in class com.getsnappy.snappyj.examples.GroovyLoadingIndicator
This function will apply the opaque png "/images/grey.png" screenwide and then load /images/loadingBox.png and attempt to keep centered in the screen
jsStart(Writer) - Method in class com.getsnappy.snappyj.JavaScriptLoadingIndicator
This function is called immediately before reloading or forwarding a context from JavaScript.
jsStart(Writer) - Method in class com.getsnappy.snappyj.LargeAnimatedGifLoadingIndicator
true to the classes name, this function does nothing!
jsStart(Writer) - Method in class com.getsnappy.snappyj.MediumAnimatedGifLoadingIndicator
true to the classes name, this function does nothing!
jsStart(Writer) - Method in class com.getsnappy.snappyj.SmallAnimatedGifLoadingIndicator
true to the classes name, this function does nothing!

L

LargeAnimatedGifLoadingIndicator - Class in com.getsnappy.snappyj
This loading indicator literally does nothing.
LargeAnimatedGifLoadingIndicator() - Constructor for class com.getsnappy.snappyj.LargeAnimatedGifLoadingIndicator
 
load(HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.JavaScriptBean
This method loads the bean variables.

M

MediumAnimatedGifLoadingIndicator - Class in com.getsnappy.snappyj
This loading indicator literally does nothing.
MediumAnimatedGifLoadingIndicator() - Constructor for class com.getsnappy.snappyj.MediumAnimatedGifLoadingIndicator
 
methodCache - Static variable in class com.getsnappy.util.ReflectionCache.MethodCache
 
MultiJavaScriptBean - Class in com.getsnappy.snappyj
Every DynamicContext instance is backed by a CategoryChooserBean bean
MultiJavaScriptBean(HttpServletRequest, HttpServletResponse, String) - Constructor for class com.getsnappy.snappyj.MultiJavaScriptBean
load up the CategoryChooserBean with the giving contextId.

N

NoCacheFilter - Class in com.getsnappy.filter
 
NoCacheFilter() - Constructor for class com.getsnappy.filter.NoCacheFilter
 

O

Options - Class in com.getsnappy.snappyj
This class provides central documentation to all options applicable to the web 2.0 framework library.
Options() - Constructor for class com.getsnappy.snappyj.Options
 
output(Writer, HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.ApplicationInstance
This abstract class must be overriden and is called whenever this servlet is excecuted.
output(Writer, HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.Context
outputs content for the ApplicationInstance or HttpServlet defined by getClassName() This function basically loads and calls the corresponding method in the
outputHiddenIFrame(HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.ServletForwarder
 

P

persistToRequest(HttpServletRequest, HttpServletResponse) - Method in class com.getsnappy.snappyj.JavaScriptBean
Persist this Bean for the duration of the request.

R

ReflectionCache - Class in com.getsnappy.util
 
ReflectionCache() - Constructor for class com.getsnappy.util.ReflectionCache
 
ReflectionCache.ClassCache - Class in com.getsnappy.util
 
ReflectionCache.ClassCache() - Constructor for class com.getsnappy.util.ReflectionCache.ClassCache
 
ReflectionCache.ConstructorCache - Class in com.getsnappy.util
 
ReflectionCache.ConstructorCache() - Constructor for class com.getsnappy.util.ReflectionCache.ConstructorCache
 
ReflectionCache.MethodCache - Class in com.getsnappy.util
 
ReflectionCache.MethodCache() - Constructor for class com.getsnappy.util.ReflectionCache.MethodCache
 

S

ServletForwarder - Class in com.getsnappy.snappyj
This class is used to forward all web 2.0 requests to the appropriate destination.
ServletForwarder() - Constructor for class com.getsnappy.snappyj.ServletForwarder
This type of ServletForwarder will be use the request passed to doGet or doPost, and load the className from the parameter applicationClassName
ServletForwarder(String) - Constructor for class com.getsnappy.snappyj.ServletForwarder
Define the className to forward.
ServletForwarder(Class) - Constructor for class com.getsnappy.snappyj.ServletForwarder
Define the ApplicationInstance or HttpServlet to forward.
ServletForwarder.Parameters - Class in com.getsnappy.snappyj
 
ServletForwarder.Parameters() - Constructor for class com.getsnappy.snappyj.ServletForwarder.Parameters
 
set(String, Object) - Method in class com.getsnappy.snappyj.JavaScriptBean
Used internally to access the variables in this bean, while also providing access to our useful generic methods.
setApplicationErrorHandler(ApplicationErrorHandler) - Method in class com.getsnappy.snappyj.ApplicationInstance
Specify an alternate error handler.
SmallAnimatedGifLoadingIndicator - Class in com.getsnappy.snappyj
 
SmallAnimatedGifLoadingIndicator() - Constructor for class com.getsnappy.snappyj.SmallAnimatedGifLoadingIndicator
 
SnappyJEnvironment - Class in com.getsnappy.snappyj
This class represents the core of our web 2.0 functionality In order to use our library do the following:
Define all contexts (contexts are reloadable areas on your page) Define all beans (ALL server to browser communication is done through beans) Instantiate this class into an object (call our constructor via new) Call that objects jsInitialize within a