public interface Handler<C extends MessageContext> 
      Handler接口是JAX-WS处理程序的基本界面。 
      | Modifier and Type | Method and Description | 
|---|---|
| void | close(MessageContext context)
              在JAX-WS运行时间发送消息,故障或异常之前,在消息交换模式的结束时调用。 
             | 
| boolean | handleFault(C context)
              调用 
              handleFault方法进行故障消息处理。 | 
| boolean | handleMessage(C context)handleMessage方法被调用用于正常处理入站和出站邮件。 | 
boolean handleMessage(C context)
handleMessage方法被调用用于正常处理入站和出站邮件。 
           有关详细信息,请参阅JAX-WS规范中的处理程序框架的描述。 
          context - 消息上下文。 
           true继续处理。 false进行块处理。 RuntimeException - 使JAX-WS运行时停止处理程序处理并产生故障。 
           ProtocolException - 使JAX-WS运行时切换到故障消息处理。 
           boolean handleFault(C context)
handleFault方法进行故障消息处理。 
           有关详细信息,请参阅JAX-WS规范中的处理程序框架的描述。 
          context - 消息上下文 
           true继续处理。 false进行块处理。 RuntimeException - 导致JAX-WS运行时停止处理程序故障处理并分派故障。 
           ProtocolException - 使JAX-WS运行时停止处理程序故障处理并分发故障。 
           void close(MessageContext context)
context - 消息上下文 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.