~testplan-team/testplan/source-collection

« back to all changes in this revision

Viewing changes to commons-httpclient-3.1/docs/apidocs/org/apache/commons/httpclient/params/HttpMethodParams.html

  • Committer: edA-qa mort-ora-y
  • Date: 2009-01-28 15:36:51 UTC
  • Revision ID: eda-qa@disemia.com-20090128153651-u4uzd035zyjea16j
adding httpclient

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<!--NewPage-->
 
3
<HTML>
 
4
<HEAD>
 
5
<!-- Generated by javadoc (build 1.5.0_11) on Sat Aug 18 11:01:02 CEST 2007 -->
 
6
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
 
7
<TITLE>
 
8
HttpMethodParams (HttpClient 3.1 API)
 
9
</TITLE>
 
10
 
 
11
<META NAME="keywords" CONTENT="org.apache.commons.httpclient.params.HttpMethodParams class">
 
12
 
 
13
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 
14
 
 
15
<SCRIPT type="text/javascript">
 
16
function windowTitle()
 
17
{
 
18
    parent.document.title="HttpMethodParams (HttpClient 3.1 API)";
 
19
}
 
20
</SCRIPT>
 
21
<NOSCRIPT>
 
22
</NOSCRIPT>
 
23
 
 
24
</HEAD>
 
25
 
 
26
<BODY BGCOLOR="white" onload="windowTitle();">
 
27
 
 
28
 
 
29
<!-- ========= START OF TOP NAVBAR ======= -->
 
30
<A NAME="navbar_top"><!-- --></A>
 
31
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 
32
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
33
<TR>
 
34
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
35
<A NAME="navbar_top_firstrow"><!-- --></A>
 
36
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
37
  <TR ALIGN="center" VALIGN="top">
 
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
40
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/HttpMethodParams.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
46
  </TR>
 
47
</TABLE>
 
48
</TD>
 
49
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
50
</EM>
 
51
</TD>
 
52
</TR>
 
53
 
 
54
<TR>
 
55
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
56
&nbsp;<A HREF="../../../../../org/apache/commons/httpclient/params/HttpConnectionParams.html" title="class in org.apache.commons.httpclient.params"><B>PREV CLASS</B></A>&nbsp;
 
57
&nbsp;<A HREF="../../../../../org/apache/commons/httpclient/params/HttpParams.html" title="interface in org.apache.commons.httpclient.params"><B>NEXT CLASS</B></A></FONT></TD>
 
58
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
59
  <A HREF="../../../../../index.html?org/apache/commons/httpclient/params/HttpMethodParams.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
60
&nbsp;<A HREF="HttpMethodParams.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
61
&nbsp;<SCRIPT type="text/javascript">
 
62
  <!--
 
63
  if(window==top) {
 
64
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 
65
  }
 
66
  //-->
 
67
</SCRIPT>
 
68
<NOSCRIPT>
 
69
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 
70
</NOSCRIPT>
 
71
 
 
72
 
 
73
</FONT></TD>
 
74
</TR>
 
75
<TR>
 
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
77
  SUMMARY:&nbsp;NESTED&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>
 
78
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
79
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>
 
80
</TR>
 
81
</TABLE>
 
82
<A NAME="skip-navbar_top"></A>
 
83
<!-- ========= END OF TOP NAVBAR ========= -->
 
84
 
 
85
<HR>
 
86
<!-- ======== START OF CLASS DATA ======== -->
 
87
<H2>
 
88
<FONT SIZE="-1">
 
89
org.apache.commons.httpclient.params</FONT>
 
90
<BR>
 
91
Class HttpMethodParams</H2>
 
92
<PRE>
 
93
<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
 
94
  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html" title="class in org.apache.commons.httpclient.params">org.apache.commons.httpclient.params.DefaultHttpParams</A>
 
95
      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.httpclient.params.HttpMethodParams</B>
 
96
</PRE>
 
97
<DL>
 
98
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang">Cloneable</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/HttpParams.html" title="interface in org.apache.commons.httpclient.params">HttpParams</A></DD>
 
99
</DL>
 
100
<DL>
 
101
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/commons/httpclient/params/HttpClientParams.html" title="class in org.apache.commons.httpclient.params">HttpClientParams</A></DD>
 
102
</DL>
 
103
<HR>
 
104
<DL>
 
105
<DT><PRE>public class <B>HttpMethodParams</B><DT>extends <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html" title="class in org.apache.commons.httpclient.params">DefaultHttpParams</A></DL>
 
106
</PRE>
 
107
 
 
108
<P>
 
109
This class represents a collection of HTTP protocol parameters applicable to 
 
110
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A>. Protocol 
 
111
 parameters may be linked together to form a hierarchy. If a particular 
 
112
 parameter value has not been explicitly defined in the collection itself, 
 
113
 its value will be drawn from the parent collection of parameters.
 
114
<P>
 
115
 
 
116
<P>
 
117
<DL>
 
118
<DT><B>Since:</B></DT>
 
119
  <DD>3.0</DD>
 
120
<DT><B>Version:</B></DT>
 
121
  <DD>$Revision: 483949 $</DD>
 
122
<DT><B>Author:</B></DT>
 
123
  <DD><a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>, Christian Kohlschuetter</DD>
 
124
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.apache.commons.httpclient.params.HttpMethodParams">Serialized Form</A></DL>
 
125
<HR>
 
126
 
 
127
<P>
 
128
<!-- =========== FIELD SUMMARY =========== -->
 
129
 
 
130
<A NAME="field_summary"><!-- --></A>
 
131
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
132
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
133
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 
134
<B>Field Summary</B></FONT></TH>
 
135
</TR>
 
136
<TR BGCOLOR="white" CLASS="TableRowColor">
 
137
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
138
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
139
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#BUFFER_WARN_TRIGGER_LIMIT">BUFFER_WARN_TRIGGER_LIMIT</A></B></CODE>
 
140
 
 
141
<BR>
 
142
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the maximum buffered response size (in bytes) that triggers no warning.</TD>
 
143
</TR>
 
144
<TR BGCOLOR="white" CLASS="TableRowColor">
 
145
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
146
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
147
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#COOKIE_POLICY">COOKIE_POLICY</A></B></CODE>
 
148
 
 
149
<BR>
 
150
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines <A HREF="../../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html" title="class in org.apache.commons.httpclient.cookie"><CODE>cookie policy</CODE></A> to be used for cookie management.</TD>
 
151
</TR>
 
152
<TR BGCOLOR="white" CLASS="TableRowColor">
 
153
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
154
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
155
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#CREDENTIAL_CHARSET">CREDENTIAL_CHARSET</A></B></CODE>
 
156
 
 
157
<BR>
 
158
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the charset to be used when encoding 
 
159
 <A HREF="../../../../../org/apache/commons/httpclient/Credentials.html" title="interface in org.apache.commons.httpclient"><CODE>Credentials</CODE></A>.</TD>
 
160
</TR>
 
161
<TR BGCOLOR="white" CLASS="TableRowColor">
 
162
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
163
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
164
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#DATE_PATTERNS">DATE_PATTERNS</A></B></CODE>
 
165
 
 
166
<BR>
 
167
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The key used to look up the date patterns used for parsing.</TD>
 
168
</TR>
 
169
<TR BGCOLOR="white" CLASS="TableRowColor">
 
170
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
171
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
172
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#HEAD_BODY_CHECK_TIMEOUT">HEAD_BODY_CHECK_TIMEOUT</A></B></CODE>
 
173
 
 
174
<BR>
 
175
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets period of time in milliseconds to wait for a content body sent in response to 
 
176
 <A HREF="../../../../../org/apache/commons/httpclient/methods/HeadMethod.html" title="class in org.apache.commons.httpclient.methods"><CODE>HEAD method</CODE></A> from a 
 
177
 non-compliant server.</TD>
 
178
</TR>
 
179
<TR BGCOLOR="white" CLASS="TableRowColor">
 
180
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
181
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
182
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#HTTP_CONTENT_CHARSET">HTTP_CONTENT_CHARSET</A></B></CODE>
 
183
 
 
184
<BR>
 
185
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the charset to be used for encoding content body.</TD>
 
186
</TR>
 
187
<TR BGCOLOR="white" CLASS="TableRowColor">
 
188
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
189
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
190
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#HTTP_ELEMENT_CHARSET">HTTP_ELEMENT_CHARSET</A></B></CODE>
 
191
 
 
192
<BR>
 
193
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the charset to be used for encoding HTTP protocol elements.</TD>
 
194
</TR>
 
195
<TR BGCOLOR="white" CLASS="TableRowColor">
 
196
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
197
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
198
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#HTTP_URI_CHARSET">HTTP_URI_CHARSET</A></B></CODE>
 
199
 
 
200
<BR>
 
201
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the charset to be used for parsing URIs.</TD>
 
202
</TR>
 
203
<TR BGCOLOR="white" CLASS="TableRowColor">
 
204
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
205
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
206
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#MULTIPART_BOUNDARY">MULTIPART_BOUNDARY</A></B></CODE>
 
207
 
 
208
<BR>
 
209
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value to use as the multipart boundary.</TD>
 
210
</TR>
 
211
<TR BGCOLOR="white" CLASS="TableRowColor">
 
212
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
213
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
214
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#PROTOCOL_VERSION">PROTOCOL_VERSION</A></B></CODE>
 
215
 
 
216
<BR>
 
217
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the <A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient"><CODE>HTTP protocol version</CODE></A> used by  
 
218
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> per
 
219
 default.</TD>
 
220
</TR>
 
221
<TR BGCOLOR="white" CLASS="TableRowColor">
 
222
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
223
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
224
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#REJECT_HEAD_BODY">REJECT_HEAD_BODY</A></B></CODE>
 
225
 
 
226
<BR>
 
227
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines whether the content body sent in response to 
 
228
 <A HREF="../../../../../org/apache/commons/httpclient/methods/HeadMethod.html" title="class in org.apache.commons.httpclient.methods"><CODE>HeadMethod</CODE></A> should be rejected.</TD>
 
229
</TR>
 
230
<TR BGCOLOR="white" CLASS="TableRowColor">
 
231
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
232
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
233
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#RETRY_HANDLER">RETRY_HANDLER</A></B></CODE>
 
234
 
 
235
<BR>
 
236
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the method retry handler parameter.</TD>
 
237
</TR>
 
238
<TR BGCOLOR="white" CLASS="TableRowColor">
 
239
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
240
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
241
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#SINGLE_COOKIE_HEADER">SINGLE_COOKIE_HEADER</A></B></CODE>
 
242
 
 
243
<BR>
 
244
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines whether <A HREF="../../../../../org/apache/commons/httpclient/Cookie.html" title="class in org.apache.commons.httpclient"><CODE>cookies</CODE></A> should be put on 
 
245
 a single <A HREF="../../../../../org/apache/commons/httpclient/Header.html" title="class in org.apache.commons.httpclient"><CODE>response header</CODE></A>.</TD>
 
246
</TR>
 
247
<TR BGCOLOR="white" CLASS="TableRowColor">
 
248
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
249
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
250
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#SO_TIMEOUT">SO_TIMEOUT</A></B></CODE>
 
251
 
 
252
<BR>
 
253
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds to be used when executing the method.</TD>
 
254
</TR>
 
255
<TR BGCOLOR="white" CLASS="TableRowColor">
 
256
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
257
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
258
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#STATUS_LINE_GARBAGE_LIMIT">STATUS_LINE_GARBAGE_LIMIT</A></B></CODE>
 
259
 
 
260
<BR>
 
261
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the maximum number of ignorable lines before we expect
 
262
 a HTTP response's status code.</TD>
 
263
</TR>
 
264
<TR BGCOLOR="white" CLASS="TableRowColor">
 
265
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
266
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
267
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#STRICT_TRANSFER_ENCODING">STRICT_TRANSFER_ENCODING</A></B></CODE>
 
268
 
 
269
<BR>
 
270
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines whether responses with an invalid <tt>Transfer-Encoding</tt> header should be 
 
271
 rejected.</TD>
 
272
</TR>
 
273
<TR BGCOLOR="white" CLASS="TableRowColor">
 
274
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
275
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
276
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#UNAMBIGUOUS_STATUS_LINE">UNAMBIGUOUS_STATUS_LINE</A></B></CODE>
 
277
 
 
278
<BR>
 
279
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines whether <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> should
 
280
 reject ambiguous <A HREF="../../../../../org/apache/commons/httpclient/StatusLine.html" title="class in org.apache.commons.httpclient"><CODE>HTTP status line</CODE></A>.</TD>
 
281
</TR>
 
282
<TR BGCOLOR="white" CLASS="TableRowColor">
 
283
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
284
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
285
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#USE_EXPECT_CONTINUE">USE_EXPECT_CONTINUE</A></B></CODE>
 
286
 
 
287
<BR>
 
288
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
289
 Activates 'Expect: 100-Continue' handshake for the 
 
290
 <A HREF="../../../../../org/apache/commons/httpclient/methods/ExpectContinueMethod.html" title="class in org.apache.commons.httpclient.methods"><CODE>entity enclosing methods</CODE></A>.</TD>
 
291
</TR>
 
292
<TR BGCOLOR="white" CLASS="TableRowColor">
 
293
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
294
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
295
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#USER_AGENT">USER_AGENT</A></B></CODE>
 
296
 
 
297
<BR>
 
298
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the content of the <tt>User-Agent</tt> header used by  
 
299
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A>.</TD>
 
300
</TR>
 
301
<TR BGCOLOR="white" CLASS="TableRowColor">
 
302
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
303
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
304
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#VIRTUAL_HOST">VIRTUAL_HOST</A></B></CODE>
 
305
 
 
306
<BR>
 
307
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the virtual host name.</TD>
 
308
</TR>
 
309
<TR BGCOLOR="white" CLASS="TableRowColor">
 
310
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
311
<CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
312
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#WARN_EXTRA_INPUT">WARN_EXTRA_INPUT</A></B></CODE>
 
313
 
 
314
<BR>
 
315
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines HttpClient's behavior when a response provides more bytes than
 
316
 expected (specified with Content-Length, for example).</TD>
 
317
</TR>
 
318
</TABLE>
 
319
&nbsp;
 
320
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 
321
 
 
322
<A NAME="constructor_summary"><!-- --></A>
 
323
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
324
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
325
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 
326
<B>Constructor Summary</B></FONT></TH>
 
327
</TR>
 
328
<TR BGCOLOR="white" CLASS="TableRowColor">
 
329
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#HttpMethodParams()">HttpMethodParams</A></B>()</CODE>
 
330
 
 
331
<BR>
 
332
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new collection of parameters with the collection returned
 
333
 by <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getDefaultParams()"><CODE>DefaultHttpParams.getDefaultParams()</CODE></A> as a parent.</TD>
 
334
</TR>
 
335
<TR BGCOLOR="white" CLASS="TableRowColor">
 
336
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#HttpMethodParams(org.apache.commons.httpclient.params.HttpParams)">HttpMethodParams</A></B>(<A HREF="../../../../../org/apache/commons/httpclient/params/HttpParams.html" title="interface in org.apache.commons.httpclient.params">HttpParams</A>&nbsp;defaults)</CODE>
 
337
 
 
338
<BR>
 
339
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new collection of parameters with the given parent.</TD>
 
340
</TR>
 
341
</TABLE>
 
342
&nbsp;
 
343
<!-- ========== METHOD SUMMARY =========== -->
 
344
 
 
345
<A NAME="method_summary"><!-- --></A>
 
346
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
347
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
348
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 
349
<B>Method Summary</B></FONT></TH>
 
350
</TR>
 
351
<TR BGCOLOR="white" CLASS="TableRowColor">
 
352
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
353
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
354
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#getContentCharset()">getContentCharset</A></B>()</CODE>
 
355
 
 
356
<BR>
 
357
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default charset to be used for writing content body, 
 
358
 when no charset explicitly specified.</TD>
 
359
</TR>
 
360
<TR BGCOLOR="white" CLASS="TableRowColor">
 
361
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
362
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
363
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#getCookiePolicy()">getCookiePolicy</A></B>()</CODE>
 
364
 
 
365
<BR>
 
366
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <A HREF="../../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html" title="class in org.apache.commons.httpclient.cookie"><CODE>cookie policy</CODE></A> to be used by the 
 
367
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> 
 
368
 this collection of parameters applies to.</TD>
 
369
</TR>
 
370
<TR BGCOLOR="white" CLASS="TableRowColor">
 
371
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
372
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
373
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#getCredentialCharset()">getCredentialCharset</A></B>()</CODE>
 
374
 
 
375
<BR>
 
376
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the charset to be used for <A HREF="../../../../../org/apache/commons/httpclient/Credentials.html" title="interface in org.apache.commons.httpclient"><CODE>Credentials</CODE></A>.</TD>
 
377
</TR>
 
378
<TR BGCOLOR="white" CLASS="TableRowColor">
 
379
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
380
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
381
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#getHttpElementCharset()">getHttpElementCharset</A></B>()</CODE>
 
382
 
 
383
<BR>
 
384
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the charset to be used for writing HTTP headers.</TD>
 
385
</TR>
 
386
<TR BGCOLOR="white" CLASS="TableRowColor">
 
387
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
388
<CODE>&nbsp;int</CODE></FONT></TD>
 
389
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#getSoTimeout()">getSoTimeout</A></B>()</CODE>
 
390
 
 
391
<BR>
 
392
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the 
 
393
 timeout for waiting for data.</TD>
 
394
</TR>
 
395
<TR BGCOLOR="white" CLASS="TableRowColor">
 
396
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
397
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
398
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#getUriCharset()">getUriCharset</A></B>()</CODE>
 
399
 
 
400
<BR>
 
401
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the charset to be used for parsing URIs.</TD>
 
402
</TR>
 
403
<TR BGCOLOR="white" CLASS="TableRowColor">
 
404
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
405
<CODE>&nbsp;<A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient">HttpVersion</A></CODE></FONT></TD>
 
406
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#getVersion()">getVersion</A></B>()</CODE>
 
407
 
 
408
<BR>
 
409
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient"><CODE>HTTP protocol version</CODE></A> to be used by the 
 
410
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> that 
 
411
 this collection of parameters applies to.</TD>
 
412
</TR>
 
413
<TR BGCOLOR="white" CLASS="TableRowColor">
 
414
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
415
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
 
416
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#getVirtualHost()">getVirtualHost</A></B>()</CODE>
 
417
 
 
418
<BR>
 
419
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the virtual host name.</TD>
 
420
</TR>
 
421
<TR BGCOLOR="white" CLASS="TableRowColor">
 
422
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
423
<CODE>&nbsp;void</CODE></FONT></TD>
 
424
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#makeLenient()">makeLenient</A></B>()</CODE>
 
425
 
 
426
<BR>
 
427
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makes the <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A>
 
428
 attempt to mimic the exact behaviour of commonly used HTTP agents, 
 
429
 which many HTTP servers expect, even though such behaviour may violate   
 
430
 the HTTP protocol specification (RFC 2616 and other relevant RFCs).</TD>
 
431
</TR>
 
432
<TR BGCOLOR="white" CLASS="TableRowColor">
 
433
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
434
<CODE>&nbsp;void</CODE></FONT></TD>
 
435
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#makeStrict()">makeStrict</A></B>()</CODE>
 
436
 
 
437
<BR>
 
438
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makes the <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> 
 
439
 strictly follow the HTTP protocol specification (RFC 2616 and other relevant RFCs).</TD>
 
440
</TR>
 
441
<TR BGCOLOR="white" CLASS="TableRowColor">
 
442
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
443
<CODE>&nbsp;void</CODE></FONT></TD>
 
444
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#setContentCharset(java.lang.String)">setContentCharset</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;charset)</CODE>
 
445
 
 
446
<BR>
 
447
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the default charset to be used for writing content body,
 
448
 when no charset explicitly specified.</TD>
 
449
</TR>
 
450
<TR BGCOLOR="white" CLASS="TableRowColor">
 
451
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
452
<CODE>&nbsp;void</CODE></FONT></TD>
 
453
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#setCookiePolicy(java.lang.String)">setCookiePolicy</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;policy)</CODE>
 
454
 
 
455
<BR>
 
456
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Assigns the <A HREF="../../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html" title="class in org.apache.commons.httpclient.cookie"><CODE>cookie policy</CODE></A> to be used by the 
 
457
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> 
 
458
 this collection of parameters applies to.</TD>
 
459
</TR>
 
460
<TR BGCOLOR="white" CLASS="TableRowColor">
 
461
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
462
<CODE>&nbsp;void</CODE></FONT></TD>
 
463
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#setCredentialCharset(java.lang.String)">setCredentialCharset</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;charset)</CODE>
 
464
 
 
465
<BR>
 
466
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the charset to be used for writing HTTP headers.</TD>
 
467
</TR>
 
468
<TR BGCOLOR="white" CLASS="TableRowColor">
 
469
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
470
<CODE>&nbsp;void</CODE></FONT></TD>
 
471
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#setHttpElementCharset(java.lang.String)">setHttpElementCharset</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;charset)</CODE>
 
472
 
 
473
<BR>
 
474
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the charset to be used for writing HTTP headers.</TD>
 
475
</TR>
 
476
<TR BGCOLOR="white" CLASS="TableRowColor">
 
477
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
478
<CODE>&nbsp;void</CODE></FONT></TD>
 
479
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#setSoTimeout(int)">setSoTimeout</A></B>(int&nbsp;timeout)</CODE>
 
480
 
 
481
<BR>
 
482
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the 
 
483
 timeout for waiting for data.</TD>
 
484
</TR>
 
485
<TR BGCOLOR="white" CLASS="TableRowColor">
 
486
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
487
<CODE>&nbsp;void</CODE></FONT></TD>
 
488
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#setUriCharset(java.lang.String)">setUriCharset</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;charset)</CODE>
 
489
 
 
490
<BR>
 
491
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the charset to be used for parsing URIs.</TD>
 
492
</TR>
 
493
<TR BGCOLOR="white" CLASS="TableRowColor">
 
494
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
495
<CODE>&nbsp;void</CODE></FONT></TD>
 
496
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#setVersion(org.apache.commons.httpclient.HttpVersion)">setVersion</A></B>(<A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient">HttpVersion</A>&nbsp;version)</CODE>
 
497
 
 
498
<BR>
 
499
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Assigns the <A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient"><CODE>HTTP protocol version</CODE></A> to be used by the 
 
500
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> that 
 
501
 this collection of parameters applies to.</TD>
 
502
</TR>
 
503
<TR BGCOLOR="white" CLASS="TableRowColor">
 
504
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
505
<CODE>&nbsp;void</CODE></FONT></TD>
 
506
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#setVirtualHost(java.lang.String)">setVirtualHost</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;hostname)</CODE>
 
507
 
 
508
<BR>
 
509
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the virtual host name.</TD>
 
510
</TR>
 
511
</TABLE>
 
512
&nbsp;<A NAME="methods_inherited_from_class_org.apache.commons.httpclient.params.DefaultHttpParams"><!-- --></A>
 
513
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
514
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 
515
<TH ALIGN="left"><B>Methods inherited from class org.apache.commons.httpclient.params.<A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html" title="class in org.apache.commons.httpclient.params">DefaultHttpParams</A></B></TH>
 
516
</TR>
 
517
<TR BGCOLOR="white" CLASS="TableRowColor">
 
518
<TD><CODE><A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#clear()">clear</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#clone()">clone</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getBooleanParameter(java.lang.String, boolean)">getBooleanParameter</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getDefaultParams()">getDefaultParams</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getDefaults()">getDefaults</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getDoubleParameter(java.lang.String, double)">getDoubleParameter</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getIntParameter(java.lang.String, int)">getIntParameter</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getLongParameter(java.lang.String, long)">getLongParameter</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getParameter(java.lang.String)">getParameter</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#isParameterFalse(java.lang.String)">isParameterFalse</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#isParameterSet(java.lang.String)">isParameterSet</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#isParameterSetLocally(java.lang.String)">isParameterSetLocally</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#isParameterTrue(java.lang.String)">isParameterTrue</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#setBooleanParameter(java.lang.String, boolean)">setBooleanParameter</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#setDefaults(org.apache.commons.httpclient.params.HttpParams)">setDefaults</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#setDoubleParameter(java.lang.String, double)">setDoubleParameter</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#setHttpParamsFactory(org.apache.commons.httpclient.params.HttpParamsFactory)">setHttpParamsFactory</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#setIntParameter(java.lang.String, int)">setIntParameter</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#setLongParameter(java.lang.String, long)">setLongParameter</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#setParameter(java.lang.String, java.lang.Object)">setParameter</A>, <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#setParameters(java.lang.String[], java.lang.Object)">setParameters</A></CODE></TD>
 
519
</TR>
 
520
</TABLE>
 
521
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
 
522
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
523
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 
524
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
 
525
</TR>
 
526
<TR BGCOLOR="white" CLASS="TableRowColor">
 
527
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
 
528
</TR>
 
529
</TABLE>
 
530
&nbsp;
 
531
<P>
 
532
 
 
533
<!-- ============ FIELD DETAIL =========== -->
 
534
 
 
535
<A NAME="field_detail"><!-- --></A>
 
536
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
537
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
538
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 
539
<B>Field Detail</B></FONT></TH>
 
540
</TR>
 
541
</TABLE>
 
542
 
 
543
<A NAME="USER_AGENT"><!-- --></A><H3>
 
544
USER_AGENT</H3>
 
545
<PRE>
 
546
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>USER_AGENT</B></PRE>
 
547
<DL>
 
548
<DD>Defines the content of the <tt>User-Agent</tt> header used by  
 
549
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A>.
 
550
 <p>
 
551
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A>.
 
552
 </p>
 
553
<P>
 
554
<DL>
 
555
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.USER_AGENT">Constant Field Values</A></DL>
 
556
</DL>
 
557
<HR>
 
558
 
 
559
<A NAME="PROTOCOL_VERSION"><!-- --></A><H3>
 
560
PROTOCOL_VERSION</H3>
 
561
<PRE>
 
562
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>PROTOCOL_VERSION</B></PRE>
 
563
<DL>
 
564
<DD>Defines the <A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient"><CODE>HTTP protocol version</CODE></A> used by  
 
565
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> per
 
566
 default.
 
567
 <p>
 
568
 This parameter expects a value of type <A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient"><CODE>HttpVersion</CODE></A>.
 
569
 </p>
 
570
<P>
 
571
<DL>
 
572
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.PROTOCOL_VERSION">Constant Field Values</A></DL>
 
573
</DL>
 
574
<HR>
 
575
 
 
576
<A NAME="UNAMBIGUOUS_STATUS_LINE"><!-- --></A><H3>
 
577
UNAMBIGUOUS_STATUS_LINE</H3>
 
578
<PRE>
 
579
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>UNAMBIGUOUS_STATUS_LINE</B></PRE>
 
580
<DL>
 
581
<DD>Defines whether <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> should
 
582
 reject ambiguous <A HREF="../../../../../org/apache/commons/httpclient/StatusLine.html" title="class in org.apache.commons.httpclient"><CODE>HTTP status line</CODE></A>.
 
583
 <p>
 
584
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Boolean.html" title="class or interface in java.lang"><CODE>Boolean</CODE></A>.
 
585
 </p>
 
586
<P>
 
587
<DL>
 
588
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.UNAMBIGUOUS_STATUS_LINE">Constant Field Values</A></DL>
 
589
</DL>
 
590
<HR>
 
591
 
 
592
<A NAME="SINGLE_COOKIE_HEADER"><!-- --></A><H3>
 
593
SINGLE_COOKIE_HEADER</H3>
 
594
<PRE>
 
595
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>SINGLE_COOKIE_HEADER</B></PRE>
 
596
<DL>
 
597
<DD>Defines whether <A HREF="../../../../../org/apache/commons/httpclient/Cookie.html" title="class in org.apache.commons.httpclient"><CODE>cookies</CODE></A> should be put on 
 
598
 a single <A HREF="../../../../../org/apache/commons/httpclient/Header.html" title="class in org.apache.commons.httpclient"><CODE>response header</CODE></A>.
 
599
 <p>
 
600
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Boolean.html" title="class or interface in java.lang"><CODE>Boolean</CODE></A>.
 
601
 </p>
 
602
<P>
 
603
<DL>
 
604
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.SINGLE_COOKIE_HEADER">Constant Field Values</A></DL>
 
605
</DL>
 
606
<HR>
 
607
 
 
608
<A NAME="STRICT_TRANSFER_ENCODING"><!-- --></A><H3>
 
609
STRICT_TRANSFER_ENCODING</H3>
 
610
<PRE>
 
611
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>STRICT_TRANSFER_ENCODING</B></PRE>
 
612
<DL>
 
613
<DD>Defines whether responses with an invalid <tt>Transfer-Encoding</tt> header should be 
 
614
 rejected.
 
615
 <p>
 
616
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Boolean.html" title="class or interface in java.lang"><CODE>Boolean</CODE></A>.
 
617
 </p>
 
618
<P>
 
619
<DL>
 
620
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.STRICT_TRANSFER_ENCODING">Constant Field Values</A></DL>
 
621
</DL>
 
622
<HR>
 
623
 
 
624
<A NAME="REJECT_HEAD_BODY"><!-- --></A><H3>
 
625
REJECT_HEAD_BODY</H3>
 
626
<PRE>
 
627
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>REJECT_HEAD_BODY</B></PRE>
 
628
<DL>
 
629
<DD>Defines whether the content body sent in response to 
 
630
 <A HREF="../../../../../org/apache/commons/httpclient/methods/HeadMethod.html" title="class in org.apache.commons.httpclient.methods"><CODE>HeadMethod</CODE></A> should be rejected.
 
631
 <p>
 
632
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Boolean.html" title="class or interface in java.lang"><CODE>Boolean</CODE></A>.
 
633
 </p>
 
634
<P>
 
635
<DL>
 
636
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.REJECT_HEAD_BODY">Constant Field Values</A></DL>
 
637
</DL>
 
638
<HR>
 
639
 
 
640
<A NAME="HEAD_BODY_CHECK_TIMEOUT"><!-- --></A><H3>
 
641
HEAD_BODY_CHECK_TIMEOUT</H3>
 
642
<PRE>
 
643
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>HEAD_BODY_CHECK_TIMEOUT</B></PRE>
 
644
<DL>
 
645
<DD>Sets period of time in milliseconds to wait for a content body sent in response to 
 
646
 <A HREF="../../../../../org/apache/commons/httpclient/methods/HeadMethod.html" title="class in org.apache.commons.httpclient.methods"><CODE>HEAD method</CODE></A> from a 
 
647
 non-compliant server. If the parameter is not set or set to <tt>-1</tt> non-compliant 
 
648
 response body check is disabled.
 
649
 <p>
 
650
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang"><CODE>Integer</CODE></A>.
 
651
 </p>
 
652
<P>
 
653
<DL>
 
654
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.HEAD_BODY_CHECK_TIMEOUT">Constant Field Values</A></DL>
 
655
</DL>
 
656
<HR>
 
657
 
 
658
<A NAME="USE_EXPECT_CONTINUE"><!-- --></A><H3>
 
659
USE_EXPECT_CONTINUE</H3>
 
660
<PRE>
 
661
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>USE_EXPECT_CONTINUE</B></PRE>
 
662
<DL>
 
663
<DD><p>
 
664
 Activates 'Expect: 100-Continue' handshake for the 
 
665
 <A HREF="../../../../../org/apache/commons/httpclient/methods/ExpectContinueMethod.html" title="class in org.apache.commons.httpclient.methods"><CODE>entity enclosing methods</CODE></A>. The purpose of the 'Expect: 100-Continue'
 
666
 handshake to allow a client that is sending a request message with 
 
667
 a request body to determine if the origin server is willing to 
 
668
 accept the request (based on the request headers) before the client
 
669
 sends the request body.
 
670
 </p>
 
671
 
 
672
 <p>
 
673
 The use of the 'Expect: 100-continue' handshake can result in 
 
674
 noticable peformance improvement for entity enclosing requests
 
675
 (such as POST and PUT) that require the target server's 
 
676
 authentication.
 
677
 </p>
 
678
 
 
679
 <p>
 
680
 'Expect: 100-continue' handshake should be used with 
 
681
 caution, as it may cause problems with HTTP servers and 
 
682
 proxies that do not support HTTP/1.1 protocol.
 
683
 </p>
 
684
 
 
685
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Boolean.html" title="class or interface in java.lang"><CODE>Boolean</CODE></A>.
 
686
<P>
 
687
<DL>
 
688
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.USE_EXPECT_CONTINUE">Constant Field Values</A></DL>
 
689
</DL>
 
690
<HR>
 
691
 
 
692
<A NAME="CREDENTIAL_CHARSET"><!-- --></A><H3>
 
693
CREDENTIAL_CHARSET</H3>
 
694
<PRE>
 
695
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>CREDENTIAL_CHARSET</B></PRE>
 
696
<DL>
 
697
<DD>Defines the charset to be used when encoding 
 
698
 <A HREF="../../../../../org/apache/commons/httpclient/Credentials.html" title="interface in org.apache.commons.httpclient"><CODE>Credentials</CODE></A>. If not defined then the 
 
699
 <A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#HTTP_ELEMENT_CHARSET"><CODE>HTTP_ELEMENT_CHARSET</CODE></A> should be used.
 
700
 <p>
 
701
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A>.
 
702
 </p>
 
703
<P>
 
704
<DL>
 
705
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.CREDENTIAL_CHARSET">Constant Field Values</A></DL>
 
706
</DL>
 
707
<HR>
 
708
 
 
709
<A NAME="HTTP_ELEMENT_CHARSET"><!-- --></A><H3>
 
710
HTTP_ELEMENT_CHARSET</H3>
 
711
<PRE>
 
712
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>HTTP_ELEMENT_CHARSET</B></PRE>
 
713
<DL>
 
714
<DD>Defines the charset to be used for encoding HTTP protocol elements.
 
715
 <p>
 
716
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A>.
 
717
 </p>
 
718
<P>
 
719
<DL>
 
720
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.HTTP_ELEMENT_CHARSET">Constant Field Values</A></DL>
 
721
</DL>
 
722
<HR>
 
723
 
 
724
<A NAME="HTTP_URI_CHARSET"><!-- --></A><H3>
 
725
HTTP_URI_CHARSET</H3>
 
726
<PRE>
 
727
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>HTTP_URI_CHARSET</B></PRE>
 
728
<DL>
 
729
<DD>Defines the charset to be used for parsing URIs.
 
730
 <p>
 
731
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A>.
 
732
 </p>
 
733
<P>
 
734
<DL>
 
735
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.HTTP_URI_CHARSET">Constant Field Values</A></DL>
 
736
</DL>
 
737
<HR>
 
738
 
 
739
<A NAME="HTTP_CONTENT_CHARSET"><!-- --></A><H3>
 
740
HTTP_CONTENT_CHARSET</H3>
 
741
<PRE>
 
742
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>HTTP_CONTENT_CHARSET</B></PRE>
 
743
<DL>
 
744
<DD>Defines the charset to be used for encoding content body.
 
745
 <p>
 
746
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A>.
 
747
 </p>
 
748
<P>
 
749
<DL>
 
750
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.HTTP_CONTENT_CHARSET">Constant Field Values</A></DL>
 
751
</DL>
 
752
<HR>
 
753
 
 
754
<A NAME="COOKIE_POLICY"><!-- --></A><H3>
 
755
COOKIE_POLICY</H3>
 
756
<PRE>
 
757
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>COOKIE_POLICY</B></PRE>
 
758
<DL>
 
759
<DD>Defines <A HREF="../../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html" title="class in org.apache.commons.httpclient.cookie"><CODE>cookie policy</CODE></A> to be used for cookie management.
 
760
 <p>
 
761
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A>.
 
762
 </p>
 
763
<P>
 
764
<DL>
 
765
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.COOKIE_POLICY">Constant Field Values</A></DL>
 
766
</DL>
 
767
<HR>
 
768
 
 
769
<A NAME="WARN_EXTRA_INPUT"><!-- --></A><H3>
 
770
WARN_EXTRA_INPUT</H3>
 
771
<PRE>
 
772
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>WARN_EXTRA_INPUT</B></PRE>
 
773
<DL>
 
774
<DD>Defines HttpClient's behavior when a response provides more bytes than
 
775
 expected (specified with Content-Length, for example).
 
776
 <p>
 
777
 Such surplus data makes the HTTP connection unreliable for keep-alive
 
778
 requests, as malicious response data (faked headers etc.) can lead to undesired
 
779
 results on the next request using that connection.
 
780
 </p>
 
781
 <p>
 
782
 If this parameter is set to <code>true</code>, any detection of extra
 
783
 input data will generate a warning in the log.
 
784
 </p>
 
785
 <p>
 
786
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Boolean.html" title="class or interface in java.lang"><CODE>Boolean</CODE></A>.
 
787
 </p>
 
788
<P>
 
789
<DL>
 
790
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.WARN_EXTRA_INPUT">Constant Field Values</A></DL>
 
791
</DL>
 
792
<HR>
 
793
 
 
794
<A NAME="STATUS_LINE_GARBAGE_LIMIT"><!-- --></A><H3>
 
795
STATUS_LINE_GARBAGE_LIMIT</H3>
 
796
<PRE>
 
797
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>STATUS_LINE_GARBAGE_LIMIT</B></PRE>
 
798
<DL>
 
799
<DD>Defines the maximum number of ignorable lines before we expect
 
800
 a HTTP response's status code.
 
801
 <p>
 
802
 With HTTP/1.1 persistent connections, the problem arises that
 
803
 broken scripts could return a wrong Content-Length
 
804
 (there are more bytes sent than specified).<br />
 
805
 Unfortunately, in some cases, this is not possible after the bad response,
 
806
 but only before the next one. <br />
 
807
 So, HttpClient must be able to skip those surplus lines this way.
 
808
 </p>
 
809
 <p>
 
810
 Set this to 0 to disallow any garbage/empty lines before the status line.<br />
 
811
 To specify no limit, use <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html#MAX_VALUE" title="class or interface in java.lang"><CODE>Integer.MAX_VALUE</CODE></A> (default in lenient mode).
 
812
 </p>
 
813
  
 
814
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang"><CODE>Integer</CODE></A>.
 
815
<P>
 
816
<DL>
 
817
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.STATUS_LINE_GARBAGE_LIMIT">Constant Field Values</A></DL>
 
818
</DL>
 
819
<HR>
 
820
 
 
821
<A NAME="SO_TIMEOUT"><!-- --></A><H3>
 
822
SO_TIMEOUT</H3>
 
823
<PRE>
 
824
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>SO_TIMEOUT</B></PRE>
 
825
<DL>
 
826
<DD>Sets the socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds to be used when executing the method. 
 
827
 A timeout value of zero is interpreted as an infinite timeout.
 
828
 <p>
 
829
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang"><CODE>Integer</CODE></A>.
 
830
 </p>
 
831
<P>
 
832
<DL>
 
833
<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/net/SocketOptions.html#SO_TIMEOUT" title="class or interface in java.net"><CODE>SocketOptions.SO_TIMEOUT</CODE></A>, 
 
834
<A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.SO_TIMEOUT">Constant Field Values</A></DL>
 
835
</DL>
 
836
<HR>
 
837
 
 
838
<A NAME="DATE_PATTERNS"><!-- --></A><H3>
 
839
DATE_PATTERNS</H3>
 
840
<PRE>
 
841
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>DATE_PATTERNS</B></PRE>
 
842
<DL>
 
843
<DD>The key used to look up the date patterns used for parsing. The String patterns are stored
 
844
 in a <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html" title="class or interface in java.util"><CODE>Collection</CODE></A> and must be compatible with 
 
845
 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html" title="class or interface in java.text"><CODE>SimpleDateFormat</CODE></A>.
 
846
 <p>
 
847
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html" title="class or interface in java.util"><CODE>Collection</CODE></A>.
 
848
 </p>
 
849
<P>
 
850
<DL>
 
851
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.DATE_PATTERNS">Constant Field Values</A></DL>
 
852
</DL>
 
853
<HR>
 
854
 
 
855
<A NAME="RETRY_HANDLER"><!-- --></A><H3>
 
856
RETRY_HANDLER</H3>
 
857
<PRE>
 
858
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>RETRY_HANDLER</B></PRE>
 
859
<DL>
 
860
<DD>Sets the method retry handler parameter.
 
861
 <p>
 
862
 This parameter expects a value of type <A HREF="../../../../../org/apache/commons/httpclient/HttpMethodRetryHandler.html" title="interface in org.apache.commons.httpclient"><CODE>HttpMethodRetryHandler</CODE></A>.
 
863
 </p>
 
864
<P>
 
865
<DL>
 
866
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.RETRY_HANDLER">Constant Field Values</A></DL>
 
867
</DL>
 
868
<HR>
 
869
 
 
870
<A NAME="BUFFER_WARN_TRIGGER_LIMIT"><!-- --></A><H3>
 
871
BUFFER_WARN_TRIGGER_LIMIT</H3>
 
872
<PRE>
 
873
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>BUFFER_WARN_TRIGGER_LIMIT</B></PRE>
 
874
<DL>
 
875
<DD>Sets the maximum buffered response size (in bytes) that triggers no warning. Buffered
 
876
 responses exceeding this size will trigger a warning in the log.
 
877
 <p>
 
878
 This parameter expects a value if type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang"><CODE>Integer</CODE></A>.
 
879
 </p>
 
880
<P>
 
881
<DL>
 
882
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.BUFFER_WARN_TRIGGER_LIMIT">Constant Field Values</A></DL>
 
883
</DL>
 
884
<HR>
 
885
 
 
886
<A NAME="VIRTUAL_HOST"><!-- --></A><H3>
 
887
VIRTUAL_HOST</H3>
 
888
<PRE>
 
889
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>VIRTUAL_HOST</B></PRE>
 
890
<DL>
 
891
<DD>Defines the virtual host name.
 
892
 <p>
 
893
 This parameter expects a value of type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A>. 
 
894
 </p>
 
895
<P>
 
896
<DL>
 
897
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.VIRTUAL_HOST">Constant Field Values</A></DL>
 
898
</DL>
 
899
<HR>
 
900
 
 
901
<A NAME="MULTIPART_BOUNDARY"><!-- --></A><H3>
 
902
MULTIPART_BOUNDARY</H3>
 
903
<PRE>
 
904
public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>MULTIPART_BOUNDARY</B></PRE>
 
905
<DL>
 
906
<DD>Sets the value to use as the multipart boundary.
 
907
 <p>
 
908
 This parameter expects a value if type <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang"><CODE>String</CODE></A>.
 
909
 </p>
 
910
<P>
 
911
<DL>
 
912
<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/commons/httpclient/methods/multipart/MultipartRequestEntity.html" title="class in org.apache.commons.httpclient.methods.multipart"><CODE>MultipartRequestEntity</CODE></A>, 
 
913
<A HREF="../../../../../constant-values.html#org.apache.commons.httpclient.params.HttpMethodParams.MULTIPART_BOUNDARY">Constant Field Values</A></DL>
 
914
</DL>
 
915
 
 
916
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
917
 
 
918
<A NAME="constructor_detail"><!-- --></A>
 
919
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
920
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
921
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 
922
<B>Constructor Detail</B></FONT></TH>
 
923
</TR>
 
924
</TABLE>
 
925
 
 
926
<A NAME="HttpMethodParams()"><!-- --></A><H3>
 
927
HttpMethodParams</H3>
 
928
<PRE>
 
929
public <B>HttpMethodParams</B>()</PRE>
 
930
<DL>
 
931
<DD>Creates a new collection of parameters with the collection returned
 
932
 by <A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getDefaultParams()"><CODE>DefaultHttpParams.getDefaultParams()</CODE></A> as a parent. The collection will defer
 
933
 to its parent for a default value if a particular parameter is not 
 
934
 explicitly set in the collection itself.
 
935
<P>
 
936
<DL>
 
937
<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getDefaultParams()"><CODE>DefaultHttpParams.getDefaultParams()</CODE></A></DL>
 
938
</DL>
 
939
<HR>
 
940
 
 
941
<A NAME="HttpMethodParams(org.apache.commons.httpclient.params.HttpParams)"><!-- --></A><H3>
 
942
HttpMethodParams</H3>
 
943
<PRE>
 
944
public <B>HttpMethodParams</B>(<A HREF="../../../../../org/apache/commons/httpclient/params/HttpParams.html" title="interface in org.apache.commons.httpclient.params">HttpParams</A>&nbsp;defaults)</PRE>
 
945
<DL>
 
946
<DD>Creates a new collection of parameters with the given parent. 
 
947
 The collection will defer to its parent for a default value 
 
948
 if a particular parameter is not explicitly set in the collection
 
949
 itself.
 
950
<P>
 
951
<DL>
 
952
<DT><B>Parameters:</B><DD><CODE>defaults</CODE> - the parent collection to defer to, if a parameter
 
953
 is not explictly set in the collection itself.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getDefaultParams()"><CODE>DefaultHttpParams.getDefaultParams()</CODE></A></DL>
 
954
</DL>
 
955
 
 
956
<!-- ============ METHOD DETAIL ========== -->
 
957
 
 
958
<A NAME="method_detail"><!-- --></A>
 
959
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
960
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
961
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 
962
<B>Method Detail</B></FONT></TH>
 
963
</TR>
 
964
</TABLE>
 
965
 
 
966
<A NAME="getHttpElementCharset()"><!-- --></A><H3>
 
967
getHttpElementCharset</H3>
 
968
<PRE>
 
969
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getHttpElementCharset</B>()</PRE>
 
970
<DL>
 
971
<DD>Returns the charset to be used for writing HTTP headers.
 
972
<P>
 
973
<DD><DL>
 
974
 
 
975
<DT><B>Returns:</B><DD>The charset</DL>
 
976
</DD>
 
977
</DL>
 
978
<HR>
 
979
 
 
980
<A NAME="setHttpElementCharset(java.lang.String)"><!-- --></A><H3>
 
981
setHttpElementCharset</H3>
 
982
<PRE>
 
983
public void <B>setHttpElementCharset</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;charset)</PRE>
 
984
<DL>
 
985
<DD>Sets the charset to be used for writing HTTP headers.
 
986
<P>
 
987
<DD><DL>
 
988
<DT><B>Parameters:</B><DD><CODE>charset</CODE> - The charset</DL>
 
989
</DD>
 
990
</DL>
 
991
<HR>
 
992
 
 
993
<A NAME="getContentCharset()"><!-- --></A><H3>
 
994
getContentCharset</H3>
 
995
<PRE>
 
996
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getContentCharset</B>()</PRE>
 
997
<DL>
 
998
<DD>Returns the default charset to be used for writing content body, 
 
999
 when no charset explicitly specified.
 
1000
<P>
 
1001
<DD><DL>
 
1002
 
 
1003
<DT><B>Returns:</B><DD>The charset</DL>
 
1004
</DD>
 
1005
</DL>
 
1006
<HR>
 
1007
 
 
1008
<A NAME="setUriCharset(java.lang.String)"><!-- --></A><H3>
 
1009
setUriCharset</H3>
 
1010
<PRE>
 
1011
public void <B>setUriCharset</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;charset)</PRE>
 
1012
<DL>
 
1013
<DD>Sets the charset to be used for parsing URIs.
 
1014
<P>
 
1015
<DD><DL>
 
1016
<DT><B>Parameters:</B><DD><CODE>charset</CODE> - The charset</DL>
 
1017
</DD>
 
1018
</DL>
 
1019
<HR>
 
1020
 
 
1021
<A NAME="getUriCharset()"><!-- --></A><H3>
 
1022
getUriCharset</H3>
 
1023
<PRE>
 
1024
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getUriCharset</B>()</PRE>
 
1025
<DL>
 
1026
<DD>Returns the charset to be used for parsing URIs.
 
1027
<P>
 
1028
<DD><DL>
 
1029
 
 
1030
<DT><B>Returns:</B><DD>The charset</DL>
 
1031
</DD>
 
1032
</DL>
 
1033
<HR>
 
1034
 
 
1035
<A NAME="setContentCharset(java.lang.String)"><!-- --></A><H3>
 
1036
setContentCharset</H3>
 
1037
<PRE>
 
1038
public void <B>setContentCharset</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;charset)</PRE>
 
1039
<DL>
 
1040
<DD>Sets the default charset to be used for writing content body,
 
1041
 when no charset explicitly specified.
 
1042
<P>
 
1043
<DD><DL>
 
1044
<DT><B>Parameters:</B><DD><CODE>charset</CODE> - The charset</DL>
 
1045
</DD>
 
1046
</DL>
 
1047
<HR>
 
1048
 
 
1049
<A NAME="getCredentialCharset()"><!-- --></A><H3>
 
1050
getCredentialCharset</H3>
 
1051
<PRE>
 
1052
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getCredentialCharset</B>()</PRE>
 
1053
<DL>
 
1054
<DD>Returns the charset to be used for <A HREF="../../../../../org/apache/commons/httpclient/Credentials.html" title="interface in org.apache.commons.httpclient"><CODE>Credentials</CODE></A>. If
 
1055
 not configured the <A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#HTTP_ELEMENT_CHARSET"><CODE>HTTP element charset</CODE></A> is used.
 
1056
<P>
 
1057
<DD><DL>
 
1058
 
 
1059
<DT><B>Returns:</B><DD>The charset</DL>
 
1060
</DD>
 
1061
</DL>
 
1062
<HR>
 
1063
 
 
1064
<A NAME="setCredentialCharset(java.lang.String)"><!-- --></A><H3>
 
1065
setCredentialCharset</H3>
 
1066
<PRE>
 
1067
public void <B>setCredentialCharset</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;charset)</PRE>
 
1068
<DL>
 
1069
<DD>Sets the charset to be used for writing HTTP headers.
 
1070
<P>
 
1071
<DD><DL>
 
1072
<DT><B>Parameters:</B><DD><CODE>charset</CODE> - The charset</DL>
 
1073
</DD>
 
1074
</DL>
 
1075
<HR>
 
1076
 
 
1077
<A NAME="getVersion()"><!-- --></A><H3>
 
1078
getVersion</H3>
 
1079
<PRE>
 
1080
public <A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient">HttpVersion</A> <B>getVersion</B>()</PRE>
 
1081
<DL>
 
1082
<DD>Returns <A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient"><CODE>HTTP protocol version</CODE></A> to be used by the 
 
1083
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> that 
 
1084
 this collection of parameters applies to.
 
1085
<P>
 
1086
<DD><DL>
 
1087
 
 
1088
<DT><B>Returns:</B><DD><A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient"><CODE>HTTP protocol version</CODE></A></DL>
 
1089
</DD>
 
1090
</DL>
 
1091
<HR>
 
1092
 
 
1093
<A NAME="setVersion(org.apache.commons.httpclient.HttpVersion)"><!-- --></A><H3>
 
1094
setVersion</H3>
 
1095
<PRE>
 
1096
public void <B>setVersion</B>(<A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient">HttpVersion</A>&nbsp;version)</PRE>
 
1097
<DL>
 
1098
<DD>Assigns the <A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient"><CODE>HTTP protocol version</CODE></A> to be used by the 
 
1099
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> that 
 
1100
 this collection of parameters applies to.
 
1101
<P>
 
1102
<DD><DL>
 
1103
<DT><B>Parameters:</B><DD><CODE>version</CODE> - the <A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient"><CODE>HTTP protocol version</CODE></A></DL>
 
1104
</DD>
 
1105
</DL>
 
1106
<HR>
 
1107
 
 
1108
<A NAME="getCookiePolicy()"><!-- --></A><H3>
 
1109
getCookiePolicy</H3>
 
1110
<PRE>
 
1111
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getCookiePolicy</B>()</PRE>
 
1112
<DL>
 
1113
<DD>Returns <A HREF="../../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html" title="class in org.apache.commons.httpclient.cookie"><CODE>cookie policy</CODE></A> to be used by the 
 
1114
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> 
 
1115
 this collection of parameters applies to.
 
1116
<P>
 
1117
<DD><DL>
 
1118
 
 
1119
<DT><B>Returns:</B><DD><A HREF="../../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html" title="class in org.apache.commons.httpclient.cookie"><CODE>cookie policy</CODE></A></DL>
 
1120
</DD>
 
1121
</DL>
 
1122
<HR>
 
1123
 
 
1124
<A NAME="setCookiePolicy(java.lang.String)"><!-- --></A><H3>
 
1125
setCookiePolicy</H3>
 
1126
<PRE>
 
1127
public void <B>setCookiePolicy</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;policy)</PRE>
 
1128
<DL>
 
1129
<DD>Assigns the <A HREF="../../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html" title="class in org.apache.commons.httpclient.cookie"><CODE>cookie policy</CODE></A> to be used by the 
 
1130
 <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> 
 
1131
 this collection of parameters applies to.
 
1132
<P>
 
1133
<DD><DL>
 
1134
<DT><B>Parameters:</B><DD><CODE>policy</CODE> - the <A HREF="../../../../../org/apache/commons/httpclient/cookie/CookiePolicy.html" title="class in org.apache.commons.httpclient.cookie"><CODE>cookie policy</CODE></A></DL>
 
1135
</DD>
 
1136
</DL>
 
1137
<HR>
 
1138
 
 
1139
<A NAME="getSoTimeout()"><!-- --></A><H3>
 
1140
getSoTimeout</H3>
 
1141
<PRE>
 
1142
public int <B>getSoTimeout</B>()</PRE>
 
1143
<DL>
 
1144
<DD>Returns the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the 
 
1145
 timeout for waiting for data. A timeout value of zero is interpreted as an infinite 
 
1146
 timeout.
 
1147
<P>
 
1148
<DD><DL>
 
1149
 
 
1150
<DT><B>Returns:</B><DD>timeout in milliseconds</DL>
 
1151
</DD>
 
1152
</DL>
 
1153
<HR>
 
1154
 
 
1155
<A NAME="setSoTimeout(int)"><!-- --></A><H3>
 
1156
setSoTimeout</H3>
 
1157
<PRE>
 
1158
public void <B>setSoTimeout</B>(int&nbsp;timeout)</PRE>
 
1159
<DL>
 
1160
<DD>Sets the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the 
 
1161
 timeout for waiting for data. A timeout value of zero is interpreted as an infinite 
 
1162
 timeout.
 
1163
<P>
 
1164
<DD><DL>
 
1165
<DT><B>Parameters:</B><DD><CODE>timeout</CODE> - Timeout in milliseconds</DL>
 
1166
</DD>
 
1167
</DL>
 
1168
<HR>
 
1169
 
 
1170
<A NAME="setVirtualHost(java.lang.String)"><!-- --></A><H3>
 
1171
setVirtualHost</H3>
 
1172
<PRE>
 
1173
public void <B>setVirtualHost</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;hostname)</PRE>
 
1174
<DL>
 
1175
<DD>Sets the virtual host name.
 
1176
<P>
 
1177
<DD><DL>
 
1178
<DT><B>Parameters:</B><DD><CODE>hostname</CODE> - The host name</DL>
 
1179
</DD>
 
1180
</DL>
 
1181
<HR>
 
1182
 
 
1183
<A NAME="getVirtualHost()"><!-- --></A><H3>
 
1184
getVirtualHost</H3>
 
1185
<PRE>
 
1186
public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getVirtualHost</B>()</PRE>
 
1187
<DL>
 
1188
<DD>Returns the virtual host name.
 
1189
<P>
 
1190
<DD><DL>
 
1191
 
 
1192
<DT><B>Returns:</B><DD>The virtual host name</DL>
 
1193
</DD>
 
1194
</DL>
 
1195
<HR>
 
1196
 
 
1197
<A NAME="makeStrict()"><!-- --></A><H3>
 
1198
makeStrict</H3>
 
1199
<PRE>
 
1200
public void <B>makeStrict</B>()</PRE>
 
1201
<DL>
 
1202
<DD>Makes the <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A> 
 
1203
 strictly follow the HTTP protocol specification (RFC 2616 and other relevant RFCs).
 
1204
 It must be noted that popular HTTP agents have different degree of HTTP protocol 
 
1205
 compliance and some HTTP serves are programmed to expect the behaviour that does not 
 
1206
 strictly adhere to the HTTP specification.
 
1207
<P>
 
1208
<DD><DL>
 
1209
</DL>
 
1210
</DD>
 
1211
</DL>
 
1212
<HR>
 
1213
 
 
1214
<A NAME="makeLenient()"><!-- --></A><H3>
 
1215
makeLenient</H3>
 
1216
<PRE>
 
1217
public void <B>makeLenient</B>()</PRE>
 
1218
<DL>
 
1219
<DD>Makes the <A HREF="../../../../../org/apache/commons/httpclient/HttpMethod.html" title="interface in org.apache.commons.httpclient"><CODE>HTTP methods</CODE></A>
 
1220
 attempt to mimic the exact behaviour of commonly used HTTP agents, 
 
1221
 which many HTTP servers expect, even though such behaviour may violate   
 
1222
 the HTTP protocol specification (RFC 2616 and other relevant RFCs).
 
1223
<P>
 
1224
<DD><DL>
 
1225
</DL>
 
1226
</DD>
 
1227
</DL>
 
1228
<!-- ========= END OF CLASS DATA ========= -->
 
1229
<HR>
 
1230
 
 
1231
 
 
1232
<!-- ======= START OF BOTTOM NAVBAR ====== -->
 
1233
<A NAME="navbar_bottom"><!-- --></A>
 
1234
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
 
1235
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
1236
<TR>
 
1237
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
1238
<A NAME="navbar_bottom_firstrow"><!-- --></A>
 
1239
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
1240
  <TR ALIGN="center" VALIGN="top">
 
1241
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
1242
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
1243
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
1244
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/HttpMethodParams.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 
1245
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
1246
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
1247
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
1248
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
1249
  </TR>
 
1250
</TABLE>
 
1251
</TD>
 
1252
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
1253
</EM>
 
1254
</TD>
 
1255
</TR>
 
1256
 
 
1257
<TR>
 
1258
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
1259
&nbsp;<A HREF="../../../../../org/apache/commons/httpclient/params/HttpConnectionParams.html" title="class in org.apache.commons.httpclient.params"><B>PREV CLASS</B></A>&nbsp;
 
1260
&nbsp;<A HREF="../../../../../org/apache/commons/httpclient/params/HttpParams.html" title="interface in org.apache.commons.httpclient.params"><B>NEXT CLASS</B></A></FONT></TD>
 
1261
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
1262
  <A HREF="../../../../../index.html?org/apache/commons/httpclient/params/HttpMethodParams.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
1263
&nbsp;<A HREF="HttpMethodParams.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
1264
&nbsp;<SCRIPT type="text/javascript">
 
1265
  <!--
 
1266
  if(window==top) {
 
1267
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 
1268
  }
 
1269
  //-->
 
1270
</SCRIPT>
 
1271
<NOSCRIPT>
 
1272
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 
1273
</NOSCRIPT>
 
1274
 
 
1275
 
 
1276
</FONT></TD>
 
1277
</TR>
 
1278
<TR>
 
1279
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
1280
  SUMMARY:&nbsp;NESTED&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>
 
1281
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
1282
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>
 
1283
</TR>
 
1284
</TABLE>
 
1285
<A NAME="skip-navbar_bottom"></A>
 
1286
<!-- ======== END OF BOTTOM NAVBAR ======= -->
 
1287
 
 
1288
<HR>
 
1289
Copyright &copy; 2001-2007 Apache Software Foundation. All Rights Reserved.
 
1290
</BODY>
 
1291
</HTML>