Interface ProtocolEvent
-
- All Superinterfaces:
Event
- All Known Subinterfaces:
HttpNetworkProtocolRequestEvent,HttpNetworkProtocolResponseEvent,NetworkProtocolEvent,NetworkProtocolRequestEvent,NetworkProtocolResponseEvent,ProtocolRequestEvent
- All Known Implementing Classes:
AbstractNetworkProtocolRequestEvent,AbstractNetworkProtocolResponseEvent,AbstractProtocolEvent,AbstractProtocolRequestEvent,AbstractProtocolResponseEvent,HttpServletNetworkRequestEvent,HttpServletNetworkResponseEvent
public interface ProtocolEvent extends Event
An event issued to the event bus on a protocol-level call. Protocol isn't defined here in the general sense of the OSI layer. It can be described in terms of such events like Command Line invocations, File System events, and network events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProtocolEvent.TypeThe type of this ProtocolEvent
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHeaderData(java.lang.String key)Get the value of header information tied to this event.ProtocolEvent.TypegetType()Get the type of this ProtocolRequestEvent
-
-
-
Method Detail
-
getHeaderData
java.lang.String getHeaderData(java.lang.String key)
Get the value of header information tied to this event.- Parameters:
key- the name of the header- Returns:
- the header value associated with the key.
-
getType
ProtocolEvent.Type getType()
Get the type of this ProtocolRequestEvent- Returns:
- NETWORK for now
-
-