1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.model.iface;
14
15 /***
16 * Listener for Submit-related events
17 *
18 * @author Ole.Matzura
19 */
20
21 public interface SubmitListener
22 {
23 /***
24 * Called before submittal of a request
25 *
26 * @param submit
27 * the submit being submitted
28 * @return boolean telling if the submit should proceed.
29 */
30
31 public boolean beforeSubmit( Submit submit, SubmitContext context );
32
33 /***
34 * Called after submittal of a request
35 *
36 * @param submit
37 * the submit.
38 */
39
40 public void afterSubmit( Submit submit, SubmitContext context );
41 }