FileDocCategorySizeDatePackage
AsyncHandler.javaAPI DocGlassfish v2 API3295Fri May 04 22:37:04 BST 2007com.sun.enterprise.web.connector.grizzly

AsyncHandler

public interface AsyncHandler
When asynchronous request processing is enabled, the Task must delegate the execution of the request processing to an implementation of this interface.
author
Jeanfrancois Arcand

Fields Summary
Constructors Summary
Methods Summary
public voidaddAsyncFilter(AsyncFilter asyncFilter)
Add a AsyncFilter

public voidaddToInterruptedQueue(AsyncTask task)
Add the Task to the interrupted queue.

public java.lang.StringgetAsyncExecutorClassName()
Get the code>AsyncExecutor used by this object.

public voidhandle(Task task)
Handle a Task execution.

public booleanremoveAsyncFilter(AsyncFilter asyncFilter)
Remove an AsyncFilter

public voidremoveFromInterruptedQueue(AsyncTask task)
Remove the Task from the interrupted queue.

public voidreturnTask(AsyncTask task)
Return a Task

public voidsetAsyncExecutorClassName(java.lang.String asyncExecutorClassName)
Set the AsyncExecutor used by this object.