static StreamReadConstraints.Builder |
StreamReadConstraints.builder() |
|
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxDocumentLength(long maxDocLen) |
Sets the maximum allowed document length (for positive values over 0) or
indicate that any length is acceptable (0 or negative number).
|
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxNameLength(int maxNameLen) |
Sets the maximum name length (in chars or bytes, depending on input context).
|
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxNestingDepth(int maxNestingDepth) |
Sets the maximum nesting depth.
|
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxNumberLength(int maxNumLen) |
Sets the maximum number length (in chars or bytes, depending on input context).
|
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxStringLength(int maxStringLen) |
Sets the maximum string length (in chars or bytes, depending on input context).
|
StreamReadConstraints.Builder |
StreamReadConstraints.Builder.maxTokenCount(long maxTokenCount) |
Sets the maximum allowed token count (for positive values over 0) or
indicate that any count is acceptable (0 or negative number).
|
StreamReadConstraints.Builder |
StreamReadConstraints.rebuild() |
|