1 package org.esigate.events; 2 3 /** 4 * This class contains the common attributes for all events. 5 * 6 * @author Nicolas Richeton 7 * 8 */ 9 public abstract class Event { 10 11 /** 12 * Immediately stop request processing. Depending of the current state, this may render the current response (if 13 * available) or else render an error page. 14 */ 15 private boolean exit = false; 16 17 public boolean isExit() { 18 return exit; 19 } 20 21 public void setExit(boolean exit) { 22 this.exit = exit; 23 } 24 25 }