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:
Callable<V>
- Enclosing class:
HttpRequest
Class that and ensures a
Flushable
gets flushed with proper
exception handling.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FlushOperation
(Flushable flushable) Create flush operation -
Method Summary
Methods inherited from class com.github.kevinsawicki.http.HttpRequest.Operation
call, run
-
Field Details
-
flushable
-
-
Constructor Details
-
FlushOperation
Create flush operation- Parameters:
flushable
-
-
-
Method Details
-
done
Description copied from class:HttpRequest.Operation
Operation complete callback- Specified by:
done
in classHttpRequest.Operation<V>
- Throws:
IOException
-