com.sun.grizzly.arp
Interface AsyncHandler

All Known Implementing Classes:
DefaultAsyncHandler

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

Method Summary
 void addAsyncFilter(AsyncFilter asyncFilter)
          Add a AsyncFilter
 void handle(Task task)
          Handle a Task execution.
 boolean removeAsyncFilter(AsyncFilter asyncFilter)
          Remove an AsyncFilter
 void returnTask(AsyncTask task)
          Return a Task
 

Method Detail

handle

void handle(Task task)
Handle a Task execution.


addAsyncFilter

void addAsyncFilter(AsyncFilter asyncFilter)
Add a AsyncFilter


removeAsyncFilter

boolean removeAsyncFilter(AsyncFilter asyncFilter)
Remove an AsyncFilter


returnTask

void returnTask(AsyncTask task)
Return a Task



Copyright © 2012 Oracle Corporation. All Rights Reserved.