Package org.apache.http.client.cache
Class InputLimit
- java.lang.Object
 - 
- org.apache.http.client.cache.InputLimit
 
 
- 
public class InputLimit extends java.lang.ObjectUsed to limiting the size of an incoming response body of unknown size that is optimistically being read in anticipation of caching it.- Since:
 - 4.1
 
 
- 
- 
Constructor Summary
Constructors Constructor Description InputLimit(long value)Create a limit for how many bytes of a response body to read. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetValue()Returns the current maximum limit that was set on creation.booleanisReached()Returnstrueif the input limit has been reached.voidreached()Used to report that the limit has been reached. 
 -