A B C D E F G H I L O P R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- afterExecutionCallbacks() - Static method in class com.helger.photon.ajax.AjaxSettings
- AjaxExecutorKeepAlive - Class in com.helger.photon.ajax.executor
-
A dummy AJAX handler that can be invoked to keep the session alive.
- AjaxExecutorKeepAlive() - Constructor for class com.helger.photon.ajax.executor.AjaxExecutorKeepAlive
- AjaxFunctionDeclaration - Class in com.helger.photon.ajax.decl
-
Abstract base implementation of
IAjaxFunctionDeclaration - AjaxFunctionDeclaration(String, Supplier<? extends IAjaxExecutor>, Predicate<? super IRequestWebScopeWithoutResponse>, String) - Constructor for class com.helger.photon.ajax.decl.AjaxFunctionDeclaration
- AjaxFunctionDeclaration.Builder - Class in com.helger.photon.ajax.decl
-
Builder for
AjaxFunctionDeclarationobjects. - AjaxInvoker - Class in com.helger.photon.ajax
-
The default implementation of
IAjaxInvoker. - AjaxInvoker() - Constructor for class com.helger.photon.ajax.AjaxInvoker
- AjaxRegistry - Class in com.helger.photon.ajax
-
The default implementation of
IAjaxRegistry. - AjaxRegistry() - Constructor for class com.helger.photon.ajax.AjaxRegistry
- AjaxSettings - Class in com.helger.photon.ajax
-
A central helper class that centrally manages the AJAX callbacks.
- AjaxXServletHandler - Class in com.helger.photon.ajax.servlet
-
Abstract implementation of a servlet that invokes AJAX functions.
- AjaxXServletHandler() - Constructor for class com.helger.photon.ajax.servlet.AjaxXServletHandler
- AjaxXServletHandler(Supplier<? extends IAjaxRegistry>, Supplier<? extends IAjaxInvoker>) - Constructor for class com.helger.photon.ajax.servlet.AjaxXServletHandler
B
- beforeExecutionCallbacks() - Static method in class com.helger.photon.ajax.AjaxSettings
- build() - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration.Builder
- builder() - Static method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration
-
Create a function that is not named.
- builder(String) - Static method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration
- Builder(String) - Constructor for class com.helger.photon.ajax.decl.AjaxFunctionDeclaration.Builder
C
- canExecute(IRequestWebScopeWithoutResponse) - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration
- canExecute(IRequestWebScopeWithoutResponse) - Method in interface com.helger.photon.ajax.decl.IAjaxFunctionDeclaration
-
Check if this AJAX function can be executed for the passed request.
- com.helger.photon.ajax - package com.helger.photon.ajax
- com.helger.photon.ajax.callback - package com.helger.photon.ajax.callback
- com.helger.photon.ajax.decl - package com.helger.photon.ajax.decl
- com.helger.photon.ajax.executor - package com.helger.photon.ajax.executor
- com.helger.photon.ajax.servlet - package com.helger.photon.ajax.servlet
- createUnifiedResponse(EHttpVersion, EHttpMethod, HttpServletRequest, IRequestWebScope) - Method in class com.helger.photon.ajax.servlet.AjaxXServletHandler
D
- DEFAULT_LONG_RUNNING_EXECUTION_LIMIT_MS - Static variable in class com.helger.photon.ajax.AjaxSettings
-
Default milliseconds until an implementation is considered long running.
E
- exceptionCallbacks() - Static method in class com.helger.photon.ajax.AjaxSettings
- executor(IAjaxExecutor) - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration.Builder
- executor(Class<? extends IAjaxExecutor>) - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration.Builder
- executor(Supplier<? extends IAjaxExecutor>) - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration.Builder
F
- filter(Predicate<? super IRequestWebScopeWithoutResponse>) - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration.Builder
G
- getAjaxServletPath() - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration
- getAjaxServletPath() - Method in interface com.helger.photon.ajax.decl.IAjaxFunctionDeclaration
- getAllRegisteredFunctions() - Method in class com.helger.photon.ajax.AjaxRegistry
- getAllRegisteredFunctions() - Method in interface com.helger.photon.ajax.IAjaxRegistry
- getExecutionFilter() - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration
- getExecutionFilter() - Method in interface com.helger.photon.ajax.decl.IAjaxFunctionDeclaration
- getExecutor() - Method in interface com.helger.photon.ajax.decl.IAjaxFunctionDeclaration
- getExecutorFactory() - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration
- getExecutorFactory() - Method in interface com.helger.photon.ajax.decl.IAjaxFunctionDeclaration
- getInstance() - Static method in class com.helger.photon.ajax.GlobalAjaxInvoker
- getInvocationURI(IRequestWebScopeWithoutResponse) - Method in interface com.helger.photon.ajax.decl.IAjaxFunctionDeclaration
- getInvocationURI(IRequestWebScopeWithoutResponse, Map<String, String>) - Method in interface com.helger.photon.ajax.decl.IAjaxFunctionDeclaration
- getInvocationURL(IRequestWebScopeWithoutResponse) - Method in interface com.helger.photon.ajax.decl.IAjaxFunctionDeclaration
- getInvoker() - Method in class com.helger.photon.ajax.GlobalAjaxInvoker
- getLongRunningExecutionLimitTime() - Static method in class com.helger.photon.ajax.AjaxSettings
- getName() - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration
- getPathWithoutContext() - Method in interface com.helger.photon.ajax.decl.IAjaxFunctionDeclaration
- getRegisteredFunction(String) - Method in class com.helger.photon.ajax.AjaxRegistry
- getRegisteredFunction(String) - Method in interface com.helger.photon.ajax.IAjaxRegistry
-
Get the registered AJAX function with the specified name
- getRegistry() - Method in class com.helger.photon.ajax.GlobalAjaxInvoker
- getUniqueFunctionID() - Static method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration
- GlobalAjaxInvoker - Class in com.helger.photon.ajax
-
Global AJAX invoker.
- GlobalAjaxInvoker() - Constructor for class com.helger.photon.ajax.GlobalAjaxInvoker
-
Deprecated.
H
- handleRequest(IRequestWebScopeWithoutResponse, PhotonUnifiedResponse) - Method in class com.helger.photon.ajax.executor.AjaxExecutorKeepAlive
- handleRequest(IRequestWebScopeWithoutResponse, PhotonUnifiedResponse) - Method in interface com.helger.photon.ajax.executor.IAjaxExecutor
-
Called to handle a specific request.
- handleRequest(IRequestWebScopeWithoutResponse, UnifiedResponse) - Method in class com.helger.photon.ajax.servlet.AjaxXServletHandler
I
- IAjaxAfterExecutionCallback - Interface in com.helger.photon.ajax.callback
-
Callback interface to be used with the
IAjaxInvokerto get notified after anIAjaxExecutorwas invoked. - IAjaxBeforeExecutionCallback - Interface in com.helger.photon.ajax.callback
-
Callback interface to be used with the
IAjaxInvokerto get notified before anIAjaxExecutoris invoked. - IAjaxExceptionCallback - Interface in com.helger.photon.ajax.callback
-
Callback interface to handle thrown exception objects from the Ajax servlet.
- IAjaxExecutor - Interface in com.helger.photon.ajax.executor
-
Base interface for a single AJAX function handler.
- IAjaxFunctionDeclaration - Interface in com.helger.photon.ajax.decl
-
Interface for all AJAX function declarations
- IAjaxInvoker - Interface in com.helger.photon.ajax
-
Base interface for an AJAX invoker.
- IAjaxLongRunningExecutionCallback - Interface in com.helger.photon.ajax.callback
-
Callback interface to be used with the
IAjaxInvokerto get notified on long running executions. - IAjaxRegistry - Interface in com.helger.photon.ajax
-
Base interface for an AJAX registry.
- initExecution(IRequestWebScopeWithoutResponse) - Method in interface com.helger.photon.ajax.executor.IAjaxExecutor
-
Initialization method that is called before the main execution is called.
- initRequestState(IRequestWebScopeWithoutResponse, UnifiedResponse) - Method in class com.helger.photon.ajax.servlet.AjaxXServletHandler
- invokeFunction(String, IAjaxExecutor, IRequestWebScopeWithoutResponse, PhotonUnifiedResponse) - Method in class com.helger.photon.ajax.AjaxInvoker
- invokeFunction(String, IAjaxExecutor, IRequestWebScopeWithoutResponse, PhotonUnifiedResponse) - Method in interface com.helger.photon.ajax.IAjaxInvoker
-
Invoke the specified AJAX function.
- isRegisteredFunction(String) - Method in class com.helger.photon.ajax.AjaxRegistry
- isRegisteredFunction(String) - Method in interface com.helger.photon.ajax.IAjaxRegistry
-
Check whether an AJAX function with the given name is present
- isValidFunctionName(String) - Static method in class com.helger.photon.ajax.AjaxRegistry
L
- LoggingAjaxExceptionCallback - Class in com.helger.photon.ajax.callback
-
Implementation of
IAjaxExceptionCallbacklogging to an SLF4J logger - LoggingAjaxExceptionCallback() - Constructor for class com.helger.photon.ajax.callback.LoggingAjaxExceptionCallback
- LoggingAjaxLongRunningExecutionCallback - Class in com.helger.photon.ajax.callback
- LoggingAjaxLongRunningExecutionCallback() - Constructor for class com.helger.photon.ajax.callback.LoggingAjaxLongRunningExecutionCallback
- longRunningExecutionCallbacks() - Static method in class com.helger.photon.ajax.AjaxSettings
O
- onAfterExecution(IAjaxInvoker, String, IRequestWebScopeWithoutResponse, IAjaxExecutor, PhotonUnifiedResponse) - Method in interface com.helger.photon.ajax.callback.IAjaxAfterExecutionCallback
-
Callback method
- onAjaxExecutionException(IAjaxInvoker, String, IAjaxExecutor, IRequestWebScopeWithoutResponse, Exception) - Method in interface com.helger.photon.ajax.callback.IAjaxExceptionCallback
-
Called when an exception of the specified type occurred
- onAjaxExecutionException(IAjaxInvoker, String, IAjaxExecutor, IRequestWebScopeWithoutResponse, Exception) - Method in class com.helger.photon.ajax.callback.LoggingAjaxExceptionCallback
- onBeforeExecution(IAjaxInvoker, String, IRequestWebScopeWithoutResponse, IAjaxExecutor) - Method in interface com.helger.photon.ajax.callback.IAjaxBeforeExecutionCallback
-
Callback method
- onLongRunningExecution(IAjaxInvoker, String, IRequestWebScopeWithoutResponse, IAjaxExecutor, long) - Method in interface com.helger.photon.ajax.callback.IAjaxLongRunningExecutionCallback
-
Callback method
- onLongRunningExecution(IAjaxInvoker, String, IRequestWebScopeWithoutResponse, IAjaxExecutor, long) - Method in class com.helger.photon.ajax.callback.LoggingAjaxLongRunningExecutionCallback
P
- PhotonAjaxServlet - Class in com.helger.photon.ajax.servlet
-
This class handles the AJAX functions
- PhotonAjaxServlet() - Constructor for class com.helger.photon.ajax.servlet.PhotonAjaxServlet
R
- registerExternalResources() - Method in interface com.helger.photon.ajax.executor.IAjaxExecutor
-
Registers all external resources (CSS or JS files) needed by controls potentially spawned by an AJAX request of this handler.
- registerFunction(IAjaxFunctionDeclaration) - Method in class com.helger.photon.ajax.AjaxRegistry
- registerFunction(IAjaxFunctionDeclaration) - Method in interface com.helger.photon.ajax.IAjaxRegistry
-
Add a handler function that is used as a callback.
- REQUEST_PARAM_JQUERY_NO_CACHE - Static variable in class com.helger.photon.ajax.servlet.AjaxXServletHandler
-
The name of the request parameter used by jQuery to indicate "no cache".
- resetToDefault() - Method in class com.helger.photon.ajax.GlobalAjaxInvoker
-
Reset all values to default.
S
- SERVLET_DEFAULT_NAME - Static variable in class com.helger.photon.ajax.servlet.PhotonAjaxServlet
- SERVLET_DEFAULT_PATH - Static variable in class com.helger.photon.ajax.servlet.PhotonAjaxServlet
- servletPath(String) - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration.Builder
- setInvoker(IAjaxInvoker) - Method in class com.helger.photon.ajax.GlobalAjaxInvoker
-
Set the global invoker to be used.
- setLongRunningExecutionLimitTime(long) - Static method in class com.helger.photon.ajax.AjaxSettings
-
Set the milliseconds after which an execution is considered long running.
- setRegistry(IAjaxRegistry) - Method in class com.helger.photon.ajax.GlobalAjaxInvoker
-
Set the global registry to be used.
T
- toString() - Method in class com.helger.photon.ajax.AjaxInvoker
- toString() - Method in class com.helger.photon.ajax.AjaxRegistry
- toString() - Method in class com.helger.photon.ajax.decl.AjaxFunctionDeclaration
- toString() - Method in class com.helger.photon.ajax.GlobalAjaxInvoker
All Classes All Packages