Interface HttpResponseHandler.TrafficCop
-
- Enclosing interface:
- HttpResponseHandler<IntermediateType,FinalType>
public static interface HttpResponseHandler.TrafficCop
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
resume(long chunkNum)
Call this to resume reading after you have suspended it.
-
-
-
Method Detail
-
resume
long resume(long chunkNum)
Call this to resume reading after you have suspended it. This method will do nothing if reading is not currently suspended.- Parameters:
chunkNum
- chunk number corresponding to the handleChunk() or handleResponse() call from which you returned a ClientResponse whereClientResponse.isContinueReading()
was true.- Returns:
- time that backpressure was applied (channel was closed for reads)
-
-