ninja.async
Class Servlet3AsyncStrategy

java.lang.Object
  extended by ninja.async.Servlet3AsyncStrategy
All Implemented Interfaces:
AsyncStrategy

public class Servlet3AsyncStrategy
extends Object
implements AsyncStrategy

Author:
James Roper

Constructor Summary
Servlet3AsyncStrategy(ResultHandler resultHandler, javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 Result controllerReturned()
           
 void handleAsync()
           
 void returnResultAsync(Result result, Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Servlet3AsyncStrategy

public Servlet3AsyncStrategy(ResultHandler resultHandler,
                             javax.servlet.http.HttpServletRequest request)
Method Detail

handleAsync

public void handleAsync()
Specified by:
handleAsync in interface AsyncStrategy

controllerReturned

public Result controllerReturned()
Specified by:
controllerReturned in interface AsyncStrategy

returnResultAsync

public void returnResultAsync(Result result,
                              Context context)
Specified by:
returnResultAsync in interface AsyncStrategy


Copyright © 2012. All Rights Reserved.