~ubuntu-branches/ubuntu/lucid/commons-httpclient/lucid

« back to all changes in this revision

Viewing changes to docs/apidocs/org/apache/commons/httpclient/HttpState.html

  • Committer: Bazaar Package Importer
  • Author(s): Barry Hawkins
  • Date: 2005-11-25 13:12:23 UTC
  • Revision ID: james.westby@ubuntu.com-20051125131223-2g7eyo21pqgrohpo
Tags: upstream-2.0.2
ImportĀ upstreamĀ versionĀ 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
 
2
<!--NewPage-->
 
3
<HTML>
 
4
<HEAD>
 
5
<!-- Generated by javadoc on Sun Oct 10 17:41:04 EDT 2004 -->
 
6
<TITLE>
 
7
HttpClient 2.0.2 API: Class  HttpState
 
8
</TITLE>
 
9
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 
10
</HEAD>
 
11
<BODY BGCOLOR="white">
 
12
 
 
13
<!-- ========== START OF NAVBAR ========== -->
 
14
<A NAME="navbar_top"><!-- --></A>
 
15
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
 
16
<TR>
 
17
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
18
<A NAME="navbar_top_firstrow"><!-- --></A>
 
19
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
 
20
  <TR ALIGN="center" VALIGN="top">
 
21
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
22
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
23
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
24
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/HttpState.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 
25
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
26
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
27
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
28
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
29
  </TR>
 
30
</TABLE>
 
31
</TD>
 
32
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
33
</EM>
 
34
</TD>
 
35
</TR>
 
36
 
 
37
<TR>
 
38
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
39
&nbsp;<A HREF="../../../../org/apache/commons/httpclient/HttpParser.html"><B>PREV CLASS</B></A>&nbsp;
 
40
&nbsp;<A HREF="../../../../org/apache/commons/httpclient/HttpStatus.html"><B>NEXT CLASS</B></A></FONT></TD>
 
41
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
42
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
 
43
&nbsp;<A HREF="HttpState.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
 
44
</TR>
 
45
<TR>
 
46
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
47
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
48
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
49
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
50
</TR>
 
51
</TABLE>
 
52
<!-- =========== END OF NAVBAR =========== -->
 
53
 
 
54
<HR>
 
55
<!-- ======== START OF CLASS DATA ======== -->
 
56
<H2>
 
57
<FONT SIZE="-1">
 
58
org.apache.commons.httpclient</FONT>
 
59
<BR>
 
60
Class  HttpState</H2>
 
61
<PRE>
 
62
<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">java.lang.Object</A>
 
63
  |
 
64
  +--<B>org.apache.commons.httpclient.HttpState</B>
 
65
</PRE>
 
66
<HR>
 
67
<DL>
 
68
<DT>public class <B>HttpState</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A></DL>
 
69
 
 
70
<P>
 
71
<p>
 
72
 A container for HTTP attributes that may persist from request
 
73
 to request, such as <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A> and authentication
 
74
 <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A>.
 
75
 </p>
 
76
 <p>
 
77
 Preemptive authentication can be turned on by using the property value of
 
78
 #PREEMPTIVE_PROPERTY.  If left unspecified, it has the default value of
 
79
 #PREEMPTIVE_DEFAULT.  This configurable behaviour conforms to rcf2617:
 
80
 </p>
 
81
<P>
 
82
<DL>
 
83
<DT><B>Version: </B><DD>$Revision: 1.22.2.5 $ $Date: 2004/09/22 23:36:58 $</DD>
 
84
<DT><B>Author: </B><DD><a href="mailto:remm@apache.org">Remy Maucherat</a>, Rodney Waldhoff, <a href="mailto:jsdever@apache.org">Jeff Dever</a>, Sean C. Sullivan, <a href="mailto:becke@u.washington.edu">Michael Becke</a>, <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>, <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a>, <a href="mailto:adrian@intencha.com">Adrian Sutton</a></DD>
 
85
</DL>
 
86
<HR>
 
87
 
 
88
<P>
 
89
<!-- ======== INNER CLASS SUMMARY ======== -->
 
90
 
 
91
 
 
92
<!-- =========== FIELD SUMMARY =========== -->
 
93
 
 
94
<A NAME="field_summary"><!-- --></A>
 
95
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
96
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
97
<TD COLSPAN=2><FONT SIZE="+2">
 
98
<B>Field Summary</B></FONT></TD>
 
99
</TR>
 
100
<TR BGCOLOR="white" CLASS="TableRowColor">
 
101
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
102
<CODE>static&nbsp;<A HREF="../../../../org/apache/commons/httpclient/auth/HttpAuthRealm.html">HttpAuthRealm</A></CODE></FONT></TD>
 
103
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#DEFAULT_AUTH_REALM">DEFAULT_AUTH_REALM</A></B></CODE>
 
104
 
 
105
<BR>
 
106
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default authentication realm.</TD>
 
107
</TR>
 
108
<TR BGCOLOR="white" CLASS="TableRowColor">
 
109
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
110
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
 
111
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#PREEMPTIVE_DEFAULT">PREEMPTIVE_DEFAULT</A></B></CODE>
 
112
 
 
113
<BR>
 
114
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This field and feature will be removed following HttpClient 3.0.</I></TD>
 
115
</TR>
 
116
<TR BGCOLOR="white" CLASS="TableRowColor">
 
117
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
118
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
 
119
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#PREEMPTIVE_PROPERTY">PREEMPTIVE_PROPERTY</A></B></CODE>
 
120
 
 
121
<BR>
 
122
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This field and feature will be removed following HttpClient 3.0.</I></TD>
 
123
</TR>
 
124
</TABLE>
 
125
&nbsp;
 
126
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 
127
 
 
128
<A NAME="constructor_summary"><!-- --></A>
 
129
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
130
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
131
<TD COLSPAN=2><FONT SIZE="+2">
 
132
<B>Constructor Summary</B></FONT></TD>
 
133
</TR>
 
134
<TR BGCOLOR="white" CLASS="TableRowColor">
 
135
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#HttpState()">HttpState</A></B>()</CODE>
 
136
 
 
137
<BR>
 
138
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default constructor.</TD>
 
139
</TR>
 
140
</TABLE>
 
141
&nbsp;
 
142
<!-- ========== METHOD SUMMARY =========== -->
 
143
 
 
144
<A NAME="method_summary"><!-- --></A>
 
145
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
146
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
147
<TD COLSPAN=2><FONT SIZE="+2">
 
148
<B>Method Summary</B></FONT></TD>
 
149
</TR>
 
150
<TR BGCOLOR="white" CLASS="TableRowColor">
 
151
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
152
<CODE>&nbsp;void</CODE></FONT></TD>
 
153
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#addCookie(org.apache.commons.httpclient.Cookie)">addCookie</A></B>(<A HREF="../../../../org/apache/commons/httpclient/Cookie.html">Cookie</A>&nbsp;cookie)</CODE>
 
154
 
 
155
<BR>
 
156
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>HTTP cookie</CODE></A>, replacing any existing equivalent cookies.</TD>
 
157
</TR>
 
158
<TR BGCOLOR="white" CLASS="TableRowColor">
 
159
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
160
<CODE>&nbsp;void</CODE></FONT></TD>
 
161
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#addCookies(org.apache.commons.httpclient.Cookie[])">addCookies</A></B>(<A HREF="../../../../org/apache/commons/httpclient/Cookie.html">Cookie</A>[]&nbsp;cookies)</CODE>
 
162
 
 
163
<BR>
 
164
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an array of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>HTTP cookies</CODE></A>.</TD>
 
165
</TR>
 
166
<TR BGCOLOR="white" CLASS="TableRowColor">
 
167
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
168
<CODE>&nbsp;int</CODE></FONT></TD>
 
169
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCookiePolicy()">getCookiePolicy</A></B>()</CODE>
 
170
 
 
171
<BR>
 
172
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html"><CODE>cookie policy</CODE></A> for this
 
173
 HTTP state.</TD>
 
174
</TR>
 
175
<TR BGCOLOR="white" CLASS="TableRowColor">
 
176
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
177
<CODE>&nbsp;<A HREF="../../../../org/apache/commons/httpclient/Cookie.html">Cookie</A>[]</CODE></FONT></TD>
 
178
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCookies()">getCookies</A></B>()</CODE>
 
179
 
 
180
<BR>
 
181
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A> that this HTTP
 
182
 state currently contains.</TD>
 
183
</TR>
 
184
<TR BGCOLOR="white" CLASS="TableRowColor">
 
185
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
186
<CODE>&nbsp;<A HREF="../../../../org/apache/commons/httpclient/Cookie.html">Cookie</A>[]</CODE></FONT></TD>
 
187
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCookies(java.lang.String, int, java.lang.String, boolean)">getCookies</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;domain,
 
188
           int&nbsp;port,
 
189
           <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;path,
 
190
           boolean&nbsp;secure)</CODE>
 
191
 
 
192
<BR>
 
193
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/apache/commons/httpclient/cookie/CookieSpec.html#match(java.lang.String, int, java.lang.String, boolean, org.apache.commons.httpclient.Cookie)"><CODE>CookieSpec.match(String, int, String, boolean, Cookie)</CODE></A></I></TD>
 
194
</TR>
 
195
<TR BGCOLOR="white" CLASS="TableRowColor">
 
196
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
197
<CODE>&nbsp;<A HREF="../../../../org/apache/commons/httpclient/Cookie.html">Cookie</A>[]</CODE></FONT></TD>
 
198
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCookies(java.lang.String, int, java.lang.String, boolean, java.util.Date)">getCookies</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;domain,
 
199
           int&nbsp;port,
 
200
           <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;path,
 
201
           boolean&nbsp;secure,
 
202
           <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Date.html">Date</A>&nbsp;now)</CODE>
 
203
 
 
204
<BR>
 
205
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use CookieSpec#match(String, int, String, boolean, Cookie)</I></TD>
 
206
</TR>
 
207
<TR BGCOLOR="white" CLASS="TableRowColor">
 
208
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
209
<CODE>&nbsp;<A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A></CODE></FONT></TD>
 
210
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCredentials(java.lang.String)">getCredentials</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm)</CODE>
 
211
 
 
212
<BR>
 
213
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This method does not distinguish between realms on different
 
214
 servers with the same name.  Use <A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCredentials(java.lang.String, java.lang.String)"><CODE>getCredentials(String, String)</CODE></A>
 
215
 instead.</I></TD>
 
216
</TR>
 
217
<TR BGCOLOR="white" CLASS="TableRowColor">
 
218
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
219
<CODE>&nbsp;<A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A></CODE></FONT></TD>
 
220
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCredentials(java.lang.String, java.lang.String)">getCredentials</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
221
               <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;host)</CODE>
 
222
 
 
223
<BR>
 
224
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the given authentication realm on the 
 
225
 given host.</TD>
 
226
</TR>
 
227
<TR BGCOLOR="white" CLASS="TableRowColor">
 
228
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
229
<CODE>&nbsp;<A HREF="../../../../org/apache/commons/httpclient/HttpConnectionManager.html">HttpConnectionManager</A></CODE></FONT></TD>
 
230
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getHttpConnectionManager()">getHttpConnectionManager</A></B>()</CODE>
 
231
 
 
232
<BR>
 
233
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Connection manager is controlled by the HttpClient class.
 
234
 Use <A HREF="../../../../org/apache/commons/httpclient/HttpClient.html#getHttpConnectionManager()"><CODE>HttpClient.getHttpConnectionManager()</CODE></A> instead.</I></TD>
 
235
</TR>
 
236
<TR BGCOLOR="white" CLASS="TableRowColor">
 
237
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
238
<CODE>&nbsp;<A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A></CODE></FONT></TD>
 
239
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getProxyCredentials(java.lang.String)">getProxyCredentials</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm)</CODE>
 
240
 
 
241
<BR>
 
242
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This method does not distinguish between realms on different hosts.
 
243
 Use <A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getProxyCredentials(java.lang.String, java.lang.String)"><CODE>getProxyCredentials(String, String)</CODE></A> instead.</I></TD>
 
244
</TR>
 
245
<TR BGCOLOR="white" CLASS="TableRowColor">
 
246
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
247
<CODE>&nbsp;<A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A></CODE></FONT></TD>
 
248
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getProxyCredentials(java.lang.String, java.lang.String)">getProxyCredentials</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
249
                    <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;proxyHost)</CODE>
 
250
 
 
251
<BR>
 
252
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the proxy host with the given 
 
253
 authentication realm.</TD>
 
254
</TR>
 
255
<TR BGCOLOR="white" CLASS="TableRowColor">
 
256
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
257
<CODE>&nbsp;boolean</CODE></FONT></TD>
 
258
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#isAuthenticationPreemptive()">isAuthenticationPreemptive</A></B>()</CODE>
 
259
 
 
260
<BR>
 
261
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <tt>true</tt> if preemptive authentication should be 
 
262
 attempted, <tt>false</tt> otherwise.</TD>
 
263
</TR>
 
264
<TR BGCOLOR="white" CLASS="TableRowColor">
 
265
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
266
<CODE>&nbsp;boolean</CODE></FONT></TD>
 
267
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#purgeExpiredCookies()">purgeExpiredCookies</A></B>()</CODE>
 
268
 
 
269
<BR>
 
270
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A> in this HTTP state
 
271
 that have expired according to the current system time.</TD>
 
272
</TR>
 
273
<TR BGCOLOR="white" CLASS="TableRowColor">
 
274
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
275
<CODE>&nbsp;boolean</CODE></FONT></TD>
 
276
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#purgeExpiredCookies(java.util.Date)">purgeExpiredCookies</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Date.html">Date</A>&nbsp;date)</CODE>
 
277
 
 
278
<BR>
 
279
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes all of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A> in this HTTP state
 
280
 that have expired by the specified <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Date.html"><CODE>date</CODE></A>.</TD>
 
281
</TR>
 
282
<TR BGCOLOR="white" CLASS="TableRowColor">
 
283
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
284
<CODE>&nbsp;void</CODE></FONT></TD>
 
285
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setAuthenticationPreemptive(boolean)">setAuthenticationPreemptive</A></B>(boolean&nbsp;value)</CODE>
 
286
 
 
287
<BR>
 
288
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines whether preemptive authentication should be 
 
289
 attempted.</TD>
 
290
</TR>
 
291
<TR BGCOLOR="white" CLASS="TableRowColor">
 
292
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
293
<CODE>&nbsp;void</CODE></FONT></TD>
 
294
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setCookiePolicy(int)">setCookiePolicy</A></B>(int&nbsp;policy)</CODE>
 
295
 
 
296
<BR>
 
297
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html"><CODE>cookie policy</CODE></A> for this HTTP
 
298
 state to one of the following supported policies: 
 
299
 <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html#COMPATIBILITY"><CODE>CookiePolicy.COMPATIBILITY</CODE></A>, 
 
300
 <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html#NETSCAPE_DRAFT"><CODE>CookiePolicy.NETSCAPE_DRAFT</CODE></A> or
 
301
 <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html#RFC2109"><CODE>CookiePolicy.RFC2109</CODE></A>.</TD>
 
302
</TR>
 
303
<TR BGCOLOR="white" CLASS="TableRowColor">
 
304
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
305
<CODE>&nbsp;void</CODE></FONT></TD>
 
306
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setCredentials(java.lang.String, org.apache.commons.httpclient.Credentials)">setCredentials</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
307
               <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A>&nbsp;credentials)</CODE>
 
308
 
 
309
<BR>
 
310
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This method does not distinguish between realms with the
 
311
 same name on different hosts.  
 
312
 Use <A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setCredentials(String, String, Credentials)</CODE></A> instead.</I></TD>
 
313
</TR>
 
314
<TR BGCOLOR="white" CLASS="TableRowColor">
 
315
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
316
<CODE>&nbsp;void</CODE></FONT></TD>
 
317
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)">setCredentials</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
318
               <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;host,
 
319
               <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A>&nbsp;credentials)</CODE>
 
320
 
 
321
<BR>
 
322
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the given authentication 
 
323
 realm on the given host.</TD>
 
324
</TR>
 
325
<TR BGCOLOR="white" CLASS="TableRowColor">
 
326
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
327
<CODE>&nbsp;void</CODE></FONT></TD>
 
328
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setHttpConnectionManager(org.apache.commons.httpclient.HttpConnectionManager)">setHttpConnectionManager</A></B>(<A HREF="../../../../org/apache/commons/httpclient/HttpConnectionManager.html">HttpConnectionManager</A>&nbsp;httpConnectionManager)</CODE>
 
329
 
 
330
<BR>
 
331
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Connection manager is controlled by the HttpClient class.
 
332
 Use <A HREF="../../../../org/apache/commons/httpclient/HttpClient.html#setHttpConnectionManager(org.apache.commons.httpclient.HttpConnectionManager)"><CODE>HttpClient.setHttpConnectionManager(HttpConnectionManager)</CODE></A> instead.</I></TD>
 
333
</TR>
 
334
<TR BGCOLOR="white" CLASS="TableRowColor">
 
335
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
336
<CODE>&nbsp;void</CODE></FONT></TD>
 
337
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setProxyCredentials(java.lang.String, org.apache.commons.httpclient.Credentials)">setProxyCredentials</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
338
                    <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A>&nbsp;credentials)</CODE>
 
339
 
 
340
<BR>
 
341
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This method does not differentiate between realms with
 
342
 the same name on different servers.  Use
 
343
 <A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setProxyCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setProxyCredentials(String, String, Credentials)</CODE></A> instead.</I></TD>
 
344
</TR>
 
345
<TR BGCOLOR="white" CLASS="TableRowColor">
 
346
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
347
<CODE>&nbsp;void</CODE></FONT></TD>
 
348
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setProxyCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)">setProxyCredentials</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
349
                    <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;proxyHost,
 
350
                    <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A>&nbsp;credentials)</CODE>
 
351
 
 
352
<BR>
 
353
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the given proxy authentication 
 
354
 realm on the given proxy host.</TD>
 
355
</TR>
 
356
<TR BGCOLOR="white" CLASS="TableRowColor">
 
357
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
358
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
 
359
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#toString()">toString</A></B>()</CODE>
 
360
 
 
361
<BR>
 
362
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this HTTP state.</TD>
 
363
</TR>
 
364
</TABLE>
 
365
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
 
366
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
367
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 
368
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A></B></TD>
 
369
</TR>
 
370
<TR BGCOLOR="white" CLASS="TableRowColor">
 
371
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#<clinit>()"><clinit></A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
 
372
</TR>
 
373
</TABLE>
 
374
&nbsp;
 
375
<P>
 
376
 
 
377
<!-- ============ FIELD DETAIL =========== -->
 
378
 
 
379
<A NAME="field_detail"><!-- --></A>
 
380
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
381
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
382
<TD COLSPAN=1><FONT SIZE="+2">
 
383
<B>Field Detail</B></FONT></TD>
 
384
</TR>
 
385
</TABLE>
 
386
 
 
387
<A NAME="PREEMPTIVE_PROPERTY"><!-- --></A><H3>
 
388
PREEMPTIVE_PROPERTY</H3>
 
389
<PRE>
 
390
public static final <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A> <B>PREEMPTIVE_PROPERTY</B></PRE>
 
391
<DL>
 
392
<DD><B>Deprecated.</B>&nbsp;<I>This field and feature will be removed following HttpClient 3.0.</I>
 
393
<P>
 
394
<DD>The boolean system property name to turn on preemptive authentication.</DL>
 
395
<HR>
 
396
 
 
397
<A NAME="PREEMPTIVE_DEFAULT"><!-- --></A><H3>
 
398
PREEMPTIVE_DEFAULT</H3>
 
399
<PRE>
 
400
public static final <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A> <B>PREEMPTIVE_DEFAULT</B></PRE>
 
401
<DL>
 
402
<DD><B>Deprecated.</B>&nbsp;<I>This field and feature will be removed following HttpClient 3.0.</I>
 
403
<P>
 
404
<DD>The default value for <A HREF="../../../../org/apache/commons/httpclient/HttpState.html#PREEMPTIVE_PROPERTY"><CODE>PREEMPTIVE_PROPERTY</CODE></A>.</DL>
 
405
<HR>
 
406
 
 
407
<A NAME="DEFAULT_AUTH_REALM"><!-- --></A><H3>
 
408
DEFAULT_AUTH_REALM</H3>
 
409
<PRE>
 
410
public static final <A HREF="../../../../org/apache/commons/httpclient/auth/HttpAuthRealm.html">HttpAuthRealm</A> <B>DEFAULT_AUTH_REALM</B></PRE>
 
411
<DL>
 
412
<DD>The default authentication realm.</DL>
 
413
 
 
414
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
415
 
 
416
<A NAME="constructor_detail"><!-- --></A>
 
417
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
418
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
419
<TD COLSPAN=1><FONT SIZE="+2">
 
420
<B>Constructor Detail</B></FONT></TD>
 
421
</TR>
 
422
</TABLE>
 
423
 
 
424
<A NAME="HttpState()"><!-- --></A><H3>
 
425
HttpState</H3>
 
426
<PRE>
 
427
public <B>HttpState</B>()</PRE>
 
428
<DL>
 
429
<DD>Default constructor.</DL>
 
430
 
 
431
<!-- ============ METHOD DETAIL ========== -->
 
432
 
 
433
<A NAME="method_detail"><!-- --></A>
 
434
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
 
435
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
436
<TD COLSPAN=1><FONT SIZE="+2">
 
437
<B>Method Detail</B></FONT></TD>
 
438
</TR>
 
439
</TABLE>
 
440
 
 
441
<A NAME="addCookie(org.apache.commons.httpclient.Cookie)"><!-- --></A><H3>
 
442
addCookie</H3>
 
443
<PRE>
 
444
public void <B>addCookie</B>(<A HREF="../../../../org/apache/commons/httpclient/Cookie.html">Cookie</A>&nbsp;cookie)</PRE>
 
445
<DL>
 
446
<DD>Adds an <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>HTTP cookie</CODE></A>, replacing any existing equivalent cookies.
 
447
 If the given cookie has already expired it will not be added, but existing 
 
448
 values will still be removed.<DD><DL>
 
449
<DT><B>Parameters:</B><DD><CODE>cookie</CODE> - the <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookie</CODE></A> to be added<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#addCookies(org.apache.commons.httpclient.Cookie[])"><CODE>addCookies(Cookie[])</CODE></A></DL>
 
450
</DD>
 
451
</DL>
 
452
<HR>
 
453
 
 
454
<A NAME="addCookies(org.apache.commons.httpclient.Cookie[])"><!-- --></A><H3>
 
455
addCookies</H3>
 
456
<PRE>
 
457
public void <B>addCookies</B>(<A HREF="../../../../org/apache/commons/httpclient/Cookie.html">Cookie</A>[]&nbsp;cookies)</PRE>
 
458
<DL>
 
459
<DD>Adds an array of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>HTTP cookies</CODE></A>. Cookies are added individually and 
 
460
 in the given array order. If any of the given cookies has already expired it will 
 
461
 not be added, but existing values will still be removed.<DD><DL>
 
462
<DT><B>Parameters:</B><DD><CODE>cookies</CODE> - the <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A> to be added<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#addCookie(org.apache.commons.httpclient.Cookie)"><CODE>addCookie(Cookie)</CODE></A></DL>
 
463
</DD>
 
464
</DL>
 
465
<HR>
 
466
 
 
467
<A NAME="getCookies()"><!-- --></A><H3>
 
468
getCookies</H3>
 
469
<PRE>
 
470
public <A HREF="../../../../org/apache/commons/httpclient/Cookie.html">Cookie</A>[] <B>getCookies</B>()</PRE>
 
471
<DL>
 
472
<DD>Returns an array of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A> that this HTTP
 
473
 state currently contains.<DD><DL>
 
474
<DT><B>Returns:</B><DD>an array of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A>.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCookies(java.lang.String, int, java.lang.String, boolean, java.util.Date)"><CODE>getCookies(String, int, String, boolean, java.util.Date)</CODE></A></DL>
 
475
</DD>
 
476
</DL>
 
477
<HR>
 
478
 
 
479
<A NAME="getCookies(java.lang.String, int, java.lang.String, boolean, java.util.Date)"><!-- --></A><H3>
 
480
getCookies</H3>
 
481
<PRE>
 
482
public <A HREF="../../../../org/apache/commons/httpclient/Cookie.html">Cookie</A>[] <B>getCookies</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;domain,
 
483
                           int&nbsp;port,
 
484
                           <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;path,
 
485
                           boolean&nbsp;secure,
 
486
                           <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Date.html">Date</A>&nbsp;now)</PRE>
 
487
<DL>
 
488
<DD><B>Deprecated.</B>&nbsp;<I>use CookieSpec#match(String, int, String, boolean, Cookie)</I>
 
489
<P>
 
490
<DD>Returns an array of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A> in this HTTP 
 
491
 state that match the given request parameters.<DD><DL>
 
492
<DT><B>Parameters:</B><DD><CODE>domain</CODE> - the request domain<DD><CODE>port</CODE> - the request port<DD><CODE>path</CODE> - the request path<DD><CODE>secure</CODE> - <code>true</code> when using HTTPS<DD><CODE>now</CODE> - the <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Date.html"><CODE>date</CODE></A> by which expiration is determined<DT><B>Returns:</B><DD>an array of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A>.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCookies()"><CODE>getCookies()</CODE></A></DL>
 
493
</DD>
 
494
</DL>
 
495
<HR>
 
496
 
 
497
<A NAME="getCookies(java.lang.String, int, java.lang.String, boolean)"><!-- --></A><H3>
 
498
getCookies</H3>
 
499
<PRE>
 
500
public <A HREF="../../../../org/apache/commons/httpclient/Cookie.html">Cookie</A>[] <B>getCookies</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;domain,
 
501
                           int&nbsp;port,
 
502
                           <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;path,
 
503
                           boolean&nbsp;secure)</PRE>
 
504
<DL>
 
505
<DD><B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/apache/commons/httpclient/cookie/CookieSpec.html#match(java.lang.String, int, java.lang.String, boolean, org.apache.commons.httpclient.Cookie)"><CODE>CookieSpec.match(String, int, String, boolean, Cookie)</CODE></A></I>
 
506
<P>
 
507
<DD>Returns an array of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A> in this HTTP
 
508
 state that match the given request parameters.<DD><DL>
 
509
<DT><B>Parameters:</B><DD><CODE>domain</CODE> - the request domain<DD><CODE>port</CODE> - the request port<DD><CODE>path</CODE> - the request path<DD><CODE>secure</CODE> - <code>true</code> when using HTTPS<DT><B>Returns:</B><DD>an array of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A>.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCookies()"><CODE>getCookies()</CODE></A></DL>
 
510
</DD>
 
511
</DL>
 
512
<HR>
 
513
 
 
514
<A NAME="purgeExpiredCookies()"><!-- --></A><H3>
 
515
purgeExpiredCookies</H3>
 
516
<PRE>
 
517
public boolean <B>purgeExpiredCookies</B>()</PRE>
 
518
<DL>
 
519
<DD>Removes all of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A> in this HTTP state
 
520
 that have expired according to the current system time.<DD><DL>
 
521
<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#purgeExpiredCookies(java.util.Date)"><CODE>purgeExpiredCookies(java.util.Date)</CODE></A></DL>
 
522
</DD>
 
523
</DL>
 
524
<HR>
 
525
 
 
526
<A NAME="purgeExpiredCookies(java.util.Date)"><!-- --></A><H3>
 
527
purgeExpiredCookies</H3>
 
528
<PRE>
 
529
public boolean <B>purgeExpiredCookies</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Date.html">Date</A>&nbsp;date)</PRE>
 
530
<DL>
 
531
<DD>Removes all of <A HREF="../../../../org/apache/commons/httpclient/Cookie.html"><CODE>cookies</CODE></A> in this HTTP state
 
532
 that have expired by the specified <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Date.html"><CODE>date</CODE></A>.<DD><DL>
 
533
<DT><B>Parameters:</B><DD><CODE>date</CODE> - The <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/Date.html"><CODE>date</CODE></A> to compare against.<DT><B>Returns:</B><DD>true if any cookies were purged.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/Cookie.html#isExpired(java.util.Date)"><CODE>Cookie.isExpired(java.util.Date)</CODE></A>, 
 
534
<A HREF="../../../../org/apache/commons/httpclient/HttpState.html#purgeExpiredCookies()"><CODE>purgeExpiredCookies()</CODE></A></DL>
 
535
</DD>
 
536
</DL>
 
537
<HR>
 
538
 
 
539
<A NAME="getCookiePolicy()"><!-- --></A><H3>
 
540
getCookiePolicy</H3>
 
541
<PRE>
 
542
public int <B>getCookiePolicy</B>()</PRE>
 
543
<DL>
 
544
<DD>Returns the current <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html"><CODE>cookie policy</CODE></A> for this
 
545
 HTTP state.<DD><DL>
 
546
<DT><B>Returns:</B><DD>The <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html"><CODE>cookie policy</CODE></A>.</DL>
 
547
</DD>
 
548
</DL>
 
549
<HR>
 
550
 
 
551
<A NAME="setAuthenticationPreemptive(boolean)"><!-- --></A><H3>
 
552
setAuthenticationPreemptive</H3>
 
553
<PRE>
 
554
public void <B>setAuthenticationPreemptive</B>(boolean&nbsp;value)</PRE>
 
555
<DL>
 
556
<DD>Defines whether preemptive authentication should be 
 
557
 attempted.<DD><DL>
 
558
<DT><B>Parameters:</B><DD><CODE>value</CODE> - <tt>true</tt> if preemptive authentication should be 
 
559
 attempted, <tt>false</tt> otherwise.</DL>
 
560
</DD>
 
561
</DL>
 
562
<HR>
 
563
 
 
564
<A NAME="isAuthenticationPreemptive()"><!-- --></A><H3>
 
565
isAuthenticationPreemptive</H3>
 
566
<PRE>
 
567
public boolean <B>isAuthenticationPreemptive</B>()</PRE>
 
568
<DL>
 
569
<DD>Returns <tt>true</tt> if preemptive authentication should be 
 
570
 attempted, <tt>false</tt> otherwise.<DD><DL>
 
571
<DT><B>Returns:</B><DD>boolean flag.</DL>
 
572
</DD>
 
573
</DL>
 
574
<HR>
 
575
 
 
576
<A NAME="setCookiePolicy(int)"><!-- --></A><H3>
 
577
setCookiePolicy</H3>
 
578
<PRE>
 
579
public void <B>setCookiePolicy</B>(int&nbsp;policy)</PRE>
 
580
<DL>
 
581
<DD>Sets the current <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html"><CODE>cookie policy</CODE></A> for this HTTP
 
582
 state to one of the following supported policies: 
 
583
 <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html#COMPATIBILITY"><CODE>CookiePolicy.COMPATIBILITY</CODE></A>, 
 
584
 <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html#NETSCAPE_DRAFT"><CODE>CookiePolicy.NETSCAPE_DRAFT</CODE></A> or
 
585
 <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html#RFC2109"><CODE>CookiePolicy.RFC2109</CODE></A>.<DD><DL>
 
586
<DT><B>Parameters:</B><DD><CODE>policy</CODE> - new <A HREF="../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html"><CODE>cookie policy</CODE></A></DL>
 
587
</DD>
 
588
</DL>
 
589
<HR>
 
590
 
 
591
<A NAME="setCredentials(java.lang.String, org.apache.commons.httpclient.Credentials)"><!-- --></A><H3>
 
592
setCredentials</H3>
 
593
<PRE>
 
594
public void <B>setCredentials</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
595
                           <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A>&nbsp;credentials)</PRE>
 
596
<DL>
 
597
<DD><B>Deprecated.</B>&nbsp;<I>This method does not distinguish between realms with the
 
598
 same name on different hosts.  
 
599
 Use <A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setCredentials(String, String, Credentials)</CODE></A> instead.</I>
 
600
<P>
 
601
<DD>Sets the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the given authentication 
 
602
 realm. The <code>null</code> realm signifies default credentials, which 
 
603
 should be used when no <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> have been explictly 
 
604
 supplied for the given challenging realm. Any previous credentials for
 
605
 the given realm will be overwritten.<DD><DL>
 
606
<DT><B>Parameters:</B><DD><CODE>realm</CODE> - the authentication realm<DD><CODE>credentials</CODE> - the authentication credentials for the given realm<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCredentials(java.lang.String, java.lang.String)"><CODE>getCredentials(String, String)</CODE></A>, 
 
607
<A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setProxyCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setProxyCredentials(String, String, Credentials)</CODE></A></DL>
 
608
</DD>
 
609
</DL>
 
610
<HR>
 
611
 
 
612
<A NAME="setCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><!-- --></A><H3>
 
613
setCredentials</H3>
 
614
<PRE>
 
615
public void <B>setCredentials</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
616
                           <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;host,
 
617
                           <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A>&nbsp;credentials)</PRE>
 
618
<DL>
 
619
<DD>Sets the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the given authentication 
 
620
 realm on the given host. The <code>null</code> realm signifies default 
 
621
 credentials for the given host, which should be used when no 
 
622
 <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> have been explictly supplied for the 
 
623
 challenging realm. The <code>null</code> host signifies default 
 
624
 credentials, which should be used when no <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> 
 
625
 have been explictly supplied for the challenging host. Any previous 
 
626
 credentials for the given realm on the given host will be overwritten.<DD><DL>
 
627
<DT><B>Parameters:</B><DD><CODE>realm</CODE> - the authentication realm<DD><CODE>host</CODE> - the host the realm belongs to<DD><CODE>credentials</CODE> - the authentication <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> 
 
628
 for the given realm.<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCredentials(java.lang.String, java.lang.String)"><CODE>getCredentials(String, String)</CODE></A>, 
 
629
<A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setProxyCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setProxyCredentials(String, String, Credentials)</CODE></A></DL>
 
630
</DD>
 
631
</DL>
 
632
<HR>
 
633
 
 
634
<A NAME="getCredentials(java.lang.String, java.lang.String)"><!-- --></A><H3>
 
635
getCredentials</H3>
 
636
<PRE>
 
637
public <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A> <B>getCredentials</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
638
                                  <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;host)</PRE>
 
639
<DL>
 
640
<DD>Get the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the given authentication realm on the 
 
641
 given host.
 
642
 
 
643
 If the <i>realm</i> exists on <i>host</i>, return the coresponding credentials.
 
644
 If the <i>host</i> exists with a <tt>null</tt> <i>realm</i>, return the corresponding
 
645
 credentials.
 
646
 If the <i>realm</i> exists with a <tt>null</tt> <i>host</i>, return the
 
647
 corresponding credentials.  If the <i>realm</i> does not exist, return
 
648
 the default Credentials.  If there are no default credentials, return
 
649
 <code>null</code>.<DD><DL>
 
650
<DT><B>Parameters:</B><DD><CODE>realm</CODE> - the authentication realm<DD><CODE>host</CODE> - the host the realm is on<DT><B>Returns:</B><DD>the credentials<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setCredentials(String, String, Credentials)</CODE></A></DL>
 
651
</DD>
 
652
</DL>
 
653
<HR>
 
654
 
 
655
<A NAME="getCredentials(java.lang.String)"><!-- --></A><H3>
 
656
getCredentials</H3>
 
657
<PRE>
 
658
public <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A> <B>getCredentials</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm)</PRE>
 
659
<DL>
 
660
<DD><B>Deprecated.</B>&nbsp;<I>This method does not distinguish between realms on different
 
661
 servers with the same name.  Use <A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getCredentials(java.lang.String, java.lang.String)"><CODE>getCredentials(String, String)</CODE></A>
 
662
 instead.</I>
 
663
<P>
 
664
<DD>Get the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the given authentication realm.<DD><DL>
 
665
<DT><B>Parameters:</B><DD><CODE>realm</CODE> - the authentication realm<DT><B>Returns:</B><DD>the credentials<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setCredentials(String, String, Credentials)</CODE></A></DL>
 
666
</DD>
 
667
</DL>
 
668
<HR>
 
669
 
 
670
<A NAME="setProxyCredentials(java.lang.String, org.apache.commons.httpclient.Credentials)"><!-- --></A><H3>
 
671
setProxyCredentials</H3>
 
672
<PRE>
 
673
public void <B>setProxyCredentials</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
674
                                <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A>&nbsp;credentials)</PRE>
 
675
<DL>
 
676
<DD><B>Deprecated.</B>&nbsp;<I>This method does not differentiate between realms with
 
677
 the same name on different servers.  Use
 
678
 <A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setProxyCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setProxyCredentials(String, String, Credentials)</CODE></A> instead.</I>
 
679
<P>
 
680
<DD>Sets the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the given proxy authentication 
 
681
 realm. The <code>null</code> realm signifies default credentials, which 
 
682
 should be used when no <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> have been explictly 
 
683
 supplied for the given challenging proxy realm. Any previous credentials for
 
684
 the given realm will be overwritten.<DD><DL>
 
685
<DT><B>Parameters:</B><DD><CODE>realm</CODE> - the authentication realm<DD><CODE>credentials</CODE> - the authentication credentials for the given realm<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getProxyCredentials(java.lang.String)"><CODE>getProxyCredentials(String)</CODE></A>, 
 
686
<A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setCredentials(java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setCredentials(String, Credentials)</CODE></A></DL>
 
687
</DD>
 
688
</DL>
 
689
<HR>
 
690
 
 
691
<A NAME="setProxyCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><!-- --></A><H3>
 
692
setProxyCredentials</H3>
 
693
<PRE>
 
694
public void <B>setProxyCredentials</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
695
                                <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;proxyHost,
 
696
                                <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A>&nbsp;credentials)</PRE>
 
697
<DL>
 
698
<DD>Sets the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the given proxy authentication 
 
699
 realm on the given proxy host. The <code>null</code> proxy realm signifies 
 
700
 default credentials for the given proxy host, which should be used when no 
 
701
 <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> have been explictly supplied for the 
 
702
 challenging proxy realm. The <code>null</code> proxy host signifies default 
 
703
 credentials, which should be used when no <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> 
 
704
 have been explictly supplied for the challenging proxy host. Any previous 
 
705
 credentials for the given proxy realm on the given proxy host will be 
 
706
 overwritten.<DD><DL>
 
707
<DT><B>Parameters:</B><DD><CODE>realm</CODE> - the authentication realm<DD><CODE>proxyHost</CODE> - the proxy host<DD><CODE>credentials</CODE> - the authentication credentials for the given realm<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getProxyCredentials(java.lang.String)"><CODE>getProxyCredentials(String)</CODE></A>, 
 
708
<A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setCredentials(java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setCredentials(String, Credentials)</CODE></A></DL>
 
709
</DD>
 
710
</DL>
 
711
<HR>
 
712
 
 
713
<A NAME="getProxyCredentials(java.lang.String)"><!-- --></A><H3>
 
714
getProxyCredentials</H3>
 
715
<PRE>
 
716
public <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A> <B>getProxyCredentials</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm)</PRE>
 
717
<DL>
 
718
<DD><B>Deprecated.</B>&nbsp;<I>This method does not distinguish between realms on different hosts.
 
719
 Use <A HREF="../../../../org/apache/commons/httpclient/HttpState.html#getProxyCredentials(java.lang.String, java.lang.String)"><CODE>getProxyCredentials(String, String)</CODE></A> instead.</I>
 
720
<P>
 
721
<DD>Get the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the given 
 
722
 proxy authentication realm.
 
723
 
 
724
 If the <i>realm</i> exists, return the coresponding credentials.  If the 
 
725
 <i>realm</i> does not exist, return the default Credentials.  If there is 
 
726
 no default credentials, return <code>null</code>.<DD><DL>
 
727
<DT><B>Parameters:</B><DD><CODE>realm</CODE> - the authentication realm<DT><B>Returns:</B><DD>the credentials<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setProxyCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setProxyCredentials(String, String, Credentials)</CODE></A></DL>
 
728
</DD>
 
729
</DL>
 
730
<HR>
 
731
 
 
732
<A NAME="getProxyCredentials(java.lang.String, java.lang.String)"><!-- --></A><H3>
 
733
getProxyCredentials</H3>
 
734
<PRE>
 
735
public <A HREF="../../../../org/apache/commons/httpclient/Credentials.html">Credentials</A> <B>getProxyCredentials</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;realm,
 
736
                                       <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;proxyHost)</PRE>
 
737
<DL>
 
738
<DD>Get the <A HREF="../../../../org/apache/commons/httpclient/Credentials.html"><CODE>credentials</CODE></A> for the proxy host with the given 
 
739
 authentication realm.
 
740
 
 
741
 If the <i>realm</i> exists on <i>host</i>, return the coresponding credentials.
 
742
 If the <i>host</i> exists with a <tt>null</tt> <i>realm</i>, return the corresponding
 
743
 credentials.
 
744
 If the <i>realm</i> exists with a <tt>null</tt> <i>host</i>, return the
 
745
 corresponding credentials.  If the <i>realm</i> does not exist, return
 
746
 the default Credentials.  If there are no default credentials, return
 
747
 <code>null</code>.<DD><DL>
 
748
<DT><B>Parameters:</B><DD><CODE>realm</CODE> - the authentication realm<DD><CODE>proxyHost</CODE> - the proxy host the realm is on<DT><B>Returns:</B><DD>the credentials<DT><B>See Also: </B><DD><A HREF="../../../../org/apache/commons/httpclient/HttpState.html#setProxyCredentials(java.lang.String, java.lang.String, org.apache.commons.httpclient.Credentials)"><CODE>setProxyCredentials(String, String, Credentials)</CODE></A></DL>
 
749
</DD>
 
750
</DL>
 
751
<HR>
 
752
 
 
753
<A NAME="toString()"><!-- --></A><H3>
 
754
toString</H3>
 
755
<PRE>
 
756
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
 
757
<DL>
 
758
<DD>Returns a string representation of this HTTP state.<DD><DL>
 
759
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A></CODE></DL>
 
760
</DD>
 
761
<DD><DL>
 
762
<DT><B>Returns:</B><DD>The string representation of the HTTP state.<DT><B>See Also: </B><DD><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#toString()"><CODE>Object.toString()</CODE></A></DL>
 
763
</DD>
 
764
</DL>
 
765
<HR>
 
766
 
 
767
<A NAME="getHttpConnectionManager()"><!-- --></A><H3>
 
768
getHttpConnectionManager</H3>
 
769
<PRE>
 
770
public <A HREF="../../../../org/apache/commons/httpclient/HttpConnectionManager.html">HttpConnectionManager</A> <B>getHttpConnectionManager</B>()</PRE>
 
771
<DL>
 
772
<DD><B>Deprecated.</B>&nbsp;<I>Connection manager is controlled by the HttpClient class.
 
773
 Use <A HREF="../../../../org/apache/commons/httpclient/HttpClient.html#getHttpConnectionManager()"><CODE>HttpClient.getHttpConnectionManager()</CODE></A> instead.</I>
 
774
<P>
 
775
<DD>Returns the httpConnectionManager.<DD><DL>
 
776
<DT><B>Returns:</B><DD>HttpConnectionManager<DT><B>Since: </B><DD>2.0</DD>
 
777
</DL>
 
778
</DD>
 
779
</DL>
 
780
<HR>
 
781
 
 
782
<A NAME="setHttpConnectionManager(org.apache.commons.httpclient.HttpConnectionManager)"><!-- --></A><H3>
 
783
setHttpConnectionManager</H3>
 
784
<PRE>
 
785
public void <B>setHttpConnectionManager</B>(<A HREF="../../../../org/apache/commons/httpclient/HttpConnectionManager.html">HttpConnectionManager</A>&nbsp;httpConnectionManager)</PRE>
 
786
<DL>
 
787
<DD><B>Deprecated.</B>&nbsp;<I>Connection manager is controlled by the HttpClient class.
 
788
 Use <A HREF="../../../../org/apache/commons/httpclient/HttpClient.html#setHttpConnectionManager(org.apache.commons.httpclient.HttpConnectionManager)"><CODE>HttpClient.setHttpConnectionManager(HttpConnectionManager)</CODE></A> instead.</I>
 
789
<P>
 
790
<DD>Sets the httpConnectionManager.<DD><DL>
 
791
<DT><B>Parameters:</B><DD><CODE>httpConnectionManager</CODE> - The httpConnectionManager to set<DT><B>Since: </B><DD>2.0</DD>
 
792
</DL>
 
793
</DD>
 
794
</DL>
 
795
<!-- ========= END OF CLASS DATA ========= -->
 
796
<HR>
 
797
 
 
798
<!-- ========== START OF NAVBAR ========== -->
 
799
<A NAME="navbar_bottom"><!-- --></A>
 
800
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
 
801
<TR>
 
802
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
803
<A NAME="navbar_bottom_firstrow"><!-- --></A>
 
804
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
 
805
  <TR ALIGN="center" VALIGN="top">
 
806
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
807
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
808
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
809
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/HttpState.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 
810
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
811
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
812
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
813
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
814
  </TR>
 
815
</TABLE>
 
816
</TD>
 
817
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
818
</EM>
 
819
</TD>
 
820
</TR>
 
821
 
 
822
<TR>
 
823
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
824
&nbsp;<A HREF="../../../../org/apache/commons/httpclient/HttpParser.html"><B>PREV CLASS</B></A>&nbsp;
 
825
&nbsp;<A HREF="../../../../org/apache/commons/httpclient/HttpStatus.html"><B>NEXT CLASS</B></A></FONT></TD>
 
826
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
827
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
 
828
&nbsp;<A HREF="HttpState.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
 
829
</TR>
 
830
<TR>
 
831
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
832
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
833
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
834
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
835
</TR>
 
836
</TABLE>
 
837
<!-- =========== END OF NAVBAR =========== -->
 
838
 
 
839
<HR>
 
840
Copyright &copy; 2001-2004 Apache Software Foundation. All Rights Reserved.
 
841
</BODY>
 
842
</HTML>