Package com.github.kevinsawicki.http
Class HttpRequest.FlushOperation<V>
- java.lang.Object
-
- com.github.kevinsawicki.http.HttpRequest.Operation<V>
-
- com.github.kevinsawicki.http.HttpRequest.FlushOperation<V>
-
- Type Parameters:
V
-
- All Implemented Interfaces:
java.util.concurrent.Callable<V>
- Enclosing class:
- HttpRequest
protected abstract static class HttpRequest.FlushOperation<V> extends HttpRequest.Operation<V>
Class that and ensures aFlushable
gets flushed with proper exception handling.
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.Flushable
flushable
-
Constructor Summary
Constructors Modifier Constructor Description protected
FlushOperation(java.io.Flushable flushable)
Create flush operation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
done()
Operation complete callback-
Methods inherited from class com.github.kevinsawicki.http.HttpRequest.Operation
call, run
-
-
-
-
Method Detail
-
done
protected void done() throws java.io.IOException
Description copied from class:HttpRequest.Operation
Operation complete callback- Specified by:
done
in classHttpRequest.Operation<V>
- Throws:
java.io.IOException
-
-