net.sf.tacos.ajax
Interface ResponseDelegateFactory
- All Known Implementing Classes:
- ResponseDelegateFactoryImpl
public interface ResponseDelegateFactory
Service used by AjaxDirectService
to determine type of ajax request
receive and determine the appropriate ResponseBuilder
to handle
the response.
- Author:
- jkuhnert
getResponseBuilder
ResponseBuilder getResponseBuilder(org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.web.WebRequest request)
- Creates an appropriate
ResponseBuilder
for the incoming
ajax request, if possible.
- Parameters:
cycle
- request
-
- Returns:
- The configured response builder, or null if none could be found.