public class RequestPayload extends Object implements Serializable
JsonParseException
in case of
exception being thrown; this may be useful for caller to display
information on failure.Modifier and Type | Field and Description |
---|---|
protected String |
_charset |
protected byte[] |
_payloadAsBytes |
protected CharSequence |
_payloadAsText |
Constructor and Description |
---|
RequestPayload(byte[] bytes,
String charset) |
RequestPayload(CharSequence str) |
protected byte[] _payloadAsBytes
protected CharSequence _payloadAsText
protected String _charset
public RequestPayload(byte[] bytes, String charset)
public RequestPayload(CharSequence str)
Copyright © 2008–2018 FasterXML. All rights reserved.