01: /*
02: * $Id: IResponseStrategy.java 458319 2005-12-19 11:44:19Z ehillenius $
03: * $Revision: 458319 $
04: * $Date: 2005-12-19 12:44:19 +0100 (Mon, 19 Dec 2005) $
05: *
06: * ==============================================================================
07: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
08: * use this file except in compliance with the License. You may obtain a copy of
09: * the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16: * License for the specific language governing permissions and limitations under
17: * the License.
18: */
19: package wicket.request.compound;
20:
21: import wicket.RequestCycle;
22:
23: /**
24: * Strategy interface for implementing
25: * {@link wicket.request.compound.AbstractCompoundRequestCycleProcessor#respond(RuntimeException, RequestCycle)}.
26: *
27: * @author Eelco Hillenius
28: */
29: public interface IResponseStrategy {
30: /**
31: * After the target is resolved and the request events are handled, it is
32: * time to respond to the request. This method is responsible for executing
33: * the proper response sequence given the current request target and
34: * response.
35: *
36: * @param requestCycle
37: * the current request cycle
38: */
39: void respond(RequestCycle requestCycle);
40: }
|