source: trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/data/WebRequest.java @ 89

Last change on this file since 89 was 87, checked in by sherbold, 14 years ago
  • made event implementations serializable

+ added commands saveObject and loadObject to save data stored in the global data container

  • Property svn:mime-type set to text/plain
File size: 714 bytes
Line 
1package de.ugoe.cs.eventbench.web.data;
2
3import java.util.ArrayList;
4import java.util.List;
5
6import de.ugoe.cs.eventbench.data.IReplayable;
7
8public class WebRequest implements IReplayable {
9
10        /**
11         * Id for object serialization.
12         */
13        private static final long serialVersionUID = 1L;
14
15        List<String> postVars;
16       
17        String targetUri;
18       
19        public WebRequest(String uri, List<String> postVars) {
20                targetUri = uri;
21                this.postVars = new ArrayList<String>(postVars); // defensive copy
22        }
23       
24        @Override
25        public String getReplayXml() {
26                // TODO Auto-generated method stub
27                return null;
28        }
29
30        @Override
31        public String getTarget() {
32                // TODO Auto-generated method stub
33                return null;
34        }
35
36}
Note: See TracBrowser for help on using the repository browser.