|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Resolution | |
---|---|
net.sourceforge.stripes.action | This package defines the ActionBean interface and related classes and interfaces for writing ActionBeans. |
net.sourceforge.stripes.ajax | This package provides utilities and classes that are helpful for creating AJAX applications and/or components using Stripes. |
net.sourceforge.stripes.controller | This package contains classes which form the core internals of Stripes. |
net.sourceforge.stripes.exception | Contains interfaces and implementations of exception handling strategy classes. |
net.sourceforge.stripes.integration.spring | Provides classes for integrating a Stripes application with Spring, primarily by injecting Spring beans into ActionBeans. |
net.sourceforge.stripes.validation | This package contains interfaces and implementations of error message classes and of classes that convert Strings to rich objects, providing validation during the conversion. |
Uses of Resolution in net.sourceforge.stripes.action |
---|
Classes in net.sourceforge.stripes.action that implement Resolution | |
---|---|
class |
ErrorResolution
Resolution for sending HTTP error messages back to the client. |
class |
ForwardResolution
Resolution that uses the Servlet API to forward the user to another path within the same web application using a server side forward. |
class |
OnwardResolution<T extends OnwardResolution<T>>
Abstract class that provides a consistent API for all Resolutions that send the user onward to another view - either by forwarding, redirecting or some other mechanism. |
class |
RedirectResolution
Resolution that uses the Servlet API to redirect the user to another path by issuing a client side redirect. |
class |
StreamingResolution
Resolution for streaming data back to the client (in place of forwarding the user to another page). |
Methods in net.sourceforge.stripes.action that return Resolution | |
---|---|
Resolution |
ActionBeanContext.getSourcePageResolution()
Returns a resolution that can be used to return the user to the page from which they submitted they current request. |
Uses of Resolution in net.sourceforge.stripes.ajax |
---|
Classes in net.sourceforge.stripes.ajax that implement Resolution | |
---|---|
class |
JavaScriptResolution
Resolution that will convert a Java object web to a web of JavaScript objects and arrays, and stream the JavaScript back to the client. |
Uses of Resolution in net.sourceforge.stripes.controller |
---|
Methods in net.sourceforge.stripes.controller that return Resolution | |
---|---|
protected Resolution |
DispatcherServlet.doBindingAndValidation(ExecutionContext ctx)
Responsible for executing binding and validation for the current request. |
static Resolution |
DispatcherHelper.doBindingAndValidation(ExecutionContext ctx,
boolean validate)
Responsible for performing binding and validation. |
protected Resolution |
DispatcherServlet.doCustomValidation(ExecutionContext ctx)
Responsible for executing custom validation methods for the current request. |
static Resolution |
DispatcherHelper.doCustomValidation(ExecutionContext ctx,
boolean alwaysInvokeValidate)
Responsible for coordinating the invocation of any custom validation logic exposed by the ActionBean. |
protected Resolution |
NameBasedActionResolver.findView(String urlBinding)
Attempts to locate a default view for the urlBinding provided and return a ForwardResolution that will take the user to the view. |
Resolution |
ExecutionContext.getResolution()
Gets the Resolution that will be executed at the end of the execution. |
static Resolution |
DispatcherHelper.handleValidationErrors(ExecutionContext ctx)
Responsible for checking to see if validation errors exist and if so for handling them appropriately. |
protected Resolution |
DispatcherServlet.handleValidationErrors(ExecutionContext ctx)
Responsible for handling any validation errors that arise during validation. |
Resolution |
Interceptor.intercept(ExecutionContext context)
Invoked when intercepting the flow of execution. |
Resolution |
BeforeAfterMethodInterceptor.intercept(ExecutionContext context)
Does the main work of the interceptor as described in the class level javadoc. |
Resolution |
HttpCacheInterceptor.intercept(ExecutionContext ctx)
|
protected Resolution |
BeforeAfterMethodInterceptor.invoke(ActionBean bean,
Method m,
LifecycleStage stage,
Class<? extends Annotation> when)
Helper method that will invoke the supplied method and manage any exceptions and returns from the object. |
static Resolution |
DispatcherHelper.invokeEventHandler(ExecutionContext ctx)
Responsible for invoking the event handler identified. |
protected Resolution |
DispatcherServlet.invokeEventHandler(ExecutionContext ctx)
Responsible for invoking the event handler if no validation errors occur. |
Resolution |
ExecutionContext.proceed()
Continues the flow of execution. |
static Resolution |
DispatcherHelper.resolveActionBean(ExecutionContext ctx)
Responsible for resolving the ActionBean for this request and setting it on the ExecutionContext. |
protected Resolution |
DispatcherServlet.resolveActionBean(ExecutionContext ctx)
Responsible for resolving the ActionBean for the current request. |
static Resolution |
DispatcherHelper.resolveHandler(ExecutionContext ctx)
Responsible for resolving the event name for this request and setting it on the ActionBeanContext contained within the ExecutionContext. |
protected Resolution |
DispatcherServlet.resolveHandler(ExecutionContext ctx)
Responsible for resolving the event handler method for the current request. |
Resolution |
DefaultViewActionBean.view()
|
Resolution |
ExecutionContext.wrap(Interceptor target)
Used by the DispatcherServlet to wrap a block of lifecycle code in
Interceptor calls. |
Methods in net.sourceforge.stripes.controller with parameters of type Resolution | |
---|---|
static void |
DispatcherHelper.executeResolution(ExecutionContext ctx,
Resolution resolution)
Responsible for executing the Resolution returned by the request. |
protected void |
DispatcherServlet.executeResolution(ExecutionContext ctx,
Resolution resolution)
Responsible for executing the Resolution for the current request. |
void |
ExecutionContext.setResolution(Resolution resolution)
Sets the Resolution that will be executed to terminate this execution. |
Constructors in net.sourceforge.stripes.controller with parameters of type Resolution | |
---|---|
DefaultViewActionBean(Resolution view)
|
Uses of Resolution in net.sourceforge.stripes.exception |
---|
Methods in net.sourceforge.stripes.exception that return Resolution | |
---|---|
protected Resolution |
DefaultExceptionHandler.handle(FileUploadLimitExceededException exception,
HttpServletRequest request,
HttpServletResponse response)
FileUploadLimitExceededException is notoriously difficult to handle for several
reasons:
The exception is thrown during construction of the StripesRequestWrapper . |
Uses of Resolution in net.sourceforge.stripes.integration.spring |
---|
Methods in net.sourceforge.stripes.integration.spring that return Resolution | |
---|---|
Resolution |
SpringInterceptor.intercept(ExecutionContext context)
Allows ActionBean resolution to proceed and then once the ActionBean has been located invokes the SpringHelper to perform Spring based dependency injection. |
Uses of Resolution in net.sourceforge.stripes.validation |
---|
Methods in net.sourceforge.stripes.validation that return Resolution | |
---|---|
Resolution |
ValidationErrorHandler.handleValidationErrors(ValidationErrors errors)
Allows the ActionBean to influence what happens when validation errors occur during validation and binding. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |