📄 handlerchain.html
字号:
</TABLE><A NAME="handleRequest(javax.xml.rpc.handler.MessageContext)"><!-- --></A><H3>handleRequest</H3><PRE>public boolean <B>handleRequest</B>(<A HREF="../../../../javax/xml/rpc/handler/MessageContext.html" title="interface in javax.xml.rpc.handler">MessageContext</A> context)</PRE><DL><DD>The <code>handleRequest</code> method initiates the request processing for this handler chain.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - MessageContext parameter provides access to the request SOAP message.<DT><B>Returns:</B><DD>boolean Returns <code>true</code> if all handlers in chain have been processed. Returns <code>false</code> if a handler in the chain returned <code>false</code> from its handleRequest method.<DT><B>Throws:</B><DD><CODE>JAXRPCException</CODE> - if any processing error happens<DT><B>See Also:</B><DD><A HREF="../../../../javax/xml/rpc/handler/Handler.html#handleRequest(javax.xml.rpc.handler.MessageContext)"><CODE>Handler.handleRequest(javax.xml.rpc.handler.MessageContext)</CODE></A></DL></DD></DL><HR><A NAME="handleResponse(javax.xml.rpc.handler.MessageContext)"><!-- --></A><H3>handleResponse</H3><PRE>public boolean <B>handleResponse</B>(<A HREF="../../../../javax/xml/rpc/handler/MessageContext.html" title="interface in javax.xml.rpc.handler">MessageContext</A> context)</PRE><DL><DD>The <code>handleResponse</code> method initiates the response processing for this handler chain.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - MessageContext parameter provides access to the response SOAP message.<DT><B>Returns:</B><DD>boolean Returns <code>true</code> if all handlers in chain have been processed. Returns <code>false</code> if a handler in the chain returned <code>false</code> from its handleResponse method.<DT><B>Throws:</B><DD><CODE>JAXRPCException</CODE> - if any processing error happens<DT><B>See Also:</B><DD><A HREF="../../../../javax/xml/rpc/handler/Handler.html#handleResponse(javax.xml.rpc.handler.MessageContext)"><CODE>Handler.handleResponse(javax.xml.rpc.handler.MessageContext)</CODE></A></DL></DD></DL><HR><A NAME="handleFault(javax.xml.rpc.handler.MessageContext)"><!-- --></A><H3>handleFault</H3><PRE>public boolean <B>handleFault</B>(<A HREF="../../../../javax/xml/rpc/handler/MessageContext.html" title="interface in javax.xml.rpc.handler">MessageContext</A> context)</PRE><DL><DD>The <code>handleFault</code> method initiates the SOAP fault processing for this handler chain.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - MessageContext parameter provides access to the SOAP message.<DT><B>Returns:</B><DD>boolean Returns <code>true</code> if all handlers in chain have been processed. Returns <code>false</code> if a handler in the chain returned <code>false</code> from its handleFault method.<DT><B>Throws:</B><DD><CODE>JAXRPCException</CODE> - if any processing error happens<DT><B>See Also:</B><DD><A HREF="../../../../javax/xml/rpc/handler/Handler.html#handleFault(javax.xml.rpc.handler.MessageContext)"><CODE>Handler.handleFault(javax.xml.rpc.handler.MessageContext)</CODE></A></DL></DD></DL><HR><A NAME="init(java.util.Map)"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> config)</PRE><DL><DD>Initializes the configuration for a HandlerChain.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>config</CODE> - Configuration for the initialization of this handler chain<DT><B>Throws:</B><DD><CODE>JAXRPCException</CODE> - If any error during initialization</DL></DD></DL><HR><A NAME="destroy()"><!-- --></A><H3>destroy</H3><PRE>public void <B>destroy</B>()</PRE><DL><DD>Indicates the end of lifecycle for a HandlerChain.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>JAXRPCException</CODE> - If any error during destroy</DL></DD></DL><HR><A NAME="setRoles(java.lang.String[])"><!-- --></A><H3>setRoles</H3><PRE>public void <B>setRoles</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] soapActorNames)</PRE><DL><DD>Sets SOAP Actor roles for this <code>HandlerChain</code>. This specifies the set of roles in which this HandlerChain is to act for the SOAP message processing at this SOAP node. These roles assumed by a HandlerChain must be invariant during the processing of an individual SOAP message through the HandlerChain. <p>A <code>HandlerChain</code> always acts in the role of the special SOAP actor <code>next</code>. Refer to the SOAP specification for the URI name for this special SOAP actor. There is no need to set this special role using this method.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>soapActorNames</CODE> - URIs for SOAP actor name<DT><B>See Also:</B><DD><A HREF="../../../../javax/xml/rpc/NamespaceConstants.html" title="class in javax.xml.rpc"><CODE>NamespaceConstants</CODE></A></DL></DD></DL><HR><A NAME="getRoles()"><!-- --></A><H3>getRoles</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>getRoles</B>()</PRE><DL><DD>Gets SOAP actor roles registered for this HandlerChain at this SOAP node. The returned array includes the special SOAP actor <code>next</code>.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>String[] SOAP Actor roles as URIs<DT><B>See Also:</B><DD><A HREF="../../../../javax/xml/rpc/NamespaceConstants.html" title="class in javax.xml.rpc"><CODE>NamespaceConstants</CODE></A></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../javax/xml/rpc/handler/Handler.html" title="interface in javax.xml.rpc.handler"><B>PREV CLASS</B></A> <A HREF="../../../../javax/xml/rpc/handler/HandlerRegistry.html" title="interface in javax.xml.rpc.handler"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="HandlerChain.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -