1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
5
<!-- Generated by javadoc on Sun Oct 10 17:41:05 EDT 2004 -->
7
HttpClient 2.0.2 API: Class URI.DefaultCharsetChanged
9
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
11
<BODY BGCOLOR="white">
13
<!-- ========== START OF NAVBAR ========== -->
14
<A NAME="navbar_top"><!-- --></A>
15
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
17
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
18
<A NAME="navbar_top_firstrow"><!-- --></A>
19
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
20
<TR ALIGN="center" VALIGN="top">
21
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
22
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
23
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
24
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/URI.DefaultCharsetChanged.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
25
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
26
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
27
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
28
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
32
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
38
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
39
<A HREF="../../../../org/apache/commons/httpclient/HttpRecoverableException.html"><B>PREV CLASS</B></A>
40
<A HREF="../../../../org/apache/commons/httpclient/URIException.html"><B>NEXT CLASS</B></A></FONT></TD>
41
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
42
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
43
<A HREF="URI.DefaultCharsetChanged.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
46
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
47
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
48
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
49
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
52
<!-- =========== END OF NAVBAR =========== -->
55
<!-- ======== START OF CLASS DATA ======== -->
58
org.apache.commons.httpclient</FONT>
60
Class URI.DefaultCharsetChanged</H2>
62
<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">java.lang.Object</A>
64
+--<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Throwable.html">java.lang.Throwable</A>
66
+--<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Exception.html">java.lang.Exception</A>
68
+--<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/RuntimeException.html">java.lang.RuntimeException</A>
70
+--<B>org.apache.commons.httpclient.URI.DefaultCharsetChanged</B>
73
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/io/Serializable.html">Serializable</A></DD>
76
<DT><B>Enclosing class: </B><DD><A HREF="../../../../org/apache/commons/httpclient/URI.html">URI</A></DD>
80
<DT>public static class <B>URI.DefaultCharsetChanged</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/RuntimeException.html">RuntimeException</A></DL>
83
The charset-changed normal operation to represent to be required to
84
alert to user the fact the default charset is changed.
87
<DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#org.apache.commons.httpclient.URI.DefaultCharsetChanged">Serialized Form</A></DL>
91
<!-- ======== INNER CLASS SUMMARY ======== -->
94
<!-- =========== FIELD SUMMARY =========== -->
96
<A NAME="field_summary"><!-- --></A>
97
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
98
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
99
<TD COLSPAN=2><FONT SIZE="+2">
100
<B>Field Summary</B></FONT></TD>
102
<TR BGCOLOR="white" CLASS="TableRowColor">
103
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
104
<CODE>static int</CODE></FONT></TD>
105
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/URI.DefaultCharsetChanged.html#DOCUMENT_CHARSET">DOCUMENT_CHARSET</A></B></CODE>
108
Document charset changed.</TD>
110
<TR BGCOLOR="white" CLASS="TableRowColor">
111
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
112
<CODE>static int</CODE></FONT></TD>
113
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/URI.DefaultCharsetChanged.html#PROTOCOL_CHARSET">PROTOCOL_CHARSET</A></B></CODE>
116
Protocol charset changed.</TD>
118
<TR BGCOLOR="white" CLASS="TableRowColor">
119
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
120
<CODE>static int</CODE></FONT></TD>
121
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/URI.DefaultCharsetChanged.html#UNKNOWN">UNKNOWN</A></B></CODE>
124
No specified reason code.</TD>
128
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
130
<A NAME="constructor_summary"><!-- --></A>
131
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
132
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133
<TD COLSPAN=2><FONT SIZE="+2">
134
<B>Constructor Summary</B></FONT></TD>
136
<TR BGCOLOR="white" CLASS="TableRowColor">
137
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/URI.DefaultCharsetChanged.html#URI.DefaultCharsetChanged(int, java.lang.String)">URI.DefaultCharsetChanged</A></B>(int reasonCode,
138
<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A> reason)</CODE>
141
The constructor with a reason string and its code arguments.</TD>
145
<!-- ========== METHOD SUMMARY =========== -->
147
<A NAME="method_summary"><!-- --></A>
148
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
149
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
150
<TD COLSPAN=2><FONT SIZE="+2">
151
<B>Method Summary</B></FONT></TD>
153
<TR BGCOLOR="white" CLASS="TableRowColor">
154
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155
<CODE> <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
156
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/URI.DefaultCharsetChanged.html#getReason()">getReason</A></B>()</CODE>
159
Get the reason message.</TD>
161
<TR BGCOLOR="white" CLASS="TableRowColor">
162
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163
<CODE> int</CODE></FONT></TD>
164
<TD><CODE><B><A HREF="../../../../org/apache/commons/httpclient/URI.DefaultCharsetChanged.html#getReasonCode()">getReasonCode</A></B>()</CODE>
167
Get the reason code.</TD>
170
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
171
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
172
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
173
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Throwable.html">Throwable</A></B></TD>
175
<TR BGCOLOR="white" CLASS="TableRowColor">
176
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Throwable.html#fillInStackTrace()">fillInStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Throwable.html#getLocalizedMessage()">getLocalizedMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Throwable.html#getMessage()">getMessage</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Throwable.html#printStackTrace()">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)">printStackTrace</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Throwable.html#toString()">toString</A></CODE></TD>
179
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
180
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
181
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
182
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A></B></TD>
184
<TR BGCOLOR="white" CLASS="TableRowColor">
185
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#<clinit>()"><clinit></A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
191
<!-- ============ FIELD DETAIL =========== -->
193
<A NAME="field_detail"><!-- --></A>
194
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
195
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
196
<TD COLSPAN=1><FONT SIZE="+2">
197
<B>Field Detail</B></FONT></TD>
201
<A NAME="UNKNOWN"><!-- --></A><H3>
204
public static final int <B>UNKNOWN</B></PRE>
206
<DD>No specified reason code.</DL>
209
<A NAME="PROTOCOL_CHARSET"><!-- --></A><H3>
210
PROTOCOL_CHARSET</H3>
212
public static final int <B>PROTOCOL_CHARSET</B></PRE>
214
<DD>Protocol charset changed.</DL>
217
<A NAME="DOCUMENT_CHARSET"><!-- --></A><H3>
218
DOCUMENT_CHARSET</H3>
220
public static final int <B>DOCUMENT_CHARSET</B></PRE>
222
<DD>Document charset changed.</DL>
224
<!-- ========= CONSTRUCTOR DETAIL ======== -->
226
<A NAME="constructor_detail"><!-- --></A>
227
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
228
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
229
<TD COLSPAN=1><FONT SIZE="+2">
230
<B>Constructor Detail</B></FONT></TD>
234
<A NAME="URI.DefaultCharsetChanged(int, java.lang.String)"><!-- --></A><H3>
235
URI.DefaultCharsetChanged</H3>
237
public <B>URI.DefaultCharsetChanged</B>(int reasonCode,
238
<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A> reason)</PRE>
240
<DD>The constructor with a reason string and its code arguments.<DD><DL>
241
<DT><B>Parameters:</B><DD><CODE>reasonCode</CODE> - the reason code<DD><CODE>reason</CODE> - the reason</DL>
245
<!-- ============ METHOD DETAIL ========== -->
247
<A NAME="method_detail"><!-- --></A>
248
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
249
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
250
<TD COLSPAN=1><FONT SIZE="+2">
251
<B>Method Detail</B></FONT></TD>
255
<A NAME="getReasonCode()"><!-- --></A><H3>
258
public int <B>getReasonCode</B>()</PRE>
260
<DD>Get the reason code.<DD><DL>
261
<DT><B>Returns:</B><DD>the reason code</DL>
266
<A NAME="getReason()"><!-- --></A><H3>
269
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A> <B>getReason</B>()</PRE>
271
<DD>Get the reason message.<DD><DL>
272
<DT><B>Returns:</B><DD>the reason message</DL>
275
<!-- ========= END OF CLASS DATA ========= -->
278
<!-- ========== START OF NAVBAR ========== -->
279
<A NAME="navbar_bottom"><!-- --></A>
280
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
282
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
283
<A NAME="navbar_bottom_firstrow"><!-- --></A>
284
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
285
<TR ALIGN="center" VALIGN="top">
286
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
287
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
288
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
289
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/URI.DefaultCharsetChanged.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
290
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
291
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
292
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
293
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
297
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
303
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
304
<A HREF="../../../../org/apache/commons/httpclient/HttpRecoverableException.html"><B>PREV CLASS</B></A>
305
<A HREF="../../../../org/apache/commons/httpclient/URIException.html"><B>NEXT CLASS</B></A></FONT></TD>
306
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
307
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
308
<A HREF="URI.DefaultCharsetChanged.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
311
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
312
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
313
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
314
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
317
<!-- =========== END OF NAVBAR =========== -->
320
Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.