public class InputLimit extends Object
| Constructor and Description |
|---|
InputLimit(long value)
Create a limit for how many bytes of a response body to
read.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getValue()
Returns the current maximum limit that was set on
creation.
|
boolean |
isReached()
Returns
true if the input limit has been reached. |
void |
reached()
Used to report that the limit has been reached.
|
Copyright © 2010 - 2020 Adobe. All Rights Reserved