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
protected abstract static class HttpRequest.FlushOperation<V>
- extends HttpRequest.Operation<V>
Class that and ensures a Flushable
gets flushed with proper
exception handling.
Method Summary |
protected void |
done()
Operation complete callback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpRequest.FlushOperation
protected HttpRequest.FlushOperation(Flushable flushable)
- Create flush operation
- Parameters:
flushable
-
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.