Class Payload.StringPayload (3.17.1)

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
Name Description
data String
Returns
Type Description
Payload.StringPayload