annotate libs/httpcomponents-client-4.0-beta1/javadoc/httpclient/org/apache/http/client/HttpClient.html @ 5:0be9d53a6967

editor for annotations
author dwinter
date Tue, 13 Dec 2011 17:43:46 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
2 <!--NewPage-->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
3 <HTML>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
4 <HEAD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
5 <!-- Generated by javadoc (build 1.5.0_11) on Sat Aug 23 11:49:48 GMT+01:00 2008 -->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
6 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
7 <TITLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
8 HttpClient (HttpClient 4.0-beta1 API)
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
9 </TITLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
10
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
11 <META NAME="keywords" CONTENT="org.apache.http.client.HttpClient interface">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
12
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
14
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
15 <SCRIPT type="text/javascript">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
16 function windowTitle()
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
17 {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
18 parent.document.title="HttpClient (HttpClient 4.0-beta1 API)";
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
19 }
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
20 </SCRIPT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
21 <NOSCRIPT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
22 </NOSCRIPT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
23
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
24 </HEAD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
25
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
26 <BODY BGCOLOR="white" onload="windowTitle();">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
27
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
28
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
29 <!-- ========= START OF TOP NAVBAR ======= -->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
30 <A NAME="navbar_top"><!-- --></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
31 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
32 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
33 <TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
34 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
35 <A NAME="navbar_top_firstrow"><!-- --></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
36 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
37 <TR ALIGN="center" VALIGN="top">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
40 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/HttpClient.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
46 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
47 </TABLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
48 </TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
49 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
50 </EM>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
51 </TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
52 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
53
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
54 <TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
56 &nbsp;<A HREF="../../../../org/apache/http/client/CredentialsProvider.html" title="interface in org.apache.http.client"><B>PREV CLASS</B></A>&nbsp;
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
57 &nbsp;<A HREF="../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client"><B>NEXT CLASS</B></A></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
59 <A HREF="../../../../index.html?org/apache/http/client/HttpClient.html" target="_top"><B>FRAMES</B></A> &nbsp;
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
60 &nbsp;<A HREF="HttpClient.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
61 &nbsp;<SCRIPT type="text/javascript">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
62 <!--
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
63 if(window==top) {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
64 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
65 }
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
66 //-->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
67 </SCRIPT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
68 <NOSCRIPT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
69 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
70 </NOSCRIPT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
71
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
72
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
73 </FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
74 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
75 <TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
77 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
79 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
80 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
81 </TABLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
82 <A NAME="skip-navbar_top"></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
83 <!-- ========= END OF TOP NAVBAR ========= -->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
84
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
85 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
86 <!-- ======== START OF CLASS DATA ======== -->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
87 <H2>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
88 <FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
89 org.apache.http.client</FONT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
90 <BR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
91 Interface HttpClient</H2>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
92 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
93 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/http/impl/client/AbstractHttpClient.html" title="class in org.apache.http.impl.client">AbstractHttpClient</A>, <A HREF="../../../../org/apache/http/impl/client/DefaultHttpClient.html" title="class in org.apache.http.impl.client">DefaultHttpClient</A></DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
94 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
95 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
96 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
97 <DT><PRE>public interface <B>HttpClient</B></DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
98 </PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
99
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
100 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
101 Interface for an HTTP client.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
102 HTTP clients act as a facade to a number of objects required to
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
103 execute HTTP requests while handling cookies, authentication,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
104 connection management, and other features.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
105 Thread safety of HTTP clients depends on the implementation
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
106 and configuration of the specific client.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
107 <p/>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
108 The usual execution flow can be demonstrated by the
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
109 code snippet below:
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
110 <PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
111 HttpClient httpclient = new DefaultHttpClient();
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
112
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
113 // Prepare a request object
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
114 HttpGet httpget = new HttpGet("http://www.apache.org/");
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
115
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
116 // Execute the request
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
117 HttpResponse response = httpclient.execute(httpget);
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
118
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
119 // Examine the response status
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
120 System.out.println(response.getStatusLine());
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
121
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
122 // Get hold of the response entity
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
123 HttpEntity entity = response.getEntity();
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
124
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
125 // If the response does not enclose an entity, there is no need
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
126 // to worry about connection release
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
127 if (entity != null) {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
128 InputStream instream = entity.getContent();
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
129 try {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
130
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
131 BufferedReader reader = new BufferedReader(
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
132 new InputStreamReader(instream));
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
133 // do something useful with the response
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
134 System.out.println(reader.readLine());
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
135
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
136 } catch (IOException ex) {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
137
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
138 // In case of an IOException the connection will be released
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
139 // back to the connection manager automatically
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
140 throw ex;
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
141
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
142 } catch (RuntimeException ex) {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
143
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
144 // In case of an unexpected exception you may want to abort
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
145 // the HTTP request in order to shut down the underlying
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
146 // connection and release it back to the connection manager.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
147 httpget.abort();
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
148 throw ex;
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
149
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
150 } finally {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
151
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
152 // Closing the input stream will trigger connection release
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
153 instream.close();
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
154
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
155 }
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
156 }
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
157 </PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
158 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
159
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
160 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
161 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
162 <DT><B>Since:</B></DT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
163 <DD>4.0</DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
164 <DT><B>Version:</B></DT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
165 <DD>$Revision: 679523 $</DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
166 <DT><B>Author:</B></DT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
167 <DD><a href="mailto:rolandw at apache.org">Roland Weber</a>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
168
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
169
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
170 <!-- empty lines to avoid svn diff problems --></DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
171 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
172 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
173
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
174 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
175
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
176 <!-- ========== METHOD SUMMARY =========== -->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
177
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
178 <A NAME="method_summary"><!-- --></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
179 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
180 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
181 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
182 <B>Method Summary</B></FONT></TH>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
183 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
184 <TR BGCOLOR="white" CLASS="TableRowColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
185 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
186 <CODE>&nbsp;org.apache.http.HttpResponse</CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
187 <TD><CODE><B><A HREF="../../../../org/apache/http/client/HttpClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest)">execute</A></B>(org.apache.http.HttpHost&nbsp;target,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
188 org.apache.http.HttpRequest&nbsp;request)</CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
189
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
190 <BR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
191 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a request to the target using the default context.</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
192 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
193 <TR BGCOLOR="white" CLASS="TableRowColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
194 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
195 <CODE>&nbsp;org.apache.http.HttpResponse</CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
196 <TD><CODE><B><A HREF="../../../../org/apache/http/client/HttpClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)">execute</A></B>(org.apache.http.HttpHost&nbsp;target,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
197 org.apache.http.HttpRequest&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
198 org.apache.http.protocol.HttpContext&nbsp;context)</CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
199
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
200 <BR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
201 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a request to the target using the given context.</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
202 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
203 <TR BGCOLOR="white" CLASS="TableRowColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
204 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
205 <CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
206 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
207 <TR ALIGN="right" VALIGN="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
208 <TD NOWRAP><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
209 <CODE>&lt;T&gt; T</CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
210 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
211 </TABLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
212 </CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
213 <TD><CODE><B><A HREF="../../../../org/apache/http/client/HttpClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler)">execute</A></B>(org.apache.http.HttpHost&nbsp;target,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
214 org.apache.http.HttpRequest&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
215 <A HREF="../../../../org/apache/http/client/ResponseHandler.html" title="interface in org.apache.http.client">ResponseHandler</A>&lt;? extends T&gt;&nbsp;responseHandler)</CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
216
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
217 <BR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
218 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a request to the target using the default context and
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
219 processes the response using the given response handler.</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
220 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
221 <TR BGCOLOR="white" CLASS="TableRowColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
222 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
223 <CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
224 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
225 <TR ALIGN="right" VALIGN="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
226 <TD NOWRAP><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
227 <CODE>&lt;T&gt; T</CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
228 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
229 </TABLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
230 </CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
231 <TD><CODE><B><A HREF="../../../../org/apache/http/client/HttpClient.html#execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext)">execute</A></B>(org.apache.http.HttpHost&nbsp;target,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
232 org.apache.http.HttpRequest&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
233 <A HREF="../../../../org/apache/http/client/ResponseHandler.html" title="interface in org.apache.http.client">ResponseHandler</A>&lt;? extends T&gt;&nbsp;responseHandler,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
234 org.apache.http.protocol.HttpContext&nbsp;context)</CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
235
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
236 <BR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
237 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a request to the target using the given context and
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
238 processes the response using the given response handler.</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
239 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
240 <TR BGCOLOR="white" CLASS="TableRowColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
241 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
242 <CODE>&nbsp;org.apache.http.HttpResponse</CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
243 <TD><CODE><B><A HREF="../../../../org/apache/http/client/HttpClient.html#execute(org.apache.http.client.methods.HttpUriRequest)">execute</A></B>(<A HREF="../../../../org/apache/http/client/methods/HttpUriRequest.html" title="interface in org.apache.http.client.methods">HttpUriRequest</A>&nbsp;request)</CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
244
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
245 <BR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
246 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a request using the default context.</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
247 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
248 <TR BGCOLOR="white" CLASS="TableRowColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
249 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
250 <CODE>&nbsp;org.apache.http.HttpResponse</CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
251 <TD><CODE><B><A HREF="../../../../org/apache/http/client/HttpClient.html#execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext)">execute</A></B>(<A HREF="../../../../org/apache/http/client/methods/HttpUriRequest.html" title="interface in org.apache.http.client.methods">HttpUriRequest</A>&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
252 org.apache.http.protocol.HttpContext&nbsp;context)</CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
253
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
254 <BR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
255 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a request using the given context.</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
256 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
257 <TR BGCOLOR="white" CLASS="TableRowColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
258 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
259 <CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
260 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
261 <TR ALIGN="right" VALIGN="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
262 <TD NOWRAP><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
263 <CODE>&lt;T&gt; T</CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
264 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
265 </TABLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
266 </CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
267 <TD><CODE><B><A HREF="../../../../org/apache/http/client/HttpClient.html#execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler)">execute</A></B>(<A HREF="../../../../org/apache/http/client/methods/HttpUriRequest.html" title="interface in org.apache.http.client.methods">HttpUriRequest</A>&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
268 <A HREF="../../../../org/apache/http/client/ResponseHandler.html" title="interface in org.apache.http.client">ResponseHandler</A>&lt;? extends T&gt;&nbsp;responseHandler)</CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
269
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
270 <BR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
271 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a request using the default context and processes the
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
272 response using the given response handler.</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
273 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
274 <TR BGCOLOR="white" CLASS="TableRowColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
275 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
276 <CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
277 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
278 <TR ALIGN="right" VALIGN="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
279 <TD NOWRAP><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
280 <CODE>&lt;T&gt; T</CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
281 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
282 </TABLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
283 </CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
284 <TD><CODE><B><A HREF="../../../../org/apache/http/client/HttpClient.html#execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext)">execute</A></B>(<A HREF="../../../../org/apache/http/client/methods/HttpUriRequest.html" title="interface in org.apache.http.client.methods">HttpUriRequest</A>&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
285 <A HREF="../../../../org/apache/http/client/ResponseHandler.html" title="interface in org.apache.http.client">ResponseHandler</A>&lt;? extends T&gt;&nbsp;responseHandler,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
286 org.apache.http.protocol.HttpContext&nbsp;context)</CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
287
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
288 <BR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
289 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a request using the given context and processes the
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
290 response using the given response handler.</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
291 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
292 <TR BGCOLOR="white" CLASS="TableRowColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
293 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
294 <CODE>&nbsp;<A HREF="../../../../org/apache/http/conn/ClientConnectionManager.html" title="interface in org.apache.http.conn">ClientConnectionManager</A></CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
295 <TD><CODE><B><A HREF="../../../../org/apache/http/client/HttpClient.html#getConnectionManager()">getConnectionManager</A></B>()</CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
296
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
297 <BR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
298 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtains the connection manager used by this client.</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
299 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
300 <TR BGCOLOR="white" CLASS="TableRowColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
301 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
302 <CODE>&nbsp;org.apache.http.params.HttpParams</CODE></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
303 <TD><CODE><B><A HREF="../../../../org/apache/http/client/HttpClient.html#getParams()">getParams</A></B>()</CODE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
304
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
305 <BR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
306 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtains the parameters for this client.</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
307 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
308 </TABLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
309 &nbsp;
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
310 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
311
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
312 <!-- ============ METHOD DETAIL ========== -->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
313
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
314 <A NAME="method_detail"><!-- --></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
315 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
316 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
317 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
318 <B>Method Detail</B></FONT></TH>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
319 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
320 </TABLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
321
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
322 <A NAME="getParams()"><!-- --></A><H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
323 getParams</H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
324 <PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
325 org.apache.http.params.HttpParams <B>getParams</B>()</PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
326 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
327 <DD>Obtains the parameters for this client.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
328 These parameters will become defaults for all requests being
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
329 executed with this client, and for the parameters of
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
330 dependent objects in this client.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
331 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
332 <DD><DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
333
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
334 <DT><B>Returns:</B><DD>the default parameters</DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
335 </DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
336 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
337 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
338
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
339 <A NAME="getConnectionManager()"><!-- --></A><H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
340 getConnectionManager</H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
341 <PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
342 <A HREF="../../../../org/apache/http/conn/ClientConnectionManager.html" title="interface in org.apache.http.conn">ClientConnectionManager</A> <B>getConnectionManager</B>()</PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
343 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
344 <DD>Obtains the connection manager used by this client.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
345 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
346 <DD><DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
347
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
348 <DT><B>Returns:</B><DD>the connection manager</DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
349 </DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
350 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
351 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
352
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
353 <A NAME="execute(org.apache.http.client.methods.HttpUriRequest)"><!-- --></A><H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
354 execute</H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
355 <PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
356 org.apache.http.HttpResponse <B>execute</B>(<A HREF="../../../../org/apache/http/client/methods/HttpUriRequest.html" title="interface in org.apache.http.client.methods">HttpUriRequest</A>&nbsp;request)
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
357 throws java.io.IOException,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
358 <A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
359 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
360 <DD>Executes a request using the default context.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
361 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
362 <DD><DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
363 <DT><B>Parameters:</B><DD><CODE>request</CODE> - the request to execute
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
364 <DT><B>Returns:</B><DD>the response to the request. This is always a final response,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
365 never an intermediate response with an 1xx status code.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
366 Whether redirects or authentication challenges will be returned
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
367 or handled automatically depends on the implementation and
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
368 configuration of this client.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
369 <DT><B>Throws:</B>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
370 <DD><CODE>java.io.IOException</CODE> - in case of a problem or the connection was aborted
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
371 <DD><CODE><A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></CODE> - in case of an http protocol error</DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
372 </DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
373 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
374 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
375
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
376 <A NAME="execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext)"><!-- --></A><H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
377 execute</H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
378 <PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
379 org.apache.http.HttpResponse <B>execute</B>(<A HREF="../../../../org/apache/http/client/methods/HttpUriRequest.html" title="interface in org.apache.http.client.methods">HttpUriRequest</A>&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
380 org.apache.http.protocol.HttpContext&nbsp;context)
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
381 throws java.io.IOException,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
382 <A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
383 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
384 <DD>Executes a request using the given context.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
385 The route to the target will be determined by the HTTP client.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
386 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
387 <DD><DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
388 <DT><B>Parameters:</B><DD><CODE>request</CODE> - the request to execute<DD><CODE>context</CODE> - the context to use for the execution, or
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
389 <code>null</code> to use the default context
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
390 <DT><B>Returns:</B><DD>the response to the request. This is always a final response,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
391 never an intermediate response with an 1xx status code.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
392 Whether redirects or authentication challenges will be returned
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
393 or handled automatically depends on the implementation and
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
394 configuration of this client.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
395 <DT><B>Throws:</B>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
396 <DD><CODE>java.io.IOException</CODE> - in case of a problem or the connection was aborted
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
397 <DD><CODE><A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></CODE> - in case of an http protocol error</DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
398 </DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
399 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
400 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
401
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
402 <A NAME="execute(org.apache.http.HttpHost, org.apache.http.HttpRequest)"><!-- --></A><H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
403 execute</H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
404 <PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
405 org.apache.http.HttpResponse <B>execute</B>(org.apache.http.HttpHost&nbsp;target,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
406 org.apache.http.HttpRequest&nbsp;request)
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
407 throws java.io.IOException,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
408 <A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
409 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
410 <DD>Executes a request to the target using the default context.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
411 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
412 <DD><DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
413 <DT><B>Parameters:</B><DD><CODE>target</CODE> - the target host for the request.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
414 Implementations may accept <code>null</code>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
415 if they can still determine a route, for example
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
416 to a default target or by inspecting the request.<DD><CODE>request</CODE> - the request to execute
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
417 <DT><B>Returns:</B><DD>the response to the request. This is always a final response,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
418 never an intermediate response with an 1xx status code.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
419 Whether redirects or authentication challenges will be returned
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
420 or handled automatically depends on the implementation and
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
421 configuration of this client.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
422 <DT><B>Throws:</B>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
423 <DD><CODE>java.io.IOException</CODE> - in case of a problem or the connection was aborted
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
424 <DD><CODE><A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></CODE> - in case of an http protocol error</DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
425 </DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
426 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
427 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
428
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
429 <A NAME="execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext)"><!-- --></A><H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
430 execute</H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
431 <PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
432 org.apache.http.HttpResponse <B>execute</B>(org.apache.http.HttpHost&nbsp;target,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
433 org.apache.http.HttpRequest&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
434 org.apache.http.protocol.HttpContext&nbsp;context)
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
435 throws java.io.IOException,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
436 <A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
437 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
438 <DD>Executes a request to the target using the given context.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
439 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
440 <DD><DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
441 <DT><B>Parameters:</B><DD><CODE>target</CODE> - the target host for the request.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
442 Implementations may accept <code>null</code>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
443 if they can still determine a route, for example
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
444 to a default target or by inspecting the request.<DD><CODE>request</CODE> - the request to execute<DD><CODE>context</CODE> - the context to use for the execution, or
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
445 <code>null</code> to use the default context
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
446 <DT><B>Returns:</B><DD>the response to the request. This is always a final response,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
447 never an intermediate response with an 1xx status code.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
448 Whether redirects or authentication challenges will be returned
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
449 or handled automatically depends on the implementation and
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
450 configuration of this client.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
451 <DT><B>Throws:</B>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
452 <DD><CODE>java.io.IOException</CODE> - in case of a problem or the connection was aborted
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
453 <DD><CODE><A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></CODE> - in case of an http protocol error</DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
454 </DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
455 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
456 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
457
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
458 <A NAME="execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler)"><!-- --></A><H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
459 execute</H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
460 <PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
461 &lt;T&gt; T <B>execute</B>(<A HREF="../../../../org/apache/http/client/methods/HttpUriRequest.html" title="interface in org.apache.http.client.methods">HttpUriRequest</A>&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
462 <A HREF="../../../../org/apache/http/client/ResponseHandler.html" title="interface in org.apache.http.client">ResponseHandler</A>&lt;? extends T&gt;&nbsp;responseHandler)
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
463 throws java.io.IOException,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
464 <A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
465 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
466 <DD>Executes a request using the default context and processes the
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
467 response using the given response handler.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
468 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
469 <DD><DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
470 <DT><B>Parameters:</B><DD><CODE>request</CODE> - the request to execute<DD><CODE>responseHandler</CODE> - the response handler
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
471 <DT><B>Returns:</B><DD>the response object as generated by the response handler.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
472 <DT><B>Throws:</B>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
473 <DD><CODE>java.io.IOException</CODE> - in case of a problem or the connection was aborted
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
474 <DD><CODE><A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></CODE> - in case of an http protocol error</DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
475 </DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
476 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
477 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
478
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
479 <A NAME="execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext)"><!-- --></A><H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
480 execute</H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
481 <PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
482 &lt;T&gt; T <B>execute</B>(<A HREF="../../../../org/apache/http/client/methods/HttpUriRequest.html" title="interface in org.apache.http.client.methods">HttpUriRequest</A>&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
483 <A HREF="../../../../org/apache/http/client/ResponseHandler.html" title="interface in org.apache.http.client">ResponseHandler</A>&lt;? extends T&gt;&nbsp;responseHandler,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
484 org.apache.http.protocol.HttpContext&nbsp;context)
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
485 throws java.io.IOException,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
486 <A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
487 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
488 <DD>Executes a request using the given context and processes the
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
489 response using the given response handler.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
490 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
491 <DD><DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
492 <DT><B>Parameters:</B><DD><CODE>request</CODE> - the request to execute<DD><CODE>responseHandler</CODE> - the response handler
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
493 <DT><B>Returns:</B><DD>the response object as generated by the response handler.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
494 <DT><B>Throws:</B>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
495 <DD><CODE>java.io.IOException</CODE> - in case of a problem or the connection was aborted
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
496 <DD><CODE><A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></CODE> - in case of an http protocol error</DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
497 </DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
498 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
499 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
500
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
501 <A NAME="execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler)"><!-- --></A><H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
502 execute</H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
503 <PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
504 &lt;T&gt; T <B>execute</B>(org.apache.http.HttpHost&nbsp;target,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
505 org.apache.http.HttpRequest&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
506 <A HREF="../../../../org/apache/http/client/ResponseHandler.html" title="interface in org.apache.http.client">ResponseHandler</A>&lt;? extends T&gt;&nbsp;responseHandler)
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
507 throws java.io.IOException,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
508 <A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
509 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
510 <DD>Executes a request to the target using the default context and
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
511 processes the response using the given response handler.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
512 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
513 <DD><DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
514 <DT><B>Parameters:</B><DD><CODE>target</CODE> - the target host for the request.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
515 Implementations may accept <code>null</code>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
516 if they can still determine a route, for example
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
517 to a default target or by inspecting the request.<DD><CODE>request</CODE> - the request to execute<DD><CODE>responseHandler</CODE> - the response handler
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
518 <DT><B>Returns:</B><DD>the response object as generated by the response handler.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
519 <DT><B>Throws:</B>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
520 <DD><CODE>java.io.IOException</CODE> - in case of a problem or the connection was aborted
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
521 <DD><CODE><A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></CODE> - in case of an http protocol error</DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
522 </DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
523 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
524 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
525
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
526 <A NAME="execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler, org.apache.http.protocol.HttpContext)"><!-- --></A><H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
527 execute</H3>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
528 <PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
529 &lt;T&gt; T <B>execute</B>(org.apache.http.HttpHost&nbsp;target,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
530 org.apache.http.HttpRequest&nbsp;request,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
531 <A HREF="../../../../org/apache/http/client/ResponseHandler.html" title="interface in org.apache.http.client">ResponseHandler</A>&lt;? extends T&gt;&nbsp;responseHandler,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
532 org.apache.http.protocol.HttpContext&nbsp;context)
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
533 throws java.io.IOException,
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
534 <A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></PRE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
535 <DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
536 <DD>Executes a request to the target using the given context and
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
537 processes the response using the given response handler.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
538 <P>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
539 <DD><DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
540 <DT><B>Parameters:</B><DD><CODE>target</CODE> - the target host for the request.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
541 Implementations may accept <code>null</code>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
542 if they can still determine a route, for example
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
543 to a default target or by inspecting the request.<DD><CODE>request</CODE> - the request to execute<DD><CODE>responseHandler</CODE> - the response handler<DD><CODE>context</CODE> - the context to use for the execution, or
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
544 <code>null</code> to use the default context
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
545 <DT><B>Returns:</B><DD>the response object as generated by the response handler.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
546 <DT><B>Throws:</B>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
547 <DD><CODE>java.io.IOException</CODE> - in case of a problem or the connection was aborted
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
548 <DD><CODE><A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A></CODE> - in case of an http protocol error</DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
549 </DD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
550 </DL>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
551 <!-- ========= END OF CLASS DATA ========= -->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
552 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
553
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
554
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
555 <!-- ======= START OF BOTTOM NAVBAR ====== -->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
556 <A NAME="navbar_bottom"><!-- --></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
557 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
558 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
559 <TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
560 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
561 <A NAME="navbar_bottom_firstrow"><!-- --></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
562 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
563 <TR ALIGN="center" VALIGN="top">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
564 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
565 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
566 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
567 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/HttpClient.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
568 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
569 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
570 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
571 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
572 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
573 </TABLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
574 </TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
575 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
576 </EM>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
577 </TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
578 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
579
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
580 <TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
581 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
582 &nbsp;<A HREF="../../../../org/apache/http/client/CredentialsProvider.html" title="interface in org.apache.http.client"><B>PREV CLASS</B></A>&nbsp;
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
583 &nbsp;<A HREF="../../../../org/apache/http/client/HttpRequestRetryHandler.html" title="interface in org.apache.http.client"><B>NEXT CLASS</B></A></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
584 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
585 <A HREF="../../../../index.html?org/apache/http/client/HttpClient.html" target="_top"><B>FRAMES</B></A> &nbsp;
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
586 &nbsp;<A HREF="HttpClient.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
587 &nbsp;<SCRIPT type="text/javascript">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
588 <!--
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
589 if(window==top) {
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
590 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
591 }
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
592 //-->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
593 </SCRIPT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
594 <NOSCRIPT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
595 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
596 </NOSCRIPT>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
597
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
598
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
599 </FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
600 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
601 <TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
602 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
603 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
604 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
605 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
606 </TR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
607 </TABLE>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
608 <A NAME="skip-navbar_bottom"></A>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
609 <!-- ======== END OF BOTTOM NAVBAR ======= -->
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
610
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
611 <HR>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
612 Copyright © 1999-2008 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
613 </BODY>
0be9d53a6967 editor for annotations
dwinter
parents:
diff changeset
614 </HTML>