org.glassfish.grizzly.http.server.io
Interface WriteHandler


public interface WriteHandler

Callback notification mechanism that signals the developer it's possible to write content.

Since:
2.0

Method Summary
 void onError(Throwable t)
           Invoked when an error occurs processing the request asynchronously.
 void onWritePossible()
          This callback will be invoked when the requirements as dictated by NIOOutputSink.notifyCanWrite(WriteHandler, int) are met.
 

Method Detail

onWritePossible

void onWritePossible()
This callback will be invoked when the requirements as dictated by NIOOutputSink.notifyCanWrite(WriteHandler, int) are met.


onError

void onError(Throwable t)

Invoked when an error occurs processing the request asynchronously.



Copyright © 2010 Oracle Corpration. All Rights Reserved.