## Uses of Interface
org.apache.hc.core5.concurrent.Cancellable

- Packages that use Cancellable
  Package | Description
  --- | ---
  org.apache.hc.core5.concurrent | Core concurrency component APIs.
  org.apache.hc.core5.http.nio.command | Commands for HTTP transports based on asynchronous, event driven I/O model.
  org.apache.hc.core5.http2.impl.nio.bootstrap | HTTP/2 capable requester and server bootstrap.
  org.apache.hc.core5.http2.nio.command | HTTP/2 specific commands for HTTP/2 transport based on asynchronous, event driven I/O model.
  org.apache.hc.core5.reactor | Event driven network communication APIs and components loosely based on Doug Lea's reactor pattern.

- - ### Uses of Cancellable in org.apache.hc.core5.concurrent

    Subinterfaces of Cancellable in org.apache.hc.core5.concurrent
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `CancellableDependency` This interface represents `Cancellable` object dependent on another ongoing process or operation.

    Classes in org.apache.hc.core5.concurrent that implement Cancellable
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BasicFuture<T>` Basic implementation of the `Future` interface.
    `class` | `CompletedFuture<T>` Immutable, completed future.
    `class` | `ComplexCancellable` `Cancellable` that has a dependency on another `Cancellable` process or operation.
    `class` | `ComplexFuture<T>` `Future` whose result depends on another `Cancellable` process or operation or another `Future`.

    Methods in org.apache.hc.core5.concurrent with parameters of type Cancellable
    Modifier and Type | Method and Description
    --- | ---
    `void` | ComplexCancellable.`setDependency(Cancellable dependency)`
    `void` | ComplexFuture.`setDependency(Cancellable dependency)`
    `void` | CancellableDependency.`setDependency(Cancellable cancellable)` Sets `Cancellable` dependency on another ongoing process or operation represented by `Cancellable`.

  - ### Uses of Cancellable in org.apache.hc.core5.http.nio.command

    Classes in org.apache.hc.core5.http.nio.command that implement Cancellable
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ExecutableCommand` Abstract executable command that may need to do some cleaning up in case of an failure and also optionally may want to cancel the associated HTTP message exchange through `CancellableDependency`.
    `class` | `RequestExecutionCommand` Request execution command.
    `class` | `ShutdownCommand` Shutdown command.

  - ### Uses of Cancellable in org.apache.hc.core5.http2.impl.nio.bootstrap

    Methods in org.apache.hc.core5.http2.impl.nio.bootstrap that return Cancellable
    Modifier and Type | Method and Description
    --- | ---
    `Cancellable` | H2MultiplexingRequester.`execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context)`
    `Cancellable` | H2MultiplexingRequester.`execute(AsyncClientExchangeHandler exchangeHandler, Timeout timeout, HttpContext context)`

  - ### Uses of Cancellable in org.apache.hc.core5.http2.nio.command

    Classes in org.apache.hc.core5.http2.nio.command that implement Cancellable
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PingCommand` HTTP/2 ping command.

  - ### Uses of Cancellable in org.apache.hc.core5.reactor

    Subinterfaces of Cancellable in org.apache.hc.core5.reactor
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Command` Abstract command `IOSession` can act upon.

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.