Package com.fasterxml.jackson.core.util
Class RequestPayload
- java.lang.Object
-
- com.fasterxml.jackson.core.util.RequestPayload
-
- All Implemented Interfaces:
Serializable
public class RequestPayload extends Object implements Serializable
Container object used to contain optional information on content being parsed, passed toJsonParseException
in case of exception being thrown; this may be useful for caller to display information on failure.- Since:
- 2.8
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestPayload(byte[] bytes, String charset)
RequestPayload(CharSequence str)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getRawPayload()
Returns the raw request payload object i.e, either byte[] or StringString
toString()
-
-
-
Constructor Detail
-
RequestPayload
public RequestPayload(byte[] bytes, String charset)
-
RequestPayload
public RequestPayload(CharSequence str)
-
-