Class NotificationObject
java.lang.Object
org.somda.sdc.dpws.soap.interception.NotificationObject
Object passed to interceptor to provide a SOAP notification message.
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationObject(SoapMessage notification) NotificationObject(SoapMessage notification, CommunicationContext communicationContext) -
Method Summary
Modifier and TypeMethodDescriptionReturns the transport information attached to this notification.
-
Constructor Details
-
NotificationObject
-
NotificationObject
public NotificationObject(SoapMessage notification, @Nullable CommunicationContext communicationContext)
-
-
Method Details
-
getNotification
-
getCommunicationContext
Returns the transport information attached to this notification.- Returns:
- the
TransportInfoobject or Optional.empty() if no transport information is available. The latter case typically happens for notifications on the way from the client to the network as at this point no connection information is available. Once the notification was received by a server, transport information can be attached to this object and non-existence is then a potential error.
-