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

Method Summary
 ResponseBuilder getResponseBuilder(IRequestCycle cycle, WebRequest request)
          Creates an appropriate ResponseBuilder for the incoming ajax request, if possible.
 

Method Detail

getResponseBuilder

public ResponseBuilder getResponseBuilder(IRequestCycle cycle,
                                          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.