Class NotificationObject
-
- All Implemented Interfaces:
-
org.somda.sdc.dpws.soap.interception.InterceptorCallbackType
public class NotificationObject implements InterceptorCallbackTypeObject passed to interceptor to provide a SOAP notification message.
-
-
Field Summary
Fields Modifier and Type Field Description public final SoapMessagenotification
-
Constructor Summary
Constructors Constructor Description NotificationObject(SoapMessage notification)NotificationObject(SoapMessage notification, CommunicationContext communicationContext)
-
Method Summary
Modifier and Type Method Description SoapMessagegetNotification()Optional<CommunicationContext>getCommunicationContext()Returns the transport information attached to this notification. -
-
Constructor Detail
-
NotificationObject
NotificationObject(SoapMessage notification)
-
NotificationObject
NotificationObject(SoapMessage notification, CommunicationContext communicationContext)
-
-
Method Detail
-
getNotification
SoapMessage getNotification()
-
getCommunicationContext
Optional<CommunicationContext> getCommunicationContext()
Returns the transport information attached to this notification.
- Returns:
the TransportInfo object or 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.
-
-
-
-