Currently default settings are
_maxErrorTokenLength)
_maxRawContentLength)
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final int | _maxErrorTokenLength
Maximum length of token to include in error messages |
| protected final int | _maxRawContentLength
Maximum length of raw content to include in error messages |
| private static ErrorReportConfiguration | |
| public static final int | DEFAULT_MAX_ERROR_TOKEN_LENGTH
Default value for |
| public static final int | DEFAULT_MAX_RAW_CONTENT_LENGTH
Previously was |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static ErrorReportConfiguration. | |
| public static ErrorReportConfiguration | |
| public int | Returns: Maximum length of token to include in error messagesAccessor for |
| public int | Returns: Maximum length of token to include in error messagesAccessor for |
| public static void | overrideDefaultErrorReportConfiguration(final ErrorReportConfiguration
new default for ErrorReportConfiguration (a null value will reset to built-in default) errorReportConfiguration)Override the default ErrorReportConfiguration. |
| public ErrorReportConfiguration. | |
| pack-priv static void | validateMaxErrorTokenLength(int
Maximum length of token to include in error messages maxErrorTokenLength)Convenience method that can be used verify valid |
| pack-priv static void |
| _maxErrorTokenLength | back to summary |
|---|---|
| protected final int _maxErrorTokenLength Maximum length of token to include in error messages
| |
| _maxRawContentLength | back to summary |
|---|---|
| protected final int _maxRawContentLength Maximum length of raw content to include in error messages
| |
| DEFAULT | back to summary |
|---|---|
| private static ErrorReportConfiguration DEFAULT | |
| DEFAULT_MAX_ERROR_TOKEN_LENGTH | back to summary |
|---|---|
| public static final int DEFAULT_MAX_ERROR_TOKEN_LENGTH Default value for | |
| DEFAULT_MAX_RAW_CONTENT_LENGTH | back to summary |
|---|---|
| public static final int DEFAULT_MAX_RAW_CONTENT_LENGTH Previously was | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ErrorReportConfiguration | back to summary |
|---|---|
| protected ErrorReportConfiguration(final int maxErrorTokenLength, final int maxRawContentLength) | |
| builder | back to summary |
|---|---|
| public static ErrorReportConfiguration. | |
| defaults | back to summary |
|---|---|
public static ErrorReportConfiguration defaults()
| |
| getMaxErrorTokenLength | back to summary |
|---|---|
| public int getMaxErrorTokenLength() Accessor for
| |
| getMaxRawContentLength | back to summary |
|---|---|
| public int getMaxRawContentLength() Accessor for
| |
| overrideDefaultErrorReportConfiguration | back to summary |
|---|---|
| public static void overrideDefaultErrorReportConfiguration(final ErrorReportConfiguration errorReportConfiguration) Override the default ErrorReportConfiguration. These defaults are only used when
Library maintainers should not set this as it will affect other code that uses Jackson.
Library maintainers who want to configure ErrorReportConfiguration for the Jackson usage within their
lib should create This method is meant for users delivering applications. If they use this, they set it when they start their application to avoid having other code initialize their mappers before the defaults are overridden.
| |
| rebuild | back to summary |
|---|---|
public ErrorReportConfiguration.
| |
| validateMaxErrorTokenLength | back to summary |
|---|---|
| pack-priv static void validateMaxErrorTokenLength(int maxErrorTokenLength) throws IllegalArgumentException Convenience method that can be used verify valid
| |
| validateMaxRawContentLength | back to summary |
|---|---|
| pack-priv static void validateMaxRawContentLength(int maxRawContentLength) | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ErrorReportConfiguration | |
| public ErrorReportConfiguration. | Returns: This factory instance (to allow call chaining)Maximum error token length setting to use maxErrorTokenLength)
|
| public ErrorReportConfiguration. | Returns: This builder instance (to allow call chaining)Maximum raw content setting to use maxRawContentLength)
|
| maxErrorTokenLength | back to summary |
|---|---|
| private int maxErrorTokenLength | |
| maxRawContentLength | back to summary |
|---|---|
| private int maxRawContentLength | |
| Builder | back to summary |
|---|---|
| pack-priv Builder() | |
| Builder | back to summary |
|---|---|
| pack-priv Builder(final int maxErrorTokenLength, final int maxRawContentLength) | |
| Builder | back to summary |
|---|---|
| pack-priv Builder(ErrorReportConfiguration src) | |
| build | back to summary |
|---|---|
| public ErrorReportConfiguration build() | |
| maxErrorTokenLength | back to summary |
|---|---|
public ErrorReportConfiguration.
| |
| maxRawContentLength | back to summary |
|---|---|
public ErrorReportConfiguration.
| |