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.6.0_18) on Tue Dec 11 11:47:10 GMT 2012 --> |
---|
6 | <TITLE> |
---|
7 | StringRpcServer |
---|
8 | </TITLE> |
---|
9 | |
---|
10 | <META NAME="date" CONTENT="2012-12-11"> |
---|
11 | |
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"> |
---|
13 | |
---|
14 | <SCRIPT type="text/javascript"> |
---|
15 | function windowTitle() |
---|
16 | { |
---|
17 | if (location.href.indexOf('is-external=true') == -1) { |
---|
18 | parent.document.title="StringRpcServer"; |
---|
19 | } |
---|
20 | } |
---|
21 | </SCRIPT> |
---|
22 | <NOSCRIPT> |
---|
23 | </NOSCRIPT> |
---|
24 | |
---|
25 | </HEAD> |
---|
26 | |
---|
27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
28 | <HR> |
---|
29 | |
---|
30 | |
---|
31 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
32 | <A NAME="navbar_top"><!-- --></A> |
---|
33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
35 | <TR> |
---|
36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
39 | <TR ALIGN="center" VALIGN="top"> |
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
47 | </TR> |
---|
48 | </TABLE> |
---|
49 | </TD> |
---|
50 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
51 | </EM> |
---|
52 | </TD> |
---|
53 | </TR> |
---|
54 | |
---|
55 | <TR> |
---|
56 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
57 | <A HREF="../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client"><B>PREV CLASS</B></A> |
---|
58 | <A HREF="../../../com/rabbitmq/client/UnexpectedFrameError.html" title="class in com.rabbitmq.client"><B>NEXT CLASS</B></A></FONT></TD> |
---|
59 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
60 | <A HREF="../../../index.html?com/rabbitmq/client/StringRpcServer.html" target="_top"><B>FRAMES</B></A> |
---|
61 | <A HREF="StringRpcServer.html" target="_top"><B>NO FRAMES</B></A> |
---|
62 | <SCRIPT type="text/javascript"> |
---|
63 | <!-- |
---|
64 | if(window==top) { |
---|
65 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
66 | } |
---|
67 | //--> |
---|
68 | </SCRIPT> |
---|
69 | <NOSCRIPT> |
---|
70 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
71 | </NOSCRIPT> |
---|
72 | |
---|
73 | |
---|
74 | </FONT></TD> |
---|
75 | </TR> |
---|
76 | <TR> |
---|
77 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
78 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
79 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
80 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
81 | </TR> |
---|
82 | </TABLE> |
---|
83 | <A NAME="skip-navbar_top"></A> |
---|
84 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
85 | |
---|
86 | <HR> |
---|
87 | <!-- ======== START OF CLASS DATA ======== --> |
---|
88 | <H2> |
---|
89 | <FONT SIZE="-1"> |
---|
90 | com.rabbitmq.client</FONT> |
---|
91 | <BR> |
---|
92 | Class StringRpcServer</H2> |
---|
93 | <PRE> |
---|
94 | java.lang.Object |
---|
95 | <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../com/rabbitmq/client/RpcServer.html" title="class in com.rabbitmq.client">com.rabbitmq.client.RpcServer</A> |
---|
96 | <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.rabbitmq.client.StringRpcServer</B> |
---|
97 | </PRE> |
---|
98 | <DL> |
---|
99 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../com/rabbitmq/tools/jsonrpc/JsonRpcServer.html" title="class in com.rabbitmq.tools.jsonrpc">JsonRpcServer</A></DD> |
---|
100 | </DL> |
---|
101 | <HR> |
---|
102 | <DL> |
---|
103 | <DT><PRE>public class <B>StringRpcServer</B><DT>extends <A HREF="../../../com/rabbitmq/client/RpcServer.html" title="class in com.rabbitmq.client">RpcServer</A></DL> |
---|
104 | </PRE> |
---|
105 | |
---|
106 | <P> |
---|
107 | Subclass of RpcServer which accepts UTF-8 string requests. |
---|
108 | <P> |
---|
109 | |
---|
110 | <P> |
---|
111 | <HR> |
---|
112 | |
---|
113 | <P> |
---|
114 | <!-- =========== FIELD SUMMARY =========== --> |
---|
115 | |
---|
116 | <A NAME="field_summary"><!-- --></A> |
---|
117 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
118 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
119 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
120 | <B>Field Summary</B></FONT></TH> |
---|
121 | </TR> |
---|
122 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
123 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
124 | <CODE>static java.lang.String</CODE></FONT></TD> |
---|
125 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/StringRpcServer.html#STRING_ENCODING">STRING_ENCODING</A></B></CODE> |
---|
126 | |
---|
127 | <BR> |
---|
128 | </TD> |
---|
129 | </TR> |
---|
130 | </TABLE> |
---|
131 | |
---|
132 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
133 | |
---|
134 | <A NAME="constructor_summary"><!-- --></A> |
---|
135 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
136 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
137 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
138 | <B>Constructor Summary</B></FONT></TH> |
---|
139 | </TR> |
---|
140 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
141 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/StringRpcServer.html#StringRpcServer(com.rabbitmq.client.Channel)">StringRpcServer</A></B>(<A HREF="../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A> channel)</CODE> |
---|
142 | |
---|
143 | <BR> |
---|
144 | </TD> |
---|
145 | </TR> |
---|
146 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
147 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/StringRpcServer.html#StringRpcServer(com.rabbitmq.client.Channel, java.lang.String)">StringRpcServer</A></B>(<A HREF="../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A> channel, |
---|
148 | java.lang.String queueName)</CODE> |
---|
149 | |
---|
150 | <BR> |
---|
151 | </TD> |
---|
152 | </TR> |
---|
153 | </TABLE> |
---|
154 | |
---|
155 | <!-- ========== METHOD SUMMARY =========== --> |
---|
156 | |
---|
157 | <A NAME="method_summary"><!-- --></A> |
---|
158 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
159 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
160 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
161 | <B>Method Summary</B></FONT></TH> |
---|
162 | </TR> |
---|
163 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
164 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
165 | <CODE> byte[]</CODE></FONT></TD> |
---|
166 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/StringRpcServer.html#handleCall(byte[], com.rabbitmq.client.AMQP.BasicProperties)">handleCall</A></B>(byte[] requestBody, |
---|
167 | <A HREF="../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</A> replyProperties)</CODE> |
---|
168 | |
---|
169 | <BR> |
---|
170 | Overridden to do UTF-8 processing, and delegate to |
---|
171 | handleStringCall.</TD> |
---|
172 | </TR> |
---|
173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
175 | <CODE> void</CODE></FONT></TD> |
---|
176 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/StringRpcServer.html#handleCast(byte[])">handleCast</A></B>(byte[] requestBody)</CODE> |
---|
177 | |
---|
178 | <BR> |
---|
179 | Overridden to do UTF-8 processing, and delegate to |
---|
180 | handleStringCast.</TD> |
---|
181 | </TR> |
---|
182 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
183 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
184 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
185 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/StringRpcServer.html#handleStringCall(java.lang.String)">handleStringCall</A></B>(java.lang.String request)</CODE> |
---|
186 | |
---|
187 | <BR> |
---|
188 | Default implementation - override in subclasses.</TD> |
---|
189 | </TR> |
---|
190 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
191 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
192 | <CODE> java.lang.String</CODE></FONT></TD> |
---|
193 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/StringRpcServer.html#handleStringCall(java.lang.String, com.rabbitmq.client.AMQP.BasicProperties)">handleStringCall</A></B>(java.lang.String request, |
---|
194 | <A HREF="../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</A> replyProperties)</CODE> |
---|
195 | |
---|
196 | <BR> |
---|
197 | Delegates to handleStringCall(String).</TD> |
---|
198 | </TR> |
---|
199 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
200 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
201 | <CODE> void</CODE></FONT></TD> |
---|
202 | <TD><CODE><B><A HREF="../../../com/rabbitmq/client/StringRpcServer.html#handleStringCast(java.lang.String)">handleStringCast</A></B>(java.lang.String requestBody)</CODE> |
---|
203 | |
---|
204 | <BR> |
---|
205 | Default implementation - override in subclasses.</TD> |
---|
206 | </TR> |
---|
207 | </TABLE> |
---|
208 | <A NAME="methods_inherited_from_class_com.rabbitmq.client.RpcServer"><!-- --></A> |
---|
209 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
210 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
211 | <TH ALIGN="left"><B>Methods inherited from class com.rabbitmq.client.<A HREF="../../../com/rabbitmq/client/RpcServer.html" title="class in com.rabbitmq.client">RpcServer</A></B></TH> |
---|
212 | </TR> |
---|
213 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
214 | <TD><CODE><A HREF="../../../com/rabbitmq/client/RpcServer.html#close()">close</A>, <A HREF="../../../com/rabbitmq/client/RpcServer.html#getChannel()">getChannel</A>, <A HREF="../../../com/rabbitmq/client/RpcServer.html#getQueueName()">getQueueName</A>, <A HREF="../../../com/rabbitmq/client/RpcServer.html#handleCall(com.rabbitmq.client.AMQP.BasicProperties, byte[], com.rabbitmq.client.AMQP.BasicProperties)">handleCall</A>, <A HREF="../../../com/rabbitmq/client/RpcServer.html#handleCall(com.rabbitmq.client.QueueingConsumer.Delivery, com.rabbitmq.client.AMQP.BasicProperties)">handleCall</A>, <A HREF="../../../com/rabbitmq/client/RpcServer.html#handleCast(com.rabbitmq.client.AMQP.BasicProperties, byte[])">handleCast</A>, <A HREF="../../../com/rabbitmq/client/RpcServer.html#handleCast(com.rabbitmq.client.QueueingConsumer.Delivery)">handleCast</A>, <A HREF="../../../com/rabbitmq/client/RpcServer.html#mainloop()">mainloop</A>, <A HREF="../../../com/rabbitmq/client/RpcServer.html#processRequest(com.rabbitmq.client.QueueingConsumer.Delivery)">processRequest</A>, <A HREF="../../../com/rabbitmq/client/RpcServer.html#setupConsumer()">setupConsumer</A>, <A HREF="../../../com/rabbitmq/client/RpcServer.html#terminateMainloop()">terminateMainloop</A></CODE></TD> |
---|
215 | </TR> |
---|
216 | </TABLE> |
---|
217 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
218 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
219 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
220 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
---|
221 | </TR> |
---|
222 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
223 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
---|
224 | </TR> |
---|
225 | </TABLE> |
---|
226 | |
---|
227 | <P> |
---|
228 | |
---|
229 | <!-- ============ FIELD DETAIL =========== --> |
---|
230 | |
---|
231 | <A NAME="field_detail"><!-- --></A> |
---|
232 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
233 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
234 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
235 | <B>Field Detail</B></FONT></TH> |
---|
236 | </TR> |
---|
237 | </TABLE> |
---|
238 | |
---|
239 | <A NAME="STRING_ENCODING"><!-- --></A><H3> |
---|
240 | STRING_ENCODING</H3> |
---|
241 | <PRE> |
---|
242 | public static java.lang.String <B>STRING_ENCODING</B></PRE> |
---|
243 | <DL> |
---|
244 | <DL> |
---|
245 | </DL> |
---|
246 | </DL> |
---|
247 | |
---|
248 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
249 | |
---|
250 | <A NAME="constructor_detail"><!-- --></A> |
---|
251 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
252 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
253 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
254 | <B>Constructor Detail</B></FONT></TH> |
---|
255 | </TR> |
---|
256 | </TABLE> |
---|
257 | |
---|
258 | <A NAME="StringRpcServer(com.rabbitmq.client.Channel)"><!-- --></A><H3> |
---|
259 | StringRpcServer</H3> |
---|
260 | <PRE> |
---|
261 | public <B>StringRpcServer</B>(<A HREF="../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A> channel) |
---|
262 | throws java.io.IOException</PRE> |
---|
263 | <DL> |
---|
264 | <DL> |
---|
265 | |
---|
266 | <DT><B>Throws:</B> |
---|
267 | <DD><CODE>java.io.IOException</CODE></DL> |
---|
268 | </DL> |
---|
269 | <HR> |
---|
270 | |
---|
271 | <A NAME="StringRpcServer(com.rabbitmq.client.Channel, java.lang.String)"><!-- --></A><H3> |
---|
272 | StringRpcServer</H3> |
---|
273 | <PRE> |
---|
274 | public <B>StringRpcServer</B>(<A HREF="../../../com/rabbitmq/client/Channel.html" title="interface in com.rabbitmq.client">Channel</A> channel, |
---|
275 | java.lang.String queueName) |
---|
276 | throws java.io.IOException</PRE> |
---|
277 | <DL> |
---|
278 | <DL> |
---|
279 | |
---|
280 | <DT><B>Throws:</B> |
---|
281 | <DD><CODE>java.io.IOException</CODE></DL> |
---|
282 | </DL> |
---|
283 | |
---|
284 | <!-- ============ METHOD DETAIL ========== --> |
---|
285 | |
---|
286 | <A NAME="method_detail"><!-- --></A> |
---|
287 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
288 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
289 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
290 | <B>Method Detail</B></FONT></TH> |
---|
291 | </TR> |
---|
292 | </TABLE> |
---|
293 | |
---|
294 | <A NAME="handleCall(byte[], com.rabbitmq.client.AMQP.BasicProperties)"><!-- --></A><H3> |
---|
295 | handleCall</H3> |
---|
296 | <PRE> |
---|
297 | public byte[] <B>handleCall</B>(byte[] requestBody, |
---|
298 | <A HREF="../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</A> replyProperties)</PRE> |
---|
299 | <DL> |
---|
300 | <DD>Overridden to do UTF-8 processing, and delegate to |
---|
301 | handleStringCall. If UTF-8 is not understood by this JVM, falls |
---|
302 | back to the platform default. |
---|
303 | <P> |
---|
304 | <DD><DL> |
---|
305 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/rabbitmq/client/RpcServer.html#handleCall(byte[], com.rabbitmq.client.AMQP.BasicProperties)">handleCall</A></CODE> in class <CODE><A HREF="../../../com/rabbitmq/client/RpcServer.html" title="class in com.rabbitmq.client">RpcServer</A></CODE></DL> |
---|
306 | </DD> |
---|
307 | <DD><DL> |
---|
308 | </DL> |
---|
309 | </DD> |
---|
310 | </DL> |
---|
311 | <HR> |
---|
312 | |
---|
313 | <A NAME="handleStringCall(java.lang.String, com.rabbitmq.client.AMQP.BasicProperties)"><!-- --></A><H3> |
---|
314 | handleStringCall</H3> |
---|
315 | <PRE> |
---|
316 | public java.lang.String <B>handleStringCall</B>(java.lang.String request, |
---|
317 | <A HREF="../../../com/rabbitmq/client/AMQP.BasicProperties.html" title="class in com.rabbitmq.client">AMQP.BasicProperties</A> replyProperties)</PRE> |
---|
318 | <DL> |
---|
319 | <DD>Delegates to handleStringCall(String). |
---|
320 | <P> |
---|
321 | <DD><DL> |
---|
322 | </DL> |
---|
323 | </DD> |
---|
324 | </DL> |
---|
325 | <HR> |
---|
326 | |
---|
327 | <A NAME="handleStringCall(java.lang.String)"><!-- --></A><H3> |
---|
328 | handleStringCall</H3> |
---|
329 | <PRE> |
---|
330 | public java.lang.String <B>handleStringCall</B>(java.lang.String request)</PRE> |
---|
331 | <DL> |
---|
332 | <DD>Default implementation - override in subclasses. Returns the empty string. |
---|
333 | <P> |
---|
334 | <DD><DL> |
---|
335 | </DL> |
---|
336 | </DD> |
---|
337 | </DL> |
---|
338 | <HR> |
---|
339 | |
---|
340 | <A NAME="handleCast(byte[])"><!-- --></A><H3> |
---|
341 | handleCast</H3> |
---|
342 | <PRE> |
---|
343 | public void <B>handleCast</B>(byte[] requestBody)</PRE> |
---|
344 | <DL> |
---|
345 | <DD>Overridden to do UTF-8 processing, and delegate to |
---|
346 | handleStringCast. If requestBody cannot be interpreted as UTF-8 |
---|
347 | tries the platform default. |
---|
348 | <P> |
---|
349 | <DD><DL> |
---|
350 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/rabbitmq/client/RpcServer.html#handleCast(byte[])">handleCast</A></CODE> in class <CODE><A HREF="../../../com/rabbitmq/client/RpcServer.html" title="class in com.rabbitmq.client">RpcServer</A></CODE></DL> |
---|
351 | </DD> |
---|
352 | <DD><DL> |
---|
353 | </DL> |
---|
354 | </DD> |
---|
355 | </DL> |
---|
356 | <HR> |
---|
357 | |
---|
358 | <A NAME="handleStringCast(java.lang.String)"><!-- --></A><H3> |
---|
359 | handleStringCast</H3> |
---|
360 | <PRE> |
---|
361 | public void <B>handleStringCast</B>(java.lang.String requestBody)</PRE> |
---|
362 | <DL> |
---|
363 | <DD>Default implementation - override in subclasses. Does nothing. |
---|
364 | <P> |
---|
365 | <DD><DL> |
---|
366 | </DL> |
---|
367 | </DD> |
---|
368 | </DL> |
---|
369 | <!-- ========= END OF CLASS DATA ========= --> |
---|
370 | <HR> |
---|
371 | |
---|
372 | |
---|
373 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
374 | <A NAME="navbar_bottom"><!-- --></A> |
---|
375 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
376 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
377 | <TR> |
---|
378 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
379 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
380 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
381 | <TR ALIGN="center" VALIGN="top"> |
---|
382 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
383 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
384 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
385 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
386 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
387 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
388 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
389 | </TR> |
---|
390 | </TABLE> |
---|
391 | </TD> |
---|
392 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
393 | </EM> |
---|
394 | </TD> |
---|
395 | </TR> |
---|
396 | |
---|
397 | <TR> |
---|
398 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
399 | <A HREF="../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client"><B>PREV CLASS</B></A> |
---|
400 | <A HREF="../../../com/rabbitmq/client/UnexpectedFrameError.html" title="class in com.rabbitmq.client"><B>NEXT CLASS</B></A></FONT></TD> |
---|
401 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
402 | <A HREF="../../../index.html?com/rabbitmq/client/StringRpcServer.html" target="_top"><B>FRAMES</B></A> |
---|
403 | <A HREF="StringRpcServer.html" target="_top"><B>NO FRAMES</B></A> |
---|
404 | <SCRIPT type="text/javascript"> |
---|
405 | <!-- |
---|
406 | if(window==top) { |
---|
407 | document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
408 | } |
---|
409 | //--> |
---|
410 | </SCRIPT> |
---|
411 | <NOSCRIPT> |
---|
412 | <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
413 | </NOSCRIPT> |
---|
414 | |
---|
415 | |
---|
416 | </FONT></TD> |
---|
417 | </TR> |
---|
418 | <TR> |
---|
419 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
420 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
421 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
422 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
423 | </TR> |
---|
424 | </TABLE> |
---|
425 | <A NAME="skip-navbar_bottom"></A> |
---|
426 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
427 | |
---|
428 | <HR> |
---|
429 | |
---|
430 | </BODY> |
---|
431 | </HTML> |
---|