This commit is contained in:
Gary Gregory 2018-07-13 13:07:19 -06:00 committed by Oleg Kalnichevski
parent db417d80ba
commit 92ee24efb8
1 changed files with 5 additions and 3 deletions

View File

@ -30,8 +30,8 @@ package org.apache.hc.client5.http.classic.methods;
import org.apache.hc.core5.concurrent.Cancellable; import org.apache.hc.core5.concurrent.Cancellable;
/** /**
* Interface to be implemented by any object that wishes to be notified of * Interface to be implemented by any object that wishes to be notified of blocking I/O operations
* blocking I/O operations that could be cancelled. * that could be cancelled.
* *
* @since 4.3 * @since 4.3
*/ */
@ -41,8 +41,10 @@ public interface HttpExecutionAware {
/** /**
* Sets {@link Cancellable} for the ongoing operation. * Sets {@link Cancellable} for the ongoing operation.
*
* @param cancellable
* {@link Cancellable} for the ongoing operation.
*/ */
void setCancellable(Cancellable cancellable); void setCancellable(Cancellable cancellable);
} }