Mercurial > hg > AnnotationManager
comparison libs/httpcomponents-client-4.0-beta1/javadoc/httpclient/org/apache/http/client/ResponseHandler.html @ 5:0be9d53a6967
editor for annotations
author | dwinter |
---|---|
date | Tue, 13 Dec 2011 17:43:46 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4:c32080f364c6 | 5:0be9d53a6967 |
---|---|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
2 <!--NewPage--> | |
3 <HTML> | |
4 <HEAD> | |
5 <!-- Generated by javadoc (build 1.5.0_11) on Sat Aug 23 11:49:48 GMT+01:00 2008 --> | |
6 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
7 <TITLE> | |
8 ResponseHandler (HttpClient 4.0-beta1 API) | |
9 </TITLE> | |
10 | |
11 <META NAME="keywords" CONTENT="org.apache.http.client.ResponseHandler interface"> | |
12 | |
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> | |
14 | |
15 <SCRIPT type="text/javascript"> | |
16 function windowTitle() | |
17 { | |
18 parent.document.title="ResponseHandler (HttpClient 4.0-beta1 API)"; | |
19 } | |
20 </SCRIPT> | |
21 <NOSCRIPT> | |
22 </NOSCRIPT> | |
23 | |
24 </HEAD> | |
25 | |
26 <BODY BGCOLOR="white" onload="windowTitle();"> | |
27 | |
28 | |
29 <!-- ========= START OF TOP NAVBAR ======= --> | |
30 <A NAME="navbar_top"><!-- --></A> | |
31 <A HREF="#skip-navbar_top" title="Skip navigation links"></A> | |
32 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
33 <TR> | |
34 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
35 <A NAME="navbar_top_firstrow"><!-- --></A> | |
36 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
37 <TR ALIGN="center" VALIGN="top"> | |
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </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/ResponseHandler.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> | |
46 </TR> | |
47 </TABLE> | |
48 </TD> | |
49 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
50 </EM> | |
51 </TD> | |
52 </TR> | |
53 | |
54 <TR> | |
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
56 <A HREF="../../../../org/apache/http/client/RequestDirector.html" title="interface in org.apache.http.client"><B>PREV CLASS</B></A> | |
57 <A HREF="../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client"><B>NEXT CLASS</B></A></FONT></TD> | |
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
59 <A HREF="../../../../index.html?org/apache/http/client/ResponseHandler.html" target="_top"><B>FRAMES</B></A> | |
60 <A HREF="ResponseHandler.html" target="_top"><B>NO FRAMES</B></A> | |
61 <SCRIPT type="text/javascript"> | |
62 <!-- | |
63 if(window==top) { | |
64 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
65 } | |
66 //--> | |
67 </SCRIPT> | |
68 <NOSCRIPT> | |
69 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
70 </NOSCRIPT> | |
71 | |
72 | |
73 </FONT></TD> | |
74 </TR> | |
75 <TR> | |
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
77 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
79 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
80 </TR> | |
81 </TABLE> | |
82 <A NAME="skip-navbar_top"></A> | |
83 <!-- ========= END OF TOP NAVBAR ========= --> | |
84 | |
85 <HR> | |
86 <!-- ======== START OF CLASS DATA ======== --> | |
87 <H2> | |
88 <FONT SIZE="-1"> | |
89 org.apache.http.client</FONT> | |
90 <BR> | |
91 Interface ResponseHandler<T></H2> | |
92 <DL> | |
93 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/http/impl/client/BasicResponseHandler.html" title="class in org.apache.http.impl.client">BasicResponseHandler</A></DD> | |
94 </DL> | |
95 <HR> | |
96 <DL> | |
97 <DT><PRE>public interface <B>ResponseHandler<T></B></DL> | |
98 </PRE> | |
99 | |
100 <P> | |
101 Handler that encapsulates the process of generating a response object | |
102 from a <CODE>HttpResponse</CODE>. | |
103 <P> | |
104 | |
105 <P> | |
106 <DL> | |
107 <DT><B>Since:</B></DT> | |
108 <DD>4.0</DD> | |
109 <DT><B>Author:</B></DT> | |
110 <DD><a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a></DD> | |
111 </DL> | |
112 <HR> | |
113 | |
114 <P> | |
115 | |
116 <!-- ========== METHOD SUMMARY =========== --> | |
117 | |
118 <A NAME="method_summary"><!-- --></A> | |
119 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
120 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
121 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> | |
122 <B>Method Summary</B></FONT></TH> | |
123 </TR> | |
124 <TR BGCOLOR="white" CLASS="TableRowColor"> | |
125 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
126 <CODE> <A HREF="../../../../org/apache/http/client/ResponseHandler.html" title="type parameter in ResponseHandler">T</A></CODE></FONT></TD> | |
127 <TD><CODE><B><A HREF="../../../../org/apache/http/client/ResponseHandler.html#handleResponse(org.apache.http.HttpResponse)">handleResponse</A></B>(org.apache.http.HttpResponse response)</CODE> | |
128 | |
129 <BR> | |
130 Processes an <CODE>HttpResponse</CODE> and returns some value | |
131 corresponding to that response.</TD> | |
132 </TR> | |
133 </TABLE> | |
134 | |
135 <P> | |
136 | |
137 <!-- ============ METHOD DETAIL ========== --> | |
138 | |
139 <A NAME="method_detail"><!-- --></A> | |
140 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> | |
141 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> | |
142 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> | |
143 <B>Method Detail</B></FONT></TH> | |
144 </TR> | |
145 </TABLE> | |
146 | |
147 <A NAME="handleResponse(org.apache.http.HttpResponse)"><!-- --></A><H3> | |
148 handleResponse</H3> | |
149 <PRE> | |
150 <A HREF="../../../../org/apache/http/client/ResponseHandler.html" title="type parameter in ResponseHandler">T</A> <B>handleResponse</B>(org.apache.http.HttpResponse response) | |
151 throws <A HREF="../../../../org/apache/http/client/ClientProtocolException.html" title="class in org.apache.http.client">ClientProtocolException</A>, | |
152 java.io.IOException</PRE> | |
153 <DL> | |
154 <DD>Processes an <CODE>HttpResponse</CODE> and returns some value | |
155 corresponding to that response. | |
156 <P> | |
157 <DD><DL> | |
158 <DT><B>Parameters:</B><DD><CODE>response</CODE> - The response to process | |
159 <DT><B>Returns:</B><DD>A value determined by the response | |
160 <DT><B>Throws:</B> | |
161 <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 | |
162 <DD><CODE>java.io.IOException</CODE> - in case of a problem or the connection was aborted</DL> | |
163 </DD> | |
164 </DL> | |
165 <!-- ========= END OF CLASS DATA ========= --> | |
166 <HR> | |
167 | |
168 | |
169 <!-- ======= START OF BOTTOM NAVBAR ====== --> | |
170 <A NAME="navbar_bottom"><!-- --></A> | |
171 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> | |
172 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> | |
173 <TR> | |
174 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> | |
175 <A NAME="navbar_bottom_firstrow"><!-- --></A> | |
176 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> | |
177 <TR ALIGN="center" VALIGN="top"> | |
178 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> | |
179 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
180 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
181 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ResponseHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
182 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
183 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
184 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
185 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
186 </TR> | |
187 </TABLE> | |
188 </TD> | |
189 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
190 </EM> | |
191 </TD> | |
192 </TR> | |
193 | |
194 <TR> | |
195 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
196 <A HREF="../../../../org/apache/http/client/RequestDirector.html" title="interface in org.apache.http.client"><B>PREV CLASS</B></A> | |
197 <A HREF="../../../../org/apache/http/client/UserTokenHandler.html" title="interface in org.apache.http.client"><B>NEXT CLASS</B></A></FONT></TD> | |
198 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
199 <A HREF="../../../../index.html?org/apache/http/client/ResponseHandler.html" target="_top"><B>FRAMES</B></A> | |
200 <A HREF="ResponseHandler.html" target="_top"><B>NO FRAMES</B></A> | |
201 <SCRIPT type="text/javascript"> | |
202 <!-- | |
203 if(window==top) { | |
204 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); | |
205 } | |
206 //--> | |
207 </SCRIPT> | |
208 <NOSCRIPT> | |
209 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> | |
210 </NOSCRIPT> | |
211 | |
212 | |
213 </FONT></TD> | |
214 </TR> | |
215 <TR> | |
216 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
217 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
218 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
219 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
220 </TR> | |
221 </TABLE> | |
222 <A NAME="skip-navbar_bottom"></A> | |
223 <!-- ======== END OF BOTTOM NAVBAR ======= --> | |
224 | |
225 <HR> | |
226 Copyright © 1999-2008 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved. | |
227 </BODY> | |
228 </HTML> |