1 /* 2 * ==================================================================== 3 * This software is subject to the terms of the Common Public License 4 * Agreement, available at the following URL: 5 * http://www.opensource.org/licenses/cpl.html . 6 * Copyright (C) 2003-2004 TONBELLER AG. 7 * All Rights Reserved. 8 * You must accept the terms of that agreement to use this software. 9 * ==================================================================== 10 * 11 * 12 */ 13 package com.tonbeller.wcf.controller; 14 15 16 17 18 19 /** 20 * A RequestListener listens to HttpServletRequests. Multiple 21 * listeners may get invoked for a single request, so the 22 * listener should not produce output. 23 * <p/> 24 * @see Dispatcher 25 */ 26 public interface RequestListener { 27 28 /** 29 * notified by a Dispatcher for specific HTTP Requests 30 * @param context the current request 31 */ 32 void request(RequestContext context) throws Exception; 33 }