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.