01: package com.icesoft.faces.webapp.command;
02:
03: import java.io.IOException;
04: import java.io.Writer;
05:
06: public interface Command {
07:
08: Command coalesceWith(Command command);
09:
10: Command coalesceWith(Macro macro);
11:
12: Command coalesceWith(UpdateElements updateElements);
13:
14: Command coalesceWith(Redirect redirect);
15:
16: Command coalesceWith(SessionExpired sessionExpired);
17:
18: Command coalesceWith(SetCookie setCookie);
19:
20: Command coalesceWith(Pong pong);
21:
22: Command coalesceWith(NOOP noop);
23:
24: void serializeTo(Writer writer) throws IOException;
25: }
|