1 package com.icesoft.faces.webapp.command; 2 3 import java.io.IOException ; 4 import java.io.Writer ; 5 6 public class SessionExpired implements Command { 7 8 public Command coalesceWith(Command command) { 9 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 } 44 | Popular Tags |