public static interface ResponseContext.Key
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDrop()
Returns true if this key can be removed to reduce header size when the
header would otherwise be too large.
|
String |
getName() |
boolean |
includeInHeader()
Whether to return the key, value pair in the response header.
|
Object |
mergeValues(Object oldValue,
Object newValue)
Merges two values of type T.
|
Object |
readValue(com.fasterxml.jackson.core.JsonParser jp)
Reads a value of this key from a JSON stream.
|
String getName()
boolean includeInHeader()
Object readValue(com.fasterxml.jackson.core.JsonParser jp)
ResponseContextDeserializer.Object mergeValues(Object oldValue, Object newValue)
This method may modify "oldValue" but must not modify "newValue".
boolean canDrop()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.