The webaction package provides support for handling HTTP
requests that want an action to be performed.
An action is included in the request by adding a paramter
WAA (webaction action) with the name of the action
to perform as value. The action name is mapped to a method call
as descriped below. Additional parameters to be passed to the
method call may be added by including request parameters
WAP1 , WAP2 etc.
Methods can be registered as invokable by HTTP very much like
the JUnit assembles test cases. The requests are handled by
instances of the class
{@link de.danet.an.util.web.action.WebActionHandler WebActionHandler}
. Actually, not the class itself
is instantiated, rather it is used as base class for classes
that implement web action handlers and register methods as
invokable by web requests. See the description of class
{@link de.danet.an.util.web.action.WebActionHandler WebActionHandler}
for details.
{@link de.danet.an.util.web.action.WebActionHandler WebActionHandler} s
are assembled into
{@link de.danet.an.util.web.action.WebActionDispatcher WebActionDispatcher} s.
WebActionDispatcher s
may contain other WebActionDispatcher s as well, thus
allowing a complex web action dispatcher handler to be
constructed from simple web action dispatch handlers.
@since V1.0
|