java.lang.Object | |
↳ | org.apache.http.client.cache.InputLimit |
Used to limiting the size of an incoming response body of unknown size that is optimistically being read in anticipation of caching it.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a limit for how many bytes of a response body to
read.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the current maximum limit that was set on
creation.
| |||||||||||
Returns
true if the input limit has been reached. | |||||||||||
Used to report that the limit has been reached.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create a limit for how many bytes of a response body to read.
value | maximum length in bytes |
---|
Returns the current maximum limit that was set on creation.
Returns true
if the input limit has been reached.
Used to report that the limit has been reached.