use of com.webpieces.http2engine.api.error.ConnectionCancelled in project webpieces by deanhiller.
the class ResponseListener method failure.
@Override
public void failure(Throwable e) {
ConnectionCancelled connCancelled = new ConnectionFailure(new ConnectionException(CancelReasonCode.BUG, logId, 0, "Failure from connection", e));
responseListener.cancel(new ShutdownStream(0, connCancelled));
}
Aggregations