1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
\r
5 <!-- Generated by javadoc (build 1.5.0_22) on Tue May 10 10:28:01 IST 2011 -->
\r
10 <META NAME="keywords" CONTENT="com.pras.conn.Response class">
\r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
\r
14 <SCRIPT type="text/javascript">
\r
15 function windowTitle()
\r
17 parent.document.title="Response";
\r
25 <BODY BGCOLOR="white" onload="windowTitle();">
\r
28 <!-- ========= START OF TOP NAVBAR ======= -->
\r
29 <A NAME="navbar_top"><!-- --></A>
\r
30 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
\r
31 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
33 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
34 <A NAME="navbar_top_firstrow"><!-- --></A>
\r
35 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
36 <TR ALIGN="center" VALIGN="top">
\r
37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Response.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
48 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
55 <A HREF="../../../com/pras/conn/HttpConHandler.html" title="class in com.pras.conn"><B>PREV CLASS</B></A>
\r
56 NEXT CLASS</FONT></TD>
\r
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
58 <A HREF="../../../index.html?com/pras/conn/Response.html" target="_top"><B>FRAMES</B></A>
\r
59 <A HREF="Response.html" target="_top"><B>NO FRAMES</B></A>
\r
60 <SCRIPT type="text/javascript">
\r
63 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
68 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
75 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
76 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
78 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
81 <A NAME="skip-navbar_top"></A>
\r
82 <!-- ========= END OF TOP NAVBAR ========= -->
\r
85 <!-- ======== START OF CLASS DATA ======== -->
\r
88 com.pras.conn</FONT>
\r
93 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.pras.conn.Response</B>
\r
97 <DT><PRE>public class <B>Response</B><DT>extends java.lang.Object</DL>
\r
101 Wrapper class to hold Response from Server, Connection Exception etc.
\r
106 <DT><B>Author:</B></DT>
\r
113 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
\r
115 <A NAME="constructor_summary"><!-- --></A>
\r
116 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
117 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
118 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
119 <B>Constructor Summary</B></FONT></TH>
\r
121 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
122 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#Response()">Response</A></B>()</CODE>
\r
125 </TD>
\r
129 <!-- ========== METHOD SUMMARY =========== -->
\r
131 <A NAME="method_summary"><!-- --></A>
\r
132 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
133 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
134 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
135 <B>Method Summary</B></FONT></TH>
\r
137 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
139 <CODE> java.lang.String</CODE></FONT></TD>
\r
140 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#getErrorStreamMsg()">getErrorStreamMsg</A></B>()</CODE>
\r
143 </TD>
\r
145 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
146 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
147 <CODE> java.lang.Exception</CODE></FONT></TD>
\r
148 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#getException()">getException</A></B>()</CODE>
\r
151 </TD>
\r
153 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
155 <CODE> java.lang.String</CODE></FONT></TD>
\r
156 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#getOutput()">getOutput</A></B>()</CODE>
\r
159 </TD>
\r
161 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
162 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
163 <CODE> java.lang.String</CODE></FONT></TD>
\r
164 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#getResponseCode()">getResponseCode</A></B>()</CODE>
\r
167 </TD>
\r
169 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
170 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
171 <CODE> java.lang.String</CODE></FONT></TD>
\r
172 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#getResponseMessage()">getResponseMessage</A></B>()</CODE>
\r
175 </TD>
\r
177 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
178 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
179 <CODE> boolean</CODE></FONT></TD>
\r
180 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#isError()">isError</A></B>()</CODE>
\r
183 </TD>
\r
185 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
186 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
187 <CODE> void</CODE></FONT></TD>
\r
188 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#printErrorLog()">printErrorLog</A></B>()</CODE>
\r
191 </TD>
\r
193 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
194 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
195 <CODE> void</CODE></FONT></TD>
\r
196 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#setError(boolean)">setError</A></B>(boolean error)</CODE>
\r
199 </TD>
\r
201 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
202 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
203 <CODE> void</CODE></FONT></TD>
\r
204 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#setErrorStreamMsg(java.lang.String)">setErrorStreamMsg</A></B>(java.lang.String errorStreamMsg)</CODE>
\r
207 </TD>
\r
209 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
211 <CODE> void</CODE></FONT></TD>
\r
212 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#setException(java.lang.Exception)">setException</A></B>(java.lang.Exception exception)</CODE>
\r
215 </TD>
\r
217 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
219 <CODE> void</CODE></FONT></TD>
\r
220 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#setOutput(java.lang.String)">setOutput</A></B>(java.lang.String output)</CODE>
\r
223 </TD>
\r
225 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
226 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
227 <CODE> void</CODE></FONT></TD>
\r
228 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#setResponseCode(java.lang.String)">setResponseCode</A></B>(java.lang.String responseCode)</CODE>
\r
231 </TD>
\r
233 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
234 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
235 <CODE> void</CODE></FONT></TD>
\r
236 <TD><CODE><B><A HREF="../../../com/pras/conn/Response.html#setResponseMessage(java.lang.String)">setResponseMessage</A></B>(java.lang.String responseMessage)</CODE>
\r
239 </TD>
\r
242 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
\r
243 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
244 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
245 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
\r
247 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
248 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
\r
254 <!-- ========= CONSTRUCTOR DETAIL ======== -->
\r
256 <A NAME="constructor_detail"><!-- --></A>
\r
257 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
258 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
259 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
260 <B>Constructor Detail</B></FONT></TH>
\r
264 <A NAME="Response()"><!-- --></A><H3>
\r
267 public <B>Response</B>()</PRE>
\r
271 <!-- ============ METHOD DETAIL ========== -->
\r
273 <A NAME="method_detail"><!-- --></A>
\r
274 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
275 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
276 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
277 <B>Method Detail</B></FONT></TH>
\r
281 <A NAME="isError()"><!-- --></A><H3>
\r
284 public boolean <B>isError</B>()</PRE>
\r
292 <A NAME="setError(boolean)"><!-- --></A><H3>
\r
295 public void <B>setError</B>(boolean error)</PRE>
\r
303 <A NAME="getResponseCode()"><!-- --></A><H3>
\r
304 getResponseCode</H3>
\r
306 public java.lang.String <B>getResponseCode</B>()</PRE>
\r
314 <A NAME="setResponseCode(java.lang.String)"><!-- --></A><H3>
\r
315 setResponseCode</H3>
\r
317 public void <B>setResponseCode</B>(java.lang.String responseCode)</PRE>
\r
325 <A NAME="getResponseMessage()"><!-- --></A><H3>
\r
326 getResponseMessage</H3>
\r
328 public java.lang.String <B>getResponseMessage</B>()</PRE>
\r
336 <A NAME="setResponseMessage(java.lang.String)"><!-- --></A><H3>
\r
337 setResponseMessage</H3>
\r
339 public void <B>setResponseMessage</B>(java.lang.String responseMessage)</PRE>
\r
347 <A NAME="getErrorStreamMsg()"><!-- --></A><H3>
\r
348 getErrorStreamMsg</H3>
\r
350 public java.lang.String <B>getErrorStreamMsg</B>()</PRE>
\r
358 <A NAME="setErrorStreamMsg(java.lang.String)"><!-- --></A><H3>
\r
359 setErrorStreamMsg</H3>
\r
361 public void <B>setErrorStreamMsg</B>(java.lang.String errorStreamMsg)</PRE>
\r
369 <A NAME="getOutput()"><!-- --></A><H3>
\r
372 public java.lang.String <B>getOutput</B>()</PRE>
\r
380 <A NAME="setOutput(java.lang.String)"><!-- --></A><H3>
\r
383 public void <B>setOutput</B>(java.lang.String output)</PRE>
\r
391 <A NAME="getException()"><!-- --></A><H3>
\r
394 public java.lang.Exception <B>getException</B>()</PRE>
\r
402 <A NAME="setException(java.lang.Exception)"><!-- --></A><H3>
\r
405 public void <B>setException</B>(java.lang.Exception exception)</PRE>
\r
413 <A NAME="printErrorLog()"><!-- --></A><H3>
\r
416 public void <B>printErrorLog</B>()</PRE>
\r
422 <!-- ========= END OF CLASS DATA ========= -->
\r
426 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
427 <A NAME="navbar_bottom"><!-- --></A>
\r
428 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
\r
429 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
431 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
432 <A NAME="navbar_bottom_firstrow"><!-- --></A>
\r
433 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
434 <TR ALIGN="center" VALIGN="top">
\r
435 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
436 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
437 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
438 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Response.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
439 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
440 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
441 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
442 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
446 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
452 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
453 <A HREF="../../../com/pras/conn/HttpConHandler.html" title="class in com.pras.conn"><B>PREV CLASS</B></A>
\r
454 NEXT CLASS</FONT></TD>
\r
455 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
456 <A HREF="../../../index.html?com/pras/conn/Response.html" target="_top"><B>FRAMES</B></A>
\r
457 <A HREF="Response.html" target="_top"><B>NO FRAMES</B></A>
\r
458 <SCRIPT type="text/javascript">
\r
461 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
466 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
473 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
474 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
475 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
476 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
479 <A NAME="skip-navbar_bottom"></A>
\r
480 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r