Modifier and Type | Method and Description |
---|---|
static LimitExceededStrategy |
LimitExceededStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LimitExceededStrategy[] |
LimitExceededStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
LimitInputStream(InputStream input,
long limit,
LimitExceededStrategy strategy)
Creates a new limiting input stream.
|
LimitOutputStream(OutputStream output,
long limit,
LimitExceededStrategy strategy)
Creates a new limit output stream.
|
LimitReader(Reader reader,
long limit,
LimitExceededStrategy strategy)
Creates a new limiting reader.
|
LimitWriter(Writer writer,
long limit,
LimitExceededStrategy strategy)
Creates a new limit writer.
|
Copyright © 2020–2024. All rights reserved.