01: /*
02: * Copyright 2000,2005 wingS development team.
03: *
04: * This file is part of wingS (http://wingsframework.org).
05: *
06: * wingS is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU Lesser General Public License
08: * as published by the Free Software Foundation; either version 2.1
09: * of the License, or (at your option) any later version.
10: *
11: * Please see COPYING for the complete licence.
12: */
13: package org.wings.recorder;
14:
15: /**
16: * @author hengels
17: */
18: public class POST extends Request {
19: public POST(String resource) {
20: super ("POST", resource);
21: }
22:
23: public POST addEvent(String name, String[] values) {
24: events.add(new Event(name, values));
25: return this ;
26: }
27:
28: public POST addHeader(String name, String header) {
29: headers.add(new Header(name, header));
30: return this;
31: }
32: }
|