Class Payload.StringPayload (3.7.6)

public static final class Payload.StringPayload extends Payload<String>

A log entry payload as an UTF-8 string.

Inheritance

java.lang.Object > Payload > Payload.StringPayload

Static Methods

of(String data)

public static Payload.StringPayload of(String data)

Creates a log entry payload given its data represented as an UTF-8 string.

Parameter
NameDescription
dataString
Returns
TypeDescription
Payload.StringPayload