01: package com.icesoft.faces.webapp.command;
02:
03: import java.io.IOException;
04: import java.io.Writer;
05:
06: public class SessionExpired implements Command {
07:
08: public Command coalesceWith(Command command) {
09: return command.coalesceWith(this );
10: }
11:
12: public Command coalesceWith(Redirect redirect) {
13: return this ;
14: }
15:
16: public Command coalesceWith(Macro macro) {
17: return this ;
18: }
19:
20: public Command coalesceWith(UpdateElements updateElements) {
21: return this ;
22: }
23:
24: public Command coalesceWith(SessionExpired sessionExpired) {
25: return this ;
26: }
27:
28: public Command coalesceWith(SetCookie setCookie) {
29: return this ;
30: }
31:
32: public Command coalesceWith(Pong pong) {
33: return this ;
34: }
35:
36: public Command coalesceWith(NOOP noop) {
37: return this ;
38: }
39:
40: public void serializeTo(Writer writer) throws IOException {
41: writer.write("<session-expired/>");
42: }
43: }
|