5
|
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 ClientProtocolException (HttpClient 4.0-beta1 API)
|
|
9 </TITLE>
|
|
10
|
|
11 <META NAME="keywords" CONTENT="org.apache.http.client.ClientProtocolException class">
|
|
12
|
|
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
|
14
|
|
15 <SCRIPT type="text/javascript">
|
|
16 function windowTitle()
|
|
17 {
|
|
18 parent.document.title="ClientProtocolException (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/ClientProtocolException.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/CircularRedirectException.html" title="class in org.apache.http.client"><B>PREV CLASS</B></A>
|
|
57 <A HREF="../../../../org/apache/http/client/CookieStore.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/ClientProtocolException.html" target="_top"><B>FRAMES</B></A>
|
|
60 <A HREF="ClientProtocolException.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 | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
|
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
79 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</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 Class ClientProtocolException</H2>
|
|
92 <PRE>
|
|
93 java.lang.Object
|
|
94 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
|
|
95 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception
|
|
96 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.io.IOException
|
|
97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.http.client.ClientProtocolException</B>
|
|
98 </PRE>
|
|
99 <DL>
|
|
100 <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
|
|
101 </DL>
|
|
102 <DL>
|
|
103 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/http/client/HttpResponseException.html" title="class in org.apache.http.client">HttpResponseException</A></DD>
|
|
104 </DL>
|
|
105 <HR>
|
|
106 <DL>
|
|
107 <DT><PRE>public class <B>ClientProtocolException</B><DT>extends java.io.IOException</DL>
|
|
108 </PRE>
|
|
109
|
|
110 <P>
|
|
111 Signals an error in the HTTP protocol.
|
|
112 <P>
|
|
113
|
|
114 <P>
|
|
115 <DL>
|
|
116 <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.http.client.ClientProtocolException">Serialized Form</A></DL>
|
|
117 <HR>
|
|
118
|
|
119 <P>
|
|
120
|
|
121 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
122
|
|
123 <A NAME="constructor_summary"><!-- --></A>
|
|
124 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
125 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
126 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
127 <B>Constructor Summary</B></FONT></TH>
|
|
128 </TR>
|
|
129 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
130 <TD><CODE><B><A HREF="../../../../org/apache/http/client/ClientProtocolException.html#ClientProtocolException()">ClientProtocolException</A></B>()</CODE>
|
|
131
|
|
132 <BR>
|
|
133 </TD>
|
|
134 </TR>
|
|
135 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
136 <TD><CODE><B><A HREF="../../../../org/apache/http/client/ClientProtocolException.html#ClientProtocolException(java.lang.String)">ClientProtocolException</A></B>(java.lang.String s)</CODE>
|
|
137
|
|
138 <BR>
|
|
139 </TD>
|
|
140 </TR>
|
|
141 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
142 <TD><CODE><B><A HREF="../../../../org/apache/http/client/ClientProtocolException.html#ClientProtocolException(java.lang.String, java.lang.Throwable)">ClientProtocolException</A></B>(java.lang.String message,
|
|
143 java.lang.Throwable cause)</CODE>
|
|
144
|
|
145 <BR>
|
|
146 </TD>
|
|
147 </TR>
|
|
148 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
149 <TD><CODE><B><A HREF="../../../../org/apache/http/client/ClientProtocolException.html#ClientProtocolException(java.lang.Throwable)">ClientProtocolException</A></B>(java.lang.Throwable cause)</CODE>
|
|
150
|
|
151 <BR>
|
|
152 </TD>
|
|
153 </TR>
|
|
154 </TABLE>
|
|
155
|
|
156 <!-- ========== METHOD SUMMARY =========== -->
|
|
157
|
|
158 <A NAME="method_summary"><!-- --></A>
|
|
159 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
160 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
161 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
162 <B>Method Summary</B></FONT></TH>
|
|
163 </TR>
|
|
164 </TABLE>
|
|
165 <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
|
|
166 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
167 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
168 <TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
|
|
169 </TR>
|
|
170 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
171 <TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
|
|
172 </TR>
|
|
173 </TABLE>
|
|
174 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
175 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
176 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
177 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
178 </TR>
|
|
179 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
180 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
|
181 </TR>
|
|
182 </TABLE>
|
|
183
|
|
184 <P>
|
|
185
|
|
186 <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
187
|
|
188 <A NAME="constructor_detail"><!-- --></A>
|
|
189 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
190 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
191 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
192 <B>Constructor Detail</B></FONT></TH>
|
|
193 </TR>
|
|
194 </TABLE>
|
|
195
|
|
196 <A NAME="ClientProtocolException()"><!-- --></A><H3>
|
|
197 ClientProtocolException</H3>
|
|
198 <PRE>
|
|
199 public <B>ClientProtocolException</B>()</PRE>
|
|
200 <DL>
|
|
201 </DL>
|
|
202 <HR>
|
|
203
|
|
204 <A NAME="ClientProtocolException(java.lang.String)"><!-- --></A><H3>
|
|
205 ClientProtocolException</H3>
|
|
206 <PRE>
|
|
207 public <B>ClientProtocolException</B>(java.lang.String s)</PRE>
|
|
208 <DL>
|
|
209 </DL>
|
|
210 <HR>
|
|
211
|
|
212 <A NAME="ClientProtocolException(java.lang.Throwable)"><!-- --></A><H3>
|
|
213 ClientProtocolException</H3>
|
|
214 <PRE>
|
|
215 public <B>ClientProtocolException</B>(java.lang.Throwable cause)</PRE>
|
|
216 <DL>
|
|
217 </DL>
|
|
218 <HR>
|
|
219
|
|
220 <A NAME="ClientProtocolException(java.lang.String, java.lang.Throwable)"><!-- --></A><H3>
|
|
221 ClientProtocolException</H3>
|
|
222 <PRE>
|
|
223 public <B>ClientProtocolException</B>(java.lang.String message,
|
|
224 java.lang.Throwable cause)</PRE>
|
|
225 <DL>
|
|
226 </DL>
|
|
227 <!-- ========= END OF CLASS DATA ========= -->
|
|
228 <HR>
|
|
229
|
|
230
|
|
231 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
232 <A NAME="navbar_bottom"><!-- --></A>
|
|
233 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
234 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
235 <TR>
|
|
236 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
237 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
238 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
239 <TR ALIGN="center" VALIGN="top">
|
|
240 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
241 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
242 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
243 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ClientProtocolException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
244 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
245 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
246 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
247 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
248 </TR>
|
|
249 </TABLE>
|
|
250 </TD>
|
|
251 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
252 </EM>
|
|
253 </TD>
|
|
254 </TR>
|
|
255
|
|
256 <TR>
|
|
257 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
258 <A HREF="../../../../org/apache/http/client/CircularRedirectException.html" title="class in org.apache.http.client"><B>PREV CLASS</B></A>
|
|
259 <A HREF="../../../../org/apache/http/client/CookieStore.html" title="interface in org.apache.http.client"><B>NEXT CLASS</B></A></FONT></TD>
|
|
260 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
261 <A HREF="../../../../index.html?org/apache/http/client/ClientProtocolException.html" target="_top"><B>FRAMES</B></A>
|
|
262 <A HREF="ClientProtocolException.html" target="_top"><B>NO FRAMES</B></A>
|
|
263 <SCRIPT type="text/javascript">
|
|
264 <!--
|
|
265 if(window==top) {
|
|
266 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
267 }
|
|
268 //-->
|
|
269 </SCRIPT>
|
|
270 <NOSCRIPT>
|
|
271 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
272 </NOSCRIPT>
|
|
273
|
|
274
|
|
275 </FONT></TD>
|
|
276 </TR>
|
|
277 <TR>
|
|
278 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
279 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
|
|
280 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
281 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
|
282 </TR>
|
|
283 </TABLE>
|
|
284 <A NAME="skip-navbar_bottom"></A>
|
|
285 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
286
|
|
287 <HR>
|
|
288 Copyright © 1999-2008 <a href="http://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved.
|
|
289 </BODY>
|
|
290 </HTML>
|