start of new file
[IRC.git] / Robust / src / Benchmarks / Jhttpp2 / Java / Jhttpp2URLMatch.java
1 /**
2  * Title:        jHTTPp2: Java HTTP Filter Proxy
3  * Copyright:    Copyright (c) 2001-2003 Benjamin Kohl
4  * @author Benjamin Kohl
5  * @version 0.2.8
6  */
7
8 public class Jhttpp2URLMatch {
9   String match;
10   String desc;
11   boolean cookies_enabled;
12   int actionindex;
13
14   public Jhttpp2URLMatch(String match,boolean cookies_enabled,int actionindex,String description)
15   {
16     this.match=match;
17     this.cookies_enabled=cookies_enabled;
18     this.actionindex=actionindex;
19     this.desc=description;
20   }
21   public String getMatch()
22   {
23     return match;
24   }
25   public boolean getCookiesEnabled()
26   {
27     return cookies_enabled;
28   }
29   public int getActionIndex()
30   {
31     return actionindex;
32   }
33   public String getDescription()
34   {
35     return desc;
36   }
37   public String toString()
38   {
39     return "\"" + match + "\" " + desc;
40   }
41 }