public class ExceptionThrowingOutputLengthObserver extends java.lang.Object implements OutputLengthObserver
MaxOutputLengthExceeded exceptions| Constructor and Description |
|---|
ExceptionThrowingOutputLengthObserver(long maxOutputLength,
int maximumOutputExceededHttpCode) |
| Modifier and Type | Method and Description |
|---|---|
void |
nBytes(long n)
The
is about to write n bytes |
void |
nChars(long n)
The
is about to write n characters |
public ExceptionThrowingOutputLengthObserver(long maxOutputLength,
int maximumOutputExceededHttpCode)
public void nBytes(long n)
OutputLengthObserveris about to write n bytesnBytes in interface OutputLengthObservern - the number of bytes about to be writtenpublic void nChars(long n)
OutputLengthObserveris about to write n charactersnChars in interface OutputLengthObservern - the number of characters about to be written