net.sf.tacos.ajax.contrib
Class DojoResponseContributorImpl
java.lang.Object
   net.sf.tacos.ajax.contrib.DojoResponseContributorImpl
net.sf.tacos.ajax.contrib.DojoResponseContributorImpl
- All Implemented Interfaces: 
- ResponseContributor
- public class DojoResponseContributorImpl 
- extends Object- implements ResponseContributor
Determines if incoming request is a valid dojo request via
 the javascript added parameter of "dojoRequest" = "true".
- Author:
- ebin111
 
 
| Method Summary | 
|  ResponseBuilder | createBuilder(org.apache.tapestry.IRequestCycle cycle,
              org.apache.tapestry.web.WebRequest request)Creates the appropriate
 ResponseBuilderinstance to handle the
 incoming ajax request. | 
|  boolean | handlesResponse(org.apache.tapestry.IRequestCycle cycle,
                org.apache.tapestry.web.WebRequest request)Determines if the incoming ajax request is capable of being
 handled by the
 ResponseBuilderthis contributor
 manages. | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DOJO_PARM
public static final String DOJO_PARM
- Dojo request param name
 
- See Also:
- Constant Field Values
 
DojoResponseContributorImpl
public DojoResponseContributorImpl()
createBuilder
public ResponseBuilder createBuilder(org.apache.tapestry.IRequestCycle cycle,
                                     org.apache.tapestry.web.WebRequest request)
- Creates the appropriate ResponseBuilderinstance to handle the
 incoming ajax request.
 
- 
- Specified by:
- createBuilderin interface- ResponseContributor
 
- 
- Returns:
 
handlesResponse
public boolean handlesResponse(org.apache.tapestry.IRequestCycle cycle,
                               org.apache.tapestry.web.WebRequest request)
- Determines if the incoming ajax request is capable of being
 handled by the ResponseBuilderthis contributor
 manages.
 
- 
- Specified by:
- handlesResponsein interface- ResponseContributor
 
- 
- Parameters:
- cycle- Main request cycle
- request- HttpRequest associated with request
- Returns:
- True if can handle request, false otherwise.