org.apache.axis.MessageContext.setCurrentMessage()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(106)

本文整理了Java中org.apache.axis.MessageContext.setCurrentMessage()方法的一些代码示例,展示了MessageContext.setCurrentMessage()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MessageContext.setCurrentMessage()方法的具体详情如下:
包路径:org.apache.axis.MessageContext
类名称:MessageContext
方法名:setCurrentMessage

MessageContext.setCurrentMessage介绍

[英]Set the current message. This will set the request before the pivot, and the response afterwards, as guaged by the passedPivod property.
[中]设置当前消息。这将在pivot之前设置请求,在pivot之后设置响应,正如passedPivod属性所描述的那样。

代码示例

代码示例来源:origin: axis/axis

/**
 * Sets the SOAPMessage for this message context.
 * This is equivalent to casting <code>message</code> to
 * <code>Message</code> and then passing it on to
 * <code>setCurrentMessage()</code>.
 *
 * @param message  the <code>SOAPMessage</code> this context is for
 */
public void setMessage(javax.xml.soap.SOAPMessage message) {
  setCurrentMessage((Message)message);
}

代码示例来源:origin: org.apache.axis/axis

/**
 * Sets the SOAPMessage for this message context.
 * This is equivalent to casting <code>message</code> to
 * <code>Message</code> and then passing it on to
 * <code>setCurrentMessage()</code>.
 *
 * @param message  the <code>SOAPMessage</code> this context is for
 */
public void setMessage(javax.xml.soap.SOAPMessage message) {
  setCurrentMessage((Message)message);
}

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

/**
 * Sets the SOAPMessage for this message context.
 * This is equivalent to casting <code>message</code> to
 * <code>Message</code> and then passing it on to
 * <code>setCurrentMessage()</code>.
 *
 * @param message  the <code>SOAPMessage</code> this context is for
 */
public void setMessage(javax.xml.soap.SOAPMessage message) {
  setCurrentMessage((Message)message);
}

相关文章

微信公众号

最新文章

更多

MessageContext类方法