httpcore5 5.2.4
org.apache.hc.core5.http.nio
AsyncDataExchangeHandler
Top
Description
Methods
org.apache.hc.core5.http.nio
public
Interface AsyncDataExchangeHandler
extends
AsyncDataConsumer
,
AsyncDataProducer
Known Direct Subinterfaces
org.
apache.
hc.
core5.
http.
nio.
AsyncServerExchangeHandler
,
org.
apache.
hc.
core5.
http.
nio.
AsyncClientExchangeHandler
Abstract asynchronous data exchange handler that acts as a data consumer and a data producer.
Since
5.0
Method Summary
Modifier and Type
Method and Description
public
void
failed
(
Exception
the cause of the failure.
cause
)
Triggered to signal a failure in data processing.
Inherited from
org.apache.hc.core5.http.nio.AsyncDataConsumer
:
consume
streamEnd
updateCapacity
Inherited from
org.apache.hc.core5.http.nio.AsyncDataProducer
:
available
produce
Method Detail
failed
back to summary
public
void
failed
(
Exception
cause
)
Triggered to signal a failure in data processing.
Parameters
cause:
Exception
the cause of the failure.