Interface Message
-
- All Known Implementing Classes:
HttpMessage
public interface Message
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.String
getType()
Returns the type of the message.boolean
isForceIntercept()
boolean
isInScope()
default java.util.Map<java.lang.String,java.lang.String>
toEventData()
Returns a map of data suitable for including in anEvent
-
-
-
Method Detail
-
isInScope
boolean isInScope()
-
isForceIntercept
boolean isForceIntercept()
-
toEventData
default java.util.Map<java.lang.String,java.lang.String> toEventData()
Returns a map of data suitable for including in anEvent
- Since:
- 2.8.0
-
getType
default java.lang.String getType()
Returns the type of the message. By default this is the implementing class name, but ideally this should be replaced with a more readable string.- Returns:
- the type of the message
- Since:
- 2.8.0
-
-