public abstract class LogMessageBuilder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
LogMessageBuilder(String requestId) |
| 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 |
setBody(InputStream bodyStream,
Charset charset,
String contentType) |
void |
setBody(Reader bodyStream,
String contentType) |
void |
setBody(String body,
String contentType) |
protected LogMessageBuilder(String requestId)
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
IOExceptionpublic final void setBody(Reader bodyStream, String contentType) throws IOException
IOExceptionpublic abstract String getMessage()
Copyright © 2024 Worldline Online Payments Direct. All rights reserved.