KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > clif > isac > plugins > httpinjector10 > tools > ParametersConstantes


1 /*
2 * CLIF is a Load Injection Framework
3 * Copyright (C) 2004 France Telecom R&D
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * CLIF
20 *
21 * Contact: clif@objectweb.org
22 */

23
24 package org.objectweb.clif.isac.plugins.httpinjector10.tools;
25
26 /**
27  * This class only holds parameters constantes
28  *
29  * @author JC Meillaud
30  * @author A Peyrard
31  */

32 public class ParametersConstantes {
33     
34     public static final int HTTPDEFAULTPORT = 80;
35     
36     public static final String JavaDoc EMPTY = "";
37     
38     public static final String JavaDoc SEPARATOR = "&";
39
40     public static final String JavaDoc USERAGENT = "useragent";
41     
42     public static final String JavaDoc CUSTOMUSERAGENT = "customuseragent";
43     
44     public static final String JavaDoc CUSTOM = "custom";
45     
46     public static final String JavaDoc REDIRECT = "redirect";
47
48     public static final String JavaDoc ENABLED = "enabled";
49
50     public static final String JavaDoc URI = "uri";
51
52     public static final String JavaDoc PARAMETERS = "parameters";
53     
54     // a simple file
55
public static final String JavaDoc FILE = "file";
56     
57     // a set of file
58
public static final String JavaDoc FILES = "files";
59     
60     public static final String JavaDoc FILETYPE = "filetype";
61     
62     public static final String JavaDoc CONTENTTYPE = "Content-type";
63     
64     // Test Constantes
65
public static final String JavaDoc STATUSCODE = "statuscode";
66     
67     public static final String JavaDoc HEADERPARAMETERVALUE = "headervalue";
68     
69     public static final String JavaDoc HEADERPARAMETERTYPE = "headertype";
70     
71     // Proxy Configuration
72

73     public static final String JavaDoc PROXY = "proxy";
74     
75     public static final int PROXYDEFAULTPORT = 1080;
76     
77     public static final String JavaDoc USERNAME = "username";
78     
79     public static final String JavaDoc PASSWORD = "password";
80     
81     public static final String JavaDoc REALM = "realm";
82     
83     public static final String JavaDoc HOSTAUTH = "hostauth";
84     
85     public static final String JavaDoc PROXYUSERNAME = "proxyusername";
86     
87     public static final String JavaDoc PROXYUSERPASS = "proxyuserpass";
88
89     public static final String JavaDoc PROXYHOST = "proxyhost";
90
91     public static final String JavaDoc PROXYPORT = "proxyport";
92     
93     public static final String JavaDoc PREEMPTIVEAUTHENTIFICATION = "preemptiveauthentification";
94     
95     public static final String JavaDoc LOCALADDRESS = "localaddress";
96
97     public static final String JavaDoc COOKIES = "cookies";
98
99     public static final String JavaDoc COOKIEPOLICY = "cookiepolicy";
100
101     // Cookie String Constants
102

103     public static final String JavaDoc DOMAIN = "domain";
104     
105     public static final String JavaDoc NAME = "name";
106     
107     public static final String JavaDoc VALUE = "value";
108     
109     public static final String JavaDoc PATH = "path";
110     
111     public static final String JavaDoc EXPIRES = "expires";
112     
113     public static final String JavaDoc MAXAGE = "maxage";
114     
115     public static final String JavaDoc SECURE = "secure";
116
117     public static final String JavaDoc RFC2109 = "rfc2109";
118     
119     public static final String JavaDoc NETSCAPE_DRAFT = "netscapedraft";
120     
121     public static final String JavaDoc COMPATIBILITY = "compatibility";
122     
123 }
124
Popular Tags