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 TypeMethod 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:
consumestreamEndupdateCapacity
Inherited from org.apache.hc.core5.http.nio.AsyncDataProducer:
availableproduce

Method Detail

failedback to summary
public void failed(Exception cause)

Triggered to signal a failure in data processing.

Parameters
cause:Exception

the cause of the failure.