|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The OutputHandler is a strategy class that is set on the StreamMessageAdapter to defer the writing of the message payload until there is a stream available to write it to.
StreamMessageAdapter
Method Summary | |
Map |
getHeaders(UMOEvent event)
Used to obtain a set of headers that will be sent with this stream payload. |
void |
write(UMOEvent event,
OutputStream out)
Write the event payload to the stream. |
Method Detail |
public void write(UMOEvent event, OutputStream out) throws IOException
event
- the current eventout
- the output stream to write to
IOException
public Map getHeaders(UMOEvent event)
event
- the current event
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |