Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
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).
|
Modifier and Type | Method and Description |
---|---|
Resolution |
ActionBeanContext.getSourcePageResolution()
Returns a resolution that can be used to return the user to the page from which they
submitted they current request.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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(java.lang.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,
java.lang.reflect.Method m,
LifecycleStage stage,
java.lang.Class<? extends java.lang.annotation.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. |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
DefaultViewActionBean(Resolution view) |
Modifier and Type | Method and Description |
---|---|
protected Resolution |
DefaultExceptionHandler.handle(FileUploadLimitExceededException exception,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
FileUploadLimitExceededException is notoriously difficult to handle for several
reasons:
The exception is thrown during construction of the StripesRequestWrapper . |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
Resolution |
ValidationErrorHandler.handleValidationErrors(ValidationErrors errors)
Allows the ActionBean to influence what happens when validation errors occur during
validation and binding.
|
? Copyright 2005-2006, Stripes Development Team.