Debian Codegraph @

docs/manual/tasks/http-state_type.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <title>Ant-contrib Tasks: Http Tasks</title>
5 </head>
6
7 <body>
8 <h1>HttpState</h1>
9 The &lt;httpState&gt; type allows the caller to create an HttpState
10 instance, and add it as a reference, or be nested as a subelement of
11 an &lt;httpClient&gt; element.
12
13 <h2>Parameters</h2>
14 <table border="1" cellpadding="2" cellspacing="0">
15 <tr>
16 <th>Attribute</th>
17 <th>Description</th>
18 <th>Required</th>
19 </tr>
20 <tr>
21 <td valign="top"><i>id</i></td>
22 <td valign="top">The reference id to store this HttpState under.</td>
23 <td align="center" valign="top">No.</td>
24 </tr>
25 <tr>
26 <td valign="top"><i>refId</i></td>
27 <td valign="top">The reference id of the HttpState which this element references.</td>
28 <td align="center" valign="top">No.</td>
29 </tr>
30 </table>
31
32 <h2>Parameters specified as Nested Elements</h2>
33
34 <br />
35 <br />
36 <b>&lt;cookie&gt;</b><br />
37 <p>
38 Create a cookie.
39 </p>
40 <table border="1" cellpadding="2" cellspacing="0">
41 <tr>
42 <th>Attribute</th>
43 <th>Description</th>
44 <th>Required</th>
45 </tr>
46 <tr>
47 <td valign="top"><i>domain</i></td>
48 <td valign="top"></td>
49 <td align="center" valign="top">No.</td>
50 </tr>
51 <tr>
52 <td valign="top"><i>path</i></td>
53 <td valign="top"></td>
54 <td align="center" valign="top">No.</td>
55 </tr>
56 <tr>
57 <td valign="top"><i>name</i></td>
58 <td valign="top"></td>
59 <td align="center" valign="top">No.</td>
60 </tr>
61 <tr>
62 <td valign="top"><i>value</i></td>
63 <td valign="top"></td>
64 <td align="center" valign="top">No.</td>
65 </tr>
66 <tr>
67 <td valign="top"><i>secure</i></td>
68 <td valign="top"></td>
69 <td align="center" valign="top">No.</td>
70 </tr>
71 <tr>
72 <td valign="top"><i>comment</i></td>
73 <td valign="top"></td>
74 <td align="center" valign="top">No.</td>
75 </tr>
76 <tr>
77 <td valign="top"><i>expiryDate</i></td>
78 <td valign="top"></td>
79 <td align="center" valign="top">No.</td>
80 </tr>
81 <tr>
82 <td valign="top"><i>version</i></td>
83 <td valign="top"></td>
84 <td align="center" valign="top">No.</td>
85 </tr>
86 <tr>
87 <td valign="top"><i>domainAttributeSpecified</i></td>
88 <td valign="top"></td>
89 <td align="center" valign="top">No.</td>
90 </tr>
91 <tr>
92 <td valign="top"><i>pathAttributeSpecified</i></td>
93 <td valign="top"></td>
94 <td align="center" valign="top">No.</td>
95 </tr>
96 </table>
97
98 <br />
99 <br />
100 <b>&lt;credentials&gt;</b><br />
101 <p>
102 Create authentication credentials.
103 </p>
104 <table border="1" cellpadding="2" cellspacing="0">
105 <tr>
106 <th>Attribute</th>
107 <th>Description</th>
108 <th>Required</th>
109 </tr>
110 <tr>
111 <td valign="top"><i>host</i></td>
112 <td valign="top">The host.</td>
113 <td align="center" valign="top">No.</td>
114 </tr>
115 <tr>
116 <td valign="top"><i>port</i></td>
117 <td valign="top">The port.</td>
118 <td align="center" valign="top">No.</td>
119 </tr>
120 <tr>
121 <td valign="top"><i>realm</i></td>
122 <td valign="top">The realm.</td>
123 <td align="center" valign="top">No.</td>
124 </tr>
125 <tr>
126 <td valign="top"><i>scheme</i></td>
127 <td valign="top">The scheme.</td>
128 <td align="center" valign="top">No.</td>
129 </tr>
130 <tr>
131 <td valign="top"><i>username</i></td>
132 <td valign="top">The username.</td>
133 <td align="center" valign="top">No.</td>
134 </tr>
135 <tr>
136 <td valign="top"><i>password</i></td>
137 <td valign="top">The password.</td>
138 <td align="center" valign="top">No.</td>
139 </tr>
140 </table>
141
142
143 <br />
144 <br />
145 <b>&lt;proxyCredentials&gt;</b><br />
146 <p>
147 Create proxy authentication credentials.
148 </p>
149 <table border="1" cellpadding="2" cellspacing="0">
150 <tr>
151 <th>Identitical to &lt;credentials&gt; element.</th>
152 </tr>
153 </table>
154
155 <h2>Examples</h2>
156
157
158 <hr>
159 <p align="center">Copyright &copy; 2002-2003 Ant-Contrib Project. All
160 rights Reserved.</p>
161
162 <pre>
163 <code>
164 &lt;httpState id="myState"&gt;
165 &lt;cookie name="loginId" value="username" realm="sourceforge.net" /&gt;
166 &lt;/httpState&gt;
167
168 &lt;httpClient id="myClient" stateRefId="myState" /&gt;
169
170 &lt;httpClient id="myClient&gt;
171 &lt;httpState &gt;
172 &lt;cookie name="loginId" value="username" realm="sourceforge.net" /&gt;
173 &lt;/httpState&gt;
174 &lt;/httpClient&gt;
175 </code>
176 </pre>
177 </body>
178 </html>