T - The response typepublic final class AS4ClientSentMessage<T> extends Object
| Constructor and Description |
|---|
AS4ClientSentMessage(AS4ClientBuiltMessage aBuiltMsg,
T aResponse) |
| Modifier and Type | Method and Description |
|---|---|
AS4ClientBuiltMessage |
getBuiltMessage() |
String |
getMessageID() |
T |
getResponse() |
boolean |
hasResponse() |
String |
toString() |
public AS4ClientSentMessage(@Nonnull AS4ClientBuiltMessage aBuiltMsg, @Nullable T aResponse)
aBuiltMsg - The built message with headers, payload and message ID.aResponse - The response payload. May be null.@Nonnull public AS4ClientBuiltMessage getBuiltMessage()
null.@Nonnull @Nonempty public String getMessageID()
null
nor empty.public boolean hasResponse()
true if a response payload is present,
false if not.Copyright © 2015–2020 Philip Helger. All rights reserved.