⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 generichandler.html

📁 j2ee api,很好的api。我这现在有
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></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>&nbsp;context)</PRE><DL><DD>The <code>handleRequest</code> method processes the request   SOAP message. The default implementation of this method returns   <code>true</code>. This indicates that the handler chain  should continue processing of the request SOAP message.  This method should be overridden if the derived Handler class  needs to specialize implementation of this method.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html#handleRequest(javax.xml.rpc.handler.MessageContext)">handleRequest</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html" title="interface in javax.xml.rpc.handler">Handler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - <code>MessageContext</code> parameter provides                  access to the request message.<DT><B>Returns:</B><DD>boolean Indicates the processing mode                 <UL>                 <LI>Return <code>true</code> to indicate continued                      processing of the request handler chain. The                      <code>HandlerChain</code>                     takes the responsibility of invoking the next                      entity. The next entity may be the next handler                      in the <code>HandlerChain</code> or if this                      handler is the last handler in the chain, the                      next entity is the service endpoint object.                 <LI>Return <code>false</code> to indicate blocking                      of the request handler chain. In this case,                      further processing of the request handler chain                     is blocked and the target service endpoint is                      not dispatched. The JAX-RPC runtime system takes                     the responsibility of invoking the response                      handler chain next with the SOAPMessageContext.                      The Handler implementation class has the the                      responsibility of setting the appropriate response                     SOAP message in either handleRequest and/or                      handleResponse method. In the default processing                     model, the response handler chain starts processing                     from the same Handler instance (that returned false)                     and goes backward in the execution sequence.                  </UL><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>&nbsp;context)</PRE><DL><DD>The <code>handleResponse</code> method processes the response   message. The default implementation of this method returns   <code>true</code>. This indicates that the handler chain  should continue processing of the response SOAP message.  This method should be overridden if the derived Handler class   needs to specialize implementation of this method.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html#handleResponse(javax.xml.rpc.handler.MessageContext)">handleResponse</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html" title="interface in javax.xml.rpc.handler">Handler</A></CODE></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 Indicates the processing mode                 <UL>                 <LI>Return <code>true</code> to indicate continued                      processing ofthe response handler chain. The                      HandlerChain invokes the <code>handleResponse</code>                     method on the next <code>Handler</code> in                      the handler chain.                 <LI>Return <code>false</code> to indicate blocking                      of the response handler chain. In this case, no                     other response handlers in the handler chain                      are invoked.                 </UL><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>&nbsp;context)</PRE><DL><DD>The <code>handleFault</code> method processes the SOAP faults   based on the SOAP message processing model. The default  implementation of this method returns <code>true</code>. This   indicates that the handler chain should continue processing  of the SOAP fault. This method should be overridden if  the derived Handler class needs to specialize implementation  of this method.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html#handleFault(javax.xml.rpc.handler.MessageContext)">handleFault</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html" title="interface in javax.xml.rpc.handler">Handler</A></CODE></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 Indicates the processing mode                 <UL>                 <LI>Return <code>true</code> to indicate continued                      processing of SOAP Fault. The HandlerChain invokes                     the <code>handleFault</code> method on the                      next <code>Handler</code> in the handler chain.                 <LI>Return <code>false</code> to indicate end                      of the SOAP fault processing. In this case, no                      other handlers in the handler chain                      are invoked.                 </UL><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(javax.xml.rpc.handler.HandlerInfo)"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>(<A HREF="../../../../javax/xml/rpc/handler/HandlerInfo.html" title="class in javax.xml.rpc.handler">HandlerInfo</A>&nbsp;config)</PRE><DL><DD>The <code>init</code> method to enable the Handler instance to   initialize itself. This method should be overridden if  the derived Handler class needs to specialize implementation  of this method.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html#init(javax.xml.rpc.handler.HandlerInfo)">init</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html" title="interface in javax.xml.rpc.handler">Handler</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../javax/xml/rpc/handler/Handler.html#init(javax.xml.rpc.handler.HandlerInfo)"><CODE>Handler.init(javax.xml.rpc.handler.HandlerInfo)</CODE></A></DL></DD></DL><HR><A NAME="destroy()"><!-- --></A><H3>destroy</H3><PRE>public void <B>destroy</B>()</PRE><DL><DD>The <code>destroy</code> method indicates the end of lifecycle   for a Handler instance. This method should be overridden if  the derived Handler class needs to specialize implementation  of this method.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html#destroy()">destroy</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html" title="interface in javax.xml.rpc.handler">Handler</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../javax/xml/rpc/handler/Handler.html#destroy()"><CODE>Handler.destroy()</CODE></A></DL></DD></DL><HR><A NAME="getHeaders()"><!-- --></A><H3>getHeaders</H3><PRE>public abstract <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A>[] <B>getHeaders</B>()</PRE><DL><DD>Gets the header blocks processed by this Handler instance.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html#getHeaders()">getHeaders</A></CODE> in interface <CODE><A HREF="../../../../javax/xml/rpc/handler/Handler.html" title="interface in javax.xml.rpc.handler">Handler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Array of QNames of header blocks processed by this           handler instance. <code>QName</code> is the qualified            name of the outermost element of the Header block.</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../javax/xml/rpc/handler/HandlerInfo.html" title="class 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>  &nbsp;&nbsp;<A HREF="GenericHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -