com.github.kevinsawicki.http
Class HttpRequest.FlushOperation<V>

java.lang.Object
  extended by com.github.kevinsawicki.http.HttpRequest.Operation<V>
      extended by com.github.kevinsawicki.http.HttpRequest.FlushOperation<V>
Type Parameters:
V -
All Implemented Interfaces:
Callable<V>
Enclosing class:
HttpRequest

protected abstract static class HttpRequest.FlushOperation<V>
extends HttpRequest.Operation<V>

Class that and ensures a Flushable gets flushed with proper exception handling.


Constructor Summary
protected HttpRequest.FlushOperation(Flushable flushable)
          Create flush operation
 
Method Summary
protected  void done()
          Operation complete callback
 
Methods inherited from class com.github.kevinsawicki.http.HttpRequest.Operation
call, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpRequest.FlushOperation

protected HttpRequest.FlushOperation(Flushable flushable)
Create flush operation

Parameters:
flushable -
Method Detail

done

protected void done()
             throws IOException
Description copied from class: HttpRequest.Operation
Operation complete callback

Specified by:
done in class HttpRequest.Operation<V>
Throws:
IOException


Copyright © 2011-2013. All Rights Reserved.