1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
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">
8
HttpMethodParams (HttpClient 3.1 API)
11
<META NAME="keywords" CONTENT="org.apache.commons.httpclient.params.HttpMethodParams class">
13
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
15
<SCRIPT type="text/javascript">
16
function windowTitle()
18
parent.document.title="HttpMethodParams (HttpClient 3.1 API)";
26
<BODY BGCOLOR="white" onload="windowTitle();">
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="">
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> </TD>
39
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
40
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
41
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/HttpMethodParams.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
42
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
43
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
44
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
45
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
49
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
55
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
<A HREF="../../../../../org/apache/commons/httpclient/params/HttpConnectionParams.html" title="class in org.apache.commons.httpclient.params"><B>PREV CLASS</B></A>
57
<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>
60
<A HREF="HttpMethodParams.html" target="_top"><B>NO FRAMES</B></A>
61
<SCRIPT type="text/javascript">
64
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
69
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
78
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
82
<A NAME="skip-navbar_top"></A>
83
<!-- ========= END OF TOP NAVBAR ========= -->
86
<!-- ======== START OF CLASS DATA ======== -->
89
org.apache.commons.httpclient.params</FONT>
91
Class HttpMethodParams</H2>
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>
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>
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>
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>
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.
118
<DT><B>Since:</B></DT>
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>
128
<!-- =========== FIELD SUMMARY =========== -->
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>
136
<TR BGCOLOR="white" CLASS="TableRowColor">
137
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138
<CODE>static <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>
142
Sets the maximum buffered response size (in bytes) that triggers no warning.</TD>
144
<TR BGCOLOR="white" CLASS="TableRowColor">
145
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146
<CODE>static <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>
150
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>
152
<TR BGCOLOR="white" CLASS="TableRowColor">
153
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154
<CODE>static <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>
158
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>
161
<TR BGCOLOR="white" CLASS="TableRowColor">
162
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163
<CODE>static <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>
167
The key used to look up the date patterns used for parsing.</TD>
169
<TR BGCOLOR="white" CLASS="TableRowColor">
170
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171
<CODE>static <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>
175
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>
179
<TR BGCOLOR="white" CLASS="TableRowColor">
180
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181
<CODE>static <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>
185
Defines the charset to be used for encoding content body.</TD>
187
<TR BGCOLOR="white" CLASS="TableRowColor">
188
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189
<CODE>static <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>
193
Defines the charset to be used for encoding HTTP protocol elements.</TD>
195
<TR BGCOLOR="white" CLASS="TableRowColor">
196
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197
<CODE>static <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>
201
Defines the charset to be used for parsing URIs.</TD>
203
<TR BGCOLOR="white" CLASS="TableRowColor">
204
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
205
<CODE>static <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>
209
Sets the value to use as the multipart boundary.</TD>
211
<TR BGCOLOR="white" CLASS="TableRowColor">
212
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213
<CODE>static <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>
217
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
221
<TR BGCOLOR="white" CLASS="TableRowColor">
222
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223
<CODE>static <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>
227
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>
230
<TR BGCOLOR="white" CLASS="TableRowColor">
231
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
232
<CODE>static <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>
236
Sets the method retry handler parameter.</TD>
238
<TR BGCOLOR="white" CLASS="TableRowColor">
239
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
240
<CODE>static <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>
244
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>
247
<TR BGCOLOR="white" CLASS="TableRowColor">
248
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
249
<CODE>static <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>
253
Sets the socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds to be used when executing the method.</TD>
255
<TR BGCOLOR="white" CLASS="TableRowColor">
256
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257
<CODE>static <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>
261
Defines the maximum number of ignorable lines before we expect
262
a HTTP response's status code.</TD>
264
<TR BGCOLOR="white" CLASS="TableRowColor">
265
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
266
<CODE>static <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>
270
Defines whether responses with an invalid <tt>Transfer-Encoding</tt> header should be
273
<TR BGCOLOR="white" CLASS="TableRowColor">
274
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
275
<CODE>static <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>
279
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>
282
<TR BGCOLOR="white" CLASS="TableRowColor">
283
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
284
<CODE>static <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>
288
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>
292
<TR BGCOLOR="white" CLASS="TableRowColor">
293
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294
<CODE>static <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>
298
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>
301
<TR BGCOLOR="white" CLASS="TableRowColor">
302
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
303
<CODE>static <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>
307
Defines the virtual host name.</TD>
309
<TR BGCOLOR="white" CLASS="TableRowColor">
310
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
311
<CODE>static <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>
315
Defines HttpClient's behavior when a response provides more bytes than
316
expected (specified with Content-Length, for example).</TD>
320
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
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>
328
<TR BGCOLOR="white" CLASS="TableRowColor">
329
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#HttpMethodParams()">HttpMethodParams</A></B>()</CODE>
332
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>
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> defaults)</CODE>
339
Creates a new collection of parameters with the given parent.</TD>
343
<!-- ========== METHOD SUMMARY =========== -->
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>
351
<TR BGCOLOR="white" CLASS="TableRowColor">
352
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
353
<CODE> <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>
357
Returns the default charset to be used for writing content body,
358
when no charset explicitly specified.</TD>
360
<TR BGCOLOR="white" CLASS="TableRowColor">
361
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
362
<CODE> <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>
366
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>
370
<TR BGCOLOR="white" CLASS="TableRowColor">
371
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
372
<CODE> <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>
376
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>
378
<TR BGCOLOR="white" CLASS="TableRowColor">
379
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
380
<CODE> <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>
384
Returns the charset to be used for writing HTTP headers.</TD>
386
<TR BGCOLOR="white" CLASS="TableRowColor">
387
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
388
<CODE> int</CODE></FONT></TD>
389
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#getSoTimeout()">getSoTimeout</A></B>()</CODE>
392
Returns the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the
393
timeout for waiting for data.</TD>
395
<TR BGCOLOR="white" CLASS="TableRowColor">
396
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
397
<CODE> <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>
401
Returns the charset to be used for parsing URIs.</TD>
403
<TR BGCOLOR="white" CLASS="TableRowColor">
404
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
405
<CODE> <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>
409
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>
413
<TR BGCOLOR="white" CLASS="TableRowColor">
414
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
415
<CODE> <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>
419
Returns the virtual host name.</TD>
421
<TR BGCOLOR="white" CLASS="TableRowColor">
422
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
423
<CODE> void</CODE></FONT></TD>
424
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#makeLenient()">makeLenient</A></B>()</CODE>
427
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>
432
<TR BGCOLOR="white" CLASS="TableRowColor">
433
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
434
<CODE> void</CODE></FONT></TD>
435
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#makeStrict()">makeStrict</A></B>()</CODE>
438
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>
441
<TR BGCOLOR="white" CLASS="TableRowColor">
442
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
443
<CODE> 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> charset)</CODE>
447
Sets the default charset to be used for writing content body,
448
when no charset explicitly specified.</TD>
450
<TR BGCOLOR="white" CLASS="TableRowColor">
451
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
452
<CODE> 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> policy)</CODE>
456
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>
460
<TR BGCOLOR="white" CLASS="TableRowColor">
461
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
462
<CODE> 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> charset)</CODE>
466
Sets the charset to be used for writing HTTP headers.</TD>
468
<TR BGCOLOR="white" CLASS="TableRowColor">
469
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
470
<CODE> 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> charset)</CODE>
474
Sets the charset to be used for writing HTTP headers.</TD>
476
<TR BGCOLOR="white" CLASS="TableRowColor">
477
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
478
<CODE> void</CODE></FONT></TD>
479
<TD><CODE><B><A HREF="../../../../../org/apache/commons/httpclient/params/HttpMethodParams.html#setSoTimeout(int)">setSoTimeout</A></B>(int timeout)</CODE>
482
Sets the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the
483
timeout for waiting for data.</TD>
485
<TR BGCOLOR="white" CLASS="TableRowColor">
486
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
487
<CODE> 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> charset)</CODE>
491
Sets the charset to be used for parsing URIs.</TD>
493
<TR BGCOLOR="white" CLASS="TableRowColor">
494
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
495
<CODE> 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> version)</CODE>
499
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>
503
<TR BGCOLOR="white" CLASS="TableRowColor">
504
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
505
<CODE> 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> hostname)</CODE>
509
Sets the virtual host name.</TD>
512
<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>
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>
521
<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>
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>
533
<!-- ============ FIELD DETAIL =========== -->
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>
543
<A NAME="USER_AGENT"><!-- --></A><H3>
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>
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>.
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>.
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>
559
<A NAME="PROTOCOL_VERSION"><!-- --></A><H3>
560
PROTOCOL_VERSION</H3>
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>
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
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>.
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>
576
<A NAME="UNAMBIGUOUS_STATUS_LINE"><!-- --></A><H3>
577
UNAMBIGUOUS_STATUS_LINE</H3>
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>
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>.
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>.
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>
592
<A NAME="SINGLE_COOKIE_HEADER"><!-- --></A><H3>
593
SINGLE_COOKIE_HEADER</H3>
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>
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>.
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>.
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>
608
<A NAME="STRICT_TRANSFER_ENCODING"><!-- --></A><H3>
609
STRICT_TRANSFER_ENCODING</H3>
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>
613
<DD>Defines whether responses with an invalid <tt>Transfer-Encoding</tt> header should be
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>.
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>
624
<A NAME="REJECT_HEAD_BODY"><!-- --></A><H3>
625
REJECT_HEAD_BODY</H3>
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>
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.
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>.
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>
640
<A NAME="HEAD_BODY_CHECK_TIMEOUT"><!-- --></A><H3>
641
HEAD_BODY_CHECK_TIMEOUT</H3>
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>
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.
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>.
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>
658
<A NAME="USE_EXPECT_CONTINUE"><!-- --></A><H3>
659
USE_EXPECT_CONTINUE</H3>
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>
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.
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
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.
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>.
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>
692
<A NAME="CREDENTIAL_CHARSET"><!-- --></A><H3>
693
CREDENTIAL_CHARSET</H3>
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>
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.
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>.
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>
709
<A NAME="HTTP_ELEMENT_CHARSET"><!-- --></A><H3>
710
HTTP_ELEMENT_CHARSET</H3>
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>
714
<DD>Defines the charset to be used for encoding HTTP protocol elements.
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>.
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>
724
<A NAME="HTTP_URI_CHARSET"><!-- --></A><H3>
725
HTTP_URI_CHARSET</H3>
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>
729
<DD>Defines the charset to be used for parsing URIs.
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>.
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>
739
<A NAME="HTTP_CONTENT_CHARSET"><!-- --></A><H3>
740
HTTP_CONTENT_CHARSET</H3>
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>
744
<DD>Defines the charset to be used for encoding content body.
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>.
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>
754
<A NAME="COOKIE_POLICY"><!-- --></A><H3>
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>
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.
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>.
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>
769
<A NAME="WARN_EXTRA_INPUT"><!-- --></A><H3>
770
WARN_EXTRA_INPUT</H3>
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>
774
<DD>Defines HttpClient's behavior when a response provides more bytes than
775
expected (specified with Content-Length, for example).
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.
782
If this parameter is set to <code>true</code>, any detection of extra
783
input data will generate a warning in the log.
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>.
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>
794
<A NAME="STATUS_LINE_GARBAGE_LIMIT"><!-- --></A><H3>
795
STATUS_LINE_GARBAGE_LIMIT</H3>
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>
799
<DD>Defines the maximum number of ignorable lines before we expect
800
a HTTP response's status code.
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.
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).
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>.
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>
821
<A NAME="SO_TIMEOUT"><!-- --></A><H3>
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>
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.
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>.
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>
838
<A NAME="DATE_PATTERNS"><!-- --></A><H3>
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>
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>.
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>.
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>
855
<A NAME="RETRY_HANDLER"><!-- --></A><H3>
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>
860
<DD>Sets the method retry handler parameter.
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>.
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>
870
<A NAME="BUFFER_WARN_TRIGGER_LIMIT"><!-- --></A><H3>
871
BUFFER_WARN_TRIGGER_LIMIT</H3>
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>
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.
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>.
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>
886
<A NAME="VIRTUAL_HOST"><!-- --></A><H3>
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>
891
<DD>Defines the virtual host name.
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>.
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>
901
<A NAME="MULTIPART_BOUNDARY"><!-- --></A><H3>
902
MULTIPART_BOUNDARY</H3>
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>
906
<DD>Sets the value to use as the multipart boundary.
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>.
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>
916
<!-- ========= CONSTRUCTOR DETAIL ======== -->
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>
926
<A NAME="HttpMethodParams()"><!-- --></A><H3>
927
HttpMethodParams</H3>
929
public <B>HttpMethodParams</B>()</PRE>
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.
937
<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/commons/httpclient/params/DefaultHttpParams.html#getDefaultParams()"><CODE>DefaultHttpParams.getDefaultParams()</CODE></A></DL>
941
<A NAME="HttpMethodParams(org.apache.commons.httpclient.params.HttpParams)"><!-- --></A><H3>
942
HttpMethodParams</H3>
944
public <B>HttpMethodParams</B>(<A HREF="../../../../../org/apache/commons/httpclient/params/HttpParams.html" title="interface in org.apache.commons.httpclient.params">HttpParams</A> defaults)</PRE>
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
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>
956
<!-- ============ METHOD DETAIL ========== -->
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>
966
<A NAME="getHttpElementCharset()"><!-- --></A><H3>
967
getHttpElementCharset</H3>
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>
971
<DD>Returns the charset to be used for writing HTTP headers.
975
<DT><B>Returns:</B><DD>The charset</DL>
980
<A NAME="setHttpElementCharset(java.lang.String)"><!-- --></A><H3>
981
setHttpElementCharset</H3>
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> charset)</PRE>
985
<DD>Sets the charset to be used for writing HTTP headers.
988
<DT><B>Parameters:</B><DD><CODE>charset</CODE> - The charset</DL>
993
<A NAME="getContentCharset()"><!-- --></A><H3>
994
getContentCharset</H3>
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>
998
<DD>Returns the default charset to be used for writing content body,
999
when no charset explicitly specified.
1003
<DT><B>Returns:</B><DD>The charset</DL>
1008
<A NAME="setUriCharset(java.lang.String)"><!-- --></A><H3>
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> charset)</PRE>
1013
<DD>Sets the charset to be used for parsing URIs.
1016
<DT><B>Parameters:</B><DD><CODE>charset</CODE> - The charset</DL>
1021
<A NAME="getUriCharset()"><!-- --></A><H3>
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>
1026
<DD>Returns the charset to be used for parsing URIs.
1030
<DT><B>Returns:</B><DD>The charset</DL>
1035
<A NAME="setContentCharset(java.lang.String)"><!-- --></A><H3>
1036
setContentCharset</H3>
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> charset)</PRE>
1040
<DD>Sets the default charset to be used for writing content body,
1041
when no charset explicitly specified.
1044
<DT><B>Parameters:</B><DD><CODE>charset</CODE> - The charset</DL>
1049
<A NAME="getCredentialCharset()"><!-- --></A><H3>
1050
getCredentialCharset</H3>
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>
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.
1059
<DT><B>Returns:</B><DD>The charset</DL>
1064
<A NAME="setCredentialCharset(java.lang.String)"><!-- --></A><H3>
1065
setCredentialCharset</H3>
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> charset)</PRE>
1069
<DD>Sets the charset to be used for writing HTTP headers.
1072
<DT><B>Parameters:</B><DD><CODE>charset</CODE> - The charset</DL>
1077
<A NAME="getVersion()"><!-- --></A><H3>
1080
public <A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient">HttpVersion</A> <B>getVersion</B>()</PRE>
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.
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>
1093
<A NAME="setVersion(org.apache.commons.httpclient.HttpVersion)"><!-- --></A><H3>
1096
public void <B>setVersion</B>(<A HREF="../../../../../org/apache/commons/httpclient/HttpVersion.html" title="class in org.apache.commons.httpclient">HttpVersion</A> version)</PRE>
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.
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>
1108
<A NAME="getCookiePolicy()"><!-- --></A><H3>
1109
getCookiePolicy</H3>
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>
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.
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>
1124
<A NAME="setCookiePolicy(java.lang.String)"><!-- --></A><H3>
1125
setCookiePolicy</H3>
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> policy)</PRE>
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.
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>
1139
<A NAME="getSoTimeout()"><!-- --></A><H3>
1142
public int <B>getSoTimeout</B>()</PRE>
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
1150
<DT><B>Returns:</B><DD>timeout in milliseconds</DL>
1155
<A NAME="setSoTimeout(int)"><!-- --></A><H3>
1158
public void <B>setSoTimeout</B>(int timeout)</PRE>
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
1165
<DT><B>Parameters:</B><DD><CODE>timeout</CODE> - Timeout in milliseconds</DL>
1170
<A NAME="setVirtualHost(java.lang.String)"><!-- --></A><H3>
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> hostname)</PRE>
1175
<DD>Sets the virtual host name.
1178
<DT><B>Parameters:</B><DD><CODE>hostname</CODE> - The host name</DL>
1183
<A NAME="getVirtualHost()"><!-- --></A><H3>
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>
1188
<DD>Returns the virtual host name.
1192
<DT><B>Returns:</B><DD>The virtual host name</DL>
1197
<A NAME="makeStrict()"><!-- --></A><H3>
1200
public void <B>makeStrict</B>()</PRE>
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.
1214
<A NAME="makeLenient()"><!-- --></A><H3>
1217
public void <B>makeLenient</B>()</PRE>
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).
1228
<!-- ========= END OF CLASS DATA ========= -->
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="">
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> </TD>
1242
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
1243
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
1244
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/HttpMethodParams.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
1245
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
1246
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
1247
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
1248
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
1252
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1258
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1259
<A HREF="../../../../../org/apache/commons/httpclient/params/HttpConnectionParams.html" title="class in org.apache.commons.httpclient.params"><B>PREV CLASS</B></A>
1260
<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>
1263
<A HREF="HttpMethodParams.html" target="_top"><B>NO FRAMES</B></A>
1264
<SCRIPT type="text/javascript">
1267
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
1272
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
1279
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1280
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
1281
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1282
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
1285
<A NAME="skip-navbar_bottom"></A>
1286
<!-- ======== END OF BOTTOM NAVBAR ======= -->
1289
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.