Debian Codegraph @

docs/apiDocs/javax/xml/rpc/handler/MessageContext.html

raw
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.4.2_08) on Sat Apr 22 18:57:16 PDT 2006 -->
6 <TITLE>
7 MessageContext (Axis API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="javax.xml.rpc.handler.MessageContext interface">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="MessageContext (Axis API)";
18 }
19 </SCRIPT>
20
21 </HEAD>
22
23 <BODY BGCOLOR="white" onload="windowTitle();">
24
25
26 <!-- ========= START OF TOP NAVBAR ======= -->
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30 <TR>
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MessageContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43 </TR>
44 </TABLE>
45 </TD>
46 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47 </EM>
48 </TD>
49 </TR>
50
51 <TR>
52 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 &nbsp;<A HREF="../../../../javax/xml/rpc/handler/HandlerRegistry.html" title="interface in javax.xml.rpc.handler"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;NEXT CLASS</FONT></TD>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
57 &nbsp;<A HREF="MessageContext.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
58 &nbsp;<SCRIPT type="text/javascript">
59 <!--
60 if(window==top) {
61 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
62 }
63 //-->
64 </SCRIPT>
65 <NOSCRIPT>
66 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
67 </NOSCRIPT>
68
69 </FONT></TD>
70 </TR>
71 <TR>
72 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76 </TR>
77 </TABLE>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
80
81 <HR>
82 <!-- ======== START OF CLASS DATA ======== -->
83 <H2>
84 <FONT SIZE="-1">
85 javax.xml.rpc.handler</FONT>
86 <BR>
87 Interface MessageContext</H2>
88 <DL>
89 <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../javax/xml/rpc/handler/soap/SOAPMessageContext.html" title="interface in javax.xml.rpc.handler.soap">SOAPMessageContext</A></DD>
90 </DL>
91 <DL>
92 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A></DD>
93 </DL>
94 <HR>
95 <DL>
96 <DT>public interface <B>MessageContext</B></DL>
97
98 <P>
99 The interface <code>MessageContext</code> abstracts the message
100 context that is processed by a handler in the <code>handle</code>
101 method.
102
103 <p>The <code>MessageContext</code> interface provides methods to
104 manage a property set. <code>MessageContext</code> properties
105 enable handlers in a handler chain to share processing related
106 state.
107 <P>
108
109 <P>
110 <DL>
111 <DT><B>Version:</B></DT>
112 <DD>1.0</DD>
113 </DL>
114 <HR>
115
116 <P>
117 <!-- ======== NESTED CLASS SUMMARY ======== -->
118
119
120 <!-- =========== FIELD SUMMARY =========== -->
121
122
123 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
124
125
126 <!-- ========== METHOD SUMMARY =========== -->
127
128 <A NAME="method_summary"><!-- --></A>
129 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
130 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
131 <TD COLSPAN=2><FONT SIZE="+2">
132 <B>Method Summary</B></FONT></TD>
133 </TR>
134 <TR BGCOLOR="white" CLASS="TableRowColor">
135 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136 <CODE>&nbsp;boolean</CODE></FONT></TD>
137 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/handler/MessageContext.html#containsProperty(java.lang.String)">containsProperty</A></B>(java.lang.String&nbsp;name)</CODE>
138
139 <BR>
140 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the <code>MessageContext</code> contains a property
141 with the specified name.</TD>
142 </TR>
143 <TR BGCOLOR="white" CLASS="TableRowColor">
144 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145 <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
146 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/handler/MessageContext.html#getProperty(java.lang.String)">getProperty</A></B>(java.lang.String&nbsp;name)</CODE>
147
148 <BR>
149 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the value of a specific property from the
150 <code>MessageContext</code>.</TD>
151 </TR>
152 <TR BGCOLOR="white" CLASS="TableRowColor">
153 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
155 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/handler/MessageContext.html#getPropertyNames()">getPropertyNames</A></B>()</CODE>
156
157 <BR>
158 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an Iterator view of the names of the properties
159 in this <code>MessageContext</code>.</TD>
160 </TR>
161 <TR BGCOLOR="white" CLASS="TableRowColor">
162 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163 <CODE>&nbsp;void</CODE></FONT></TD>
164 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/handler/MessageContext.html#removeProperty(java.lang.String)">removeProperty</A></B>(java.lang.String&nbsp;name)</CODE>
165
166 <BR>
167 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a property (name-value pair) from the
168 <code>MessageContext</code>.</TD>
169 </TR>
170 <TR BGCOLOR="white" CLASS="TableRowColor">
171 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172 <CODE>&nbsp;void</CODE></FONT></TD>
173 <TD><CODE><B><A HREF="../../../../javax/xml/rpc/handler/MessageContext.html#setProperty(java.lang.String, java.lang.Object)">setProperty</A></B>(java.lang.String&nbsp;name,
174 java.lang.Object&nbsp;value)</CODE>
175
176 <BR>
177 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name and value of a property associated with the
178 <code>MessageContext</code>.</TD>
179 </TR>
180 </TABLE>
181 &nbsp;
182 <P>
183
184 <!-- ============ FIELD DETAIL =========== -->
185
186
187 <!-- ========= CONSTRUCTOR DETAIL ======== -->
188
189
190 <!-- ============ METHOD DETAIL ========== -->
191
192 <A NAME="method_detail"><!-- --></A>
193 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
194 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
195 <TD COLSPAN=1><FONT SIZE="+2">
196 <B>Method Detail</B></FONT></TD>
197 </TR>
198 </TABLE>
199
200 <A NAME="setProperty(java.lang.String, java.lang.Object)"><!-- --></A><H3>
201 setProperty</H3>
202 <PRE>
203 public void <B>setProperty</B>(java.lang.String&nbsp;name,
204 java.lang.Object&nbsp;value)</PRE>
205 <DL>
206 <DD>Sets the name and value of a property associated with the
207 <code>MessageContext</code>. If the <code>MessageContext</code>
208 contains a value of the same property, the old value is replaced.
209 <P>
210 <DD><DL>
211 <DT><B>Parameters:</B><DD><CODE>name</CODE> - ame of the property associated with the
212 <code>MessageContext</code><DD><CODE>value</CODE> - Value of the property
213 <DT><B>Throws:</B>
214 <DD><CODE>java.lang.IllegalArgumentException</CODE> - If some aspect
215 the property is prevents it from being stored
216 in the context
217 <DD><CODE>java.lang.UnsupportedOperationException</CODE> - If this method is
218 not supported.</DL>
219 </DD>
220 </DL>
221 <HR>
222
223 <A NAME="getProperty(java.lang.String)"><!-- --></A><H3>
224 getProperty</H3>
225 <PRE>
226 public java.lang.Object <B>getProperty</B>(java.lang.String&nbsp;name)</PRE>
227 <DL>
228 <DD>Gets the value of a specific property from the
229 <code>MessageContext</code>.
230 <P>
231 <DD><DL>
232 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property whose value is to be
233 retrieved
234 <DT><B>Returns:</B><DD>the value of the property
235 <DT><B>Throws:</B>
236 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if an illegal
237 property name is specified</DL>
238 </DD>
239 </DL>
240 <HR>
241
242 <A NAME="removeProperty(java.lang.String)"><!-- --></A><H3>
243 removeProperty</H3>
244 <PRE>
245 public void <B>removeProperty</B>(java.lang.String&nbsp;name)</PRE>
246 <DL>
247 <DD>Removes a property (name-value pair) from the
248 <code>MessageContext</code>.
249 <P>
250 <DD><DL>
251 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property to be removed
252 <DT><B>Throws:</B>
253 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if an illegal
254 property name is specified</DL>
255 </DD>
256 </DL>
257 <HR>
258
259 <A NAME="containsProperty(java.lang.String)"><!-- --></A><H3>
260 containsProperty</H3>
261 <PRE>
262 public boolean <B>containsProperty</B>(java.lang.String&nbsp;name)</PRE>
263 <DL>
264 <DD>Returns true if the <code>MessageContext</code> contains a property
265 with the specified name.
266 <P>
267 <DD><DL>
268 <DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the property whose presense is to be tested
269 <DT><B>Returns:</B><DD>Returns true if the MessageContext contains the
270 property; otherwise false</DL>
271 </DD>
272 </DL>
273 <HR>
274
275 <A NAME="getPropertyNames()"><!-- --></A><H3>
276 getPropertyNames</H3>
277 <PRE>
278 public java.util.Iterator <B>getPropertyNames</B>()</PRE>
279 <DL>
280 <DD>Returns an Iterator view of the names of the properties
281 in this <code>MessageContext</code>.
282 <P>
283 <DD><DL>
284
285 <DT><B>Returns:</B><DD>Iterator for the property names</DL>
286 </DD>
287 </DL>
288 <!-- ========= END OF CLASS DATA ========= -->
289 <HR>
290
291
292 <!-- ======= START OF BOTTOM NAVBAR ====== -->
293 <A NAME="navbar_bottom"><!-- --></A>
294 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
295 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
296 <TR>
297 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
298 <A NAME="navbar_bottom_firstrow"><!-- --></A>
299 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
300 <TR ALIGN="center" VALIGN="top">
301 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
302 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
303 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
304 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MessageContext.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
305 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
306 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
307 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
308 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
309 </TR>
310 </TABLE>
311 </TD>
312 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
313 </EM>
314 </TD>
315 </TR>
316
317 <TR>
318 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
319 &nbsp;<A HREF="../../../../javax/xml/rpc/handler/HandlerRegistry.html" title="interface in javax.xml.rpc.handler"><B>PREV CLASS</B></A>&nbsp;
320 &nbsp;NEXT CLASS</FONT></TD>
321 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
322 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
323 &nbsp;<A HREF="MessageContext.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
324 &nbsp;<SCRIPT type="text/javascript">
325 <!--
326 if(window==top) {
327 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
328 }
329 //-->
330 </SCRIPT>
331 <NOSCRIPT>
332 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
333 </NOSCRIPT>
334
335 </FONT></TD>
336 </TR>
337 <TR>
338 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
339 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
340 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
341 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
342 </TR>
343 </TABLE>
344 <A NAME="skip-navbar_bottom"></A>
345 <!-- ======== END OF BOTTOM NAVBAR ======= -->
346
347 <HR>
348 Copyright © 2005 Apache Web Services Project. All Rights Reserved.
349 </BODY>
350 </HTML>