Class RequestPayload
java.lang.Object
com.fasterxml.jackson.core.util.RequestPayload
- All Implemented Interfaces:
Serializable
Container object used to contain optional information on content
being parsed, passed to
JsonParseException in case of
exception being thrown; this may be useful for caller to display
information on failure.- Since:
- 2.8
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the raw request payload object i.e, either byte[] or StringtoString()
-
Field Details
-
_payloadAsBytes
protected byte[] _payloadAsBytes -
_payloadAsText
-
_charset
-
-
Constructor Details
-
RequestPayload
-
RequestPayload
-
-
Method Details
-
getRawPayload
Returns the raw request payload object i.e, either byte[] or String- Returns:
- Object which is a raw request payload i.e, either byte[] or String
-
toString
-