本文整理汇总了Java中com.sun.xml.internal.ws.dump.MessageDumper.MessageType类的典型用法代码示例。如果您正苦于以下问题:Java MessageType类的具体用法?Java MessageType怎么用?Java MessageType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MessageType类属于com.sun.xml.internal.ws.dump.MessageDumper包,在下文中一共展示了MessageType类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: dump
import com.sun.xml.internal.ws.dump.MessageDumper.MessageType; //导入依赖的package包/类
protected final void dump(MessageType messageType, String message, String engineId) {
String logMessage;
if (messageDumpingFeature.getMessageLoggingStatus()) {
messageDumper.setLoggingLevel(messageDumpingFeature.getMessageLoggingLevel());
logMessage = messageDumper.dump(messageType, ProcessingState.Received, message, tubeId, engineId);
} else {
logMessage = messageDumper.createLogMessage(messageType, ProcessingState.Received, tubeId, engineId, message);
}
messageDumpingFeature.offerMessage(logMessage);
}
示例2: processRequest
import com.sun.xml.internal.ws.dump.MessageDumper.MessageType; //导入依赖的package包/类
@Override
public NextAction processRequest(Packet request) {
dump(MessageType.Request, Converter.toString(request), Fiber.current().owner.id);
return super.processRequest(request);
}
示例3: processResponse
import com.sun.xml.internal.ws.dump.MessageDumper.MessageType; //导入依赖的package包/类
@Override
public NextAction processResponse(Packet response) {
dump(MessageType.Response, Converter.toString(response), Fiber.current().owner.id);
return super.processResponse(response);
}
示例4: processException
import com.sun.xml.internal.ws.dump.MessageDumper.MessageType; //导入依赖的package包/类
@Override
public NextAction processException(Throwable t) {
dump(MessageType.Exception, Converter.toString(t), Fiber.current().owner.id);
return super.processException(t);
}