Package com.github.kevinsawicki.http
Class HttpRequest.Operation<V>
java.lang.Object
com.github.kevinsawicki.http.HttpRequest.Operation<V>
- Type Parameters:
V
-
- All Implemented Interfaces:
Callable<V>
- Direct Known Subclasses:
HttpRequest.CloseOperation
,HttpRequest.FlushOperation
- Enclosing class:
HttpRequest
Operation that handles executing a callback once complete and handling
nested exceptions
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Operation
protected Operation()
-
-
Method Details
-
run
Run operation- Returns:
- result
- Throws:
HttpRequest.HttpRequestException
IOException
-
done
Operation complete callback- Throws:
IOException
-
call
- Specified by:
call
in interfaceCallable<V>
- Throws:
HttpRequest.HttpRequestException
-