public abstract class LogMessageBuilder extends Object
Modifier | Constructor and Description |
---|---|
protected |
LogMessageBuilder(String requestId,
BodyObfuscator bodyObfuscator,
HeaderObfuscator headerObfuscator) |
Modifier and Type | Method and Description |
---|---|
void |
addHeader(String name,
String value) |
protected String |
body() |
protected String |
contentType() |
protected String |
emptyIfNull(String value) |
abstract String |
getMessage() |
protected String |
headers() |
protected String |
requestId() |
void |
setBinaryContentBody(String contentType) |
void |
setBody(InputStream bodyStream,
Charset charset,
String contentType) |
void |
setBody(Reader bodyStream,
String contentType) |
void |
setBody(String body,
String contentType) |
protected LogMessageBuilder(String requestId, BodyObfuscator bodyObfuscator, HeaderObfuscator headerObfuscator)
protected final String requestId()
protected final String headers()
protected final String body()
protected final String contentType()
public final void setBody(InputStream bodyStream, Charset charset, String contentType) throws IOException
IOException
public final void setBinaryContentBody(String contentType)
public final void setBody(Reader bodyStream, String contentType) throws IOException
IOException
public abstract String getMessage()
Copyright © 2024 Worldline Global Collect. All rights reserved.