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