Java Code Examples for com.sun.xml.internal.ws.api.addressing.AddressingVersion#values()

The following examples show how to use com.sun.xml.internal.ws.api.addressing.AddressingVersion#values() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Fiber.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
private void dumpFiberContext(String desc) {
    if(isTraceEnabled()) {
        String action = null;
        String msgId = null;
        if (packet != null) {
            for (SOAPVersion sv: SOAPVersion.values()) {
                for (AddressingVersion av: AddressingVersion.values()) {
                    action = packet.getMessage() != null ? AddressingUtils.getAction(packet.getMessage().getHeaders(), av, sv) : null;
                    msgId = packet.getMessage() != null ? AddressingUtils.getMessageID(packet.getMessage().getHeaders(), av, sv) : null;
                    if (action != null || msgId != null) {
                       break;
                    }
                }
                if (action != null || msgId != null) {
                    break;
                }
            }
        }
        String actionAndMsgDesc;
        if (action == null && msgId == null) {
            actionAndMsgDesc = "NO ACTION or MSG ID";
        } else {
            actionAndMsgDesc = "'" + action + "' and msgId '" + msgId + "'";
        }

        String tubeDesc;
        if (next != null) {
            tubeDesc = next.toString() + ".processRequest()";
        } else {
            tubeDesc = peekCont() + ".processResponse()";
        }

        LOGGER.log(Level.FINE, "{0} {1} with {2} and ''current'' tube {3} from thread {4} with Packet: {5}", new Object[]{getName(), desc, actionAndMsgDesc, tubeDesc, Thread.currentThread().getName(), packet != null ? packet.toShortString() : null});
    }
}
 
Example 2
Source File: WsaTube.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
private void addKnownHeadersToBinding(WSBinding binding) {
    for (AddressingVersion addrVersion: AddressingVersion.values()) {
      binding.addKnownHeader(addrVersion.actionTag);
      binding.addKnownHeader(addrVersion.faultDetailTag);
      binding.addKnownHeader(addrVersion.faultToTag);
      binding.addKnownHeader(addrVersion.fromTag);
      binding.addKnownHeader(addrVersion.messageIDTag);
      binding.addKnownHeader(addrVersion.relatesToTag);
      binding.addKnownHeader(addrVersion.replyToTag);
      binding.addKnownHeader(addrVersion.toTag);
    }
}
 
Example 3
Source File: Fiber.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
private void dumpFiberContext(String desc) {
    if(isTraceEnabled()) {
        String action = null;
        String msgId = null;
        if (packet != null) {
            for (SOAPVersion sv: SOAPVersion.values()) {
                for (AddressingVersion av: AddressingVersion.values()) {
                    action = packet.getMessage() != null ? AddressingUtils.getAction(packet.getMessage().getHeaders(), av, sv) : null;
                    msgId = packet.getMessage() != null ? AddressingUtils.getMessageID(packet.getMessage().getHeaders(), av, sv) : null;
                    if (action != null || msgId != null) {
                       break;
                    }
                }
                if (action != null || msgId != null) {
                    break;
                }
            }
        }
        String actionAndMsgDesc;
        if (action == null && msgId == null) {
            actionAndMsgDesc = "NO ACTION or MSG ID";
        } else {
            actionAndMsgDesc = "'" + action + "' and msgId '" + msgId + "'";
        }

        String tubeDesc;
        if (next != null) {
            tubeDesc = next.toString() + ".processRequest()";
        } else {
            tubeDesc = peekCont() + ".processResponse()";
        }

        LOGGER.log(Level.FINE, "{0} {1} with {2} and ''current'' tube {3} from thread {4} with Packet: {5}", new Object[]{getName(), desc, actionAndMsgDesc, tubeDesc, Thread.currentThread().getName(), packet != null ? packet.toShortString() : null});
    }
}
 
Example 4
Source File: WsaTube.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
private void addKnownHeadersToBinding(WSBinding binding) {
    for (AddressingVersion addrVersion: AddressingVersion.values()) {
      binding.addKnownHeader(addrVersion.actionTag);
      binding.addKnownHeader(addrVersion.faultDetailTag);
      binding.addKnownHeader(addrVersion.faultToTag);
      binding.addKnownHeader(addrVersion.fromTag);
      binding.addKnownHeader(addrVersion.messageIDTag);
      binding.addKnownHeader(addrVersion.relatesToTag);
      binding.addKnownHeader(addrVersion.replyToTag);
      binding.addKnownHeader(addrVersion.toTag);
    }
}
 
Example 5
Source File: Fiber.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
private void dumpFiberContext(String desc) {
    if(isTraceEnabled()) {
        String action = null;
        String msgId = null;
        if (packet != null) {
            for (SOAPVersion sv: SOAPVersion.values()) {
                for (AddressingVersion av: AddressingVersion.values()) {
                    action = packet.getMessage() != null ? AddressingUtils.getAction(packet.getMessage().getHeaders(), av, sv) : null;
                    msgId = packet.getMessage() != null ? AddressingUtils.getMessageID(packet.getMessage().getHeaders(), av, sv) : null;
                    if (action != null || msgId != null) {
                       break;
                    }
                }
                if (action != null || msgId != null) {
                    break;
                }
            }
        }
        String actionAndMsgDesc;
        if (action == null && msgId == null) {
            actionAndMsgDesc = "NO ACTION or MSG ID";
        } else {
            actionAndMsgDesc = "'" + action + "' and msgId '" + msgId + "'";
        }

        String tubeDesc;
        if (next != null) {
            tubeDesc = next.toString() + ".processRequest()";
        } else {
            tubeDesc = peekCont() + ".processResponse()";
        }

        LOGGER.log(Level.FINE, "{0} {1} with {2} and ''current'' tube {3} from thread {4} with Packet: {5}", new Object[]{getName(), desc, actionAndMsgDesc, tubeDesc, Thread.currentThread().getName(), packet != null ? packet.toShortString() : null});
    }
}
 
Example 6
Source File: WsaTube.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
private void addKnownHeadersToBinding(WSBinding binding) {
    for (AddressingVersion addrVersion: AddressingVersion.values()) {
      binding.addKnownHeader(addrVersion.actionTag);
      binding.addKnownHeader(addrVersion.faultDetailTag);
      binding.addKnownHeader(addrVersion.faultToTag);
      binding.addKnownHeader(addrVersion.fromTag);
      binding.addKnownHeader(addrVersion.messageIDTag);
      binding.addKnownHeader(addrVersion.relatesToTag);
      binding.addKnownHeader(addrVersion.replyToTag);
      binding.addKnownHeader(addrVersion.toTag);
    }
}
 
Example 7
Source File: Fiber.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
private void dumpFiberContext(String desc) {
    if(isTraceEnabled()) {
        String action = null;
        String msgId = null;
        if (packet != null) {
            for (SOAPVersion sv: SOAPVersion.values()) {
                for (AddressingVersion av: AddressingVersion.values()) {
                    action = packet.getMessage() != null ? AddressingUtils.getAction(packet.getMessage().getHeaders(), av, sv) : null;
                    msgId = packet.getMessage() != null ? AddressingUtils.getMessageID(packet.getMessage().getHeaders(), av, sv) : null;
                    if (action != null || msgId != null) {
                       break;
                    }
                }
                if (action != null || msgId != null) {
                    break;
                }
            }
        }
        String actionAndMsgDesc;
        if (action == null && msgId == null) {
            actionAndMsgDesc = "NO ACTION or MSG ID";
        } else {
            actionAndMsgDesc = "'" + action + "' and msgId '" + msgId + "'";
        }

        String tubeDesc;
        if (next != null) {
            tubeDesc = next.toString() + ".processRequest()";
        } else {
            tubeDesc = peekCont() + ".processResponse()";
        }

        LOGGER.log(Level.FINE, "{0} {1} with {2} and ''current'' tube {3} from thread {4} with Packet: {5}", new Object[]{getName(), desc, actionAndMsgDesc, tubeDesc, Thread.currentThread().getName(), packet != null ? packet.toShortString() : null});
    }
}
 
Example 8
Source File: WsaTube.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
private void addKnownHeadersToBinding(WSBinding binding) {
    for (AddressingVersion addrVersion: AddressingVersion.values()) {
      binding.addKnownHeader(addrVersion.actionTag);
      binding.addKnownHeader(addrVersion.faultDetailTag);
      binding.addKnownHeader(addrVersion.faultToTag);
      binding.addKnownHeader(addrVersion.fromTag);
      binding.addKnownHeader(addrVersion.messageIDTag);
      binding.addKnownHeader(addrVersion.relatesToTag);
      binding.addKnownHeader(addrVersion.replyToTag);
      binding.addKnownHeader(addrVersion.toTag);
    }
}
 
Example 9
Source File: Fiber.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
private void dumpFiberContext(String desc) {
    if(isTraceEnabled()) {
        String action = null;
        String msgId = null;
        if (packet != null) {
            for (SOAPVersion sv: SOAPVersion.values()) {
                for (AddressingVersion av: AddressingVersion.values()) {
                    action = packet.getMessage() != null ? AddressingUtils.getAction(packet.getMessage().getHeaders(), av, sv) : null;
                    msgId = packet.getMessage() != null ? AddressingUtils.getMessageID(packet.getMessage().getHeaders(), av, sv) : null;
                    if (action != null || msgId != null) {
                       break;
                    }
                }
                if (action != null || msgId != null) {
                    break;
                }
            }
        }
        String actionAndMsgDesc;
        if (action == null && msgId == null) {
            actionAndMsgDesc = "NO ACTION or MSG ID";
        } else {
            actionAndMsgDesc = "'" + action + "' and msgId '" + msgId + "'";
        }

        String tubeDesc;
        if (next != null) {
            tubeDesc = next.toString() + ".processRequest()";
        } else {
            tubeDesc = peekCont() + ".processResponse()";
        }

        LOGGER.log(Level.FINE, "{0} {1} with {2} and ''current'' tube {3} from thread {4} with Packet: {5}", new Object[]{getName(), desc, actionAndMsgDesc, tubeDesc, Thread.currentThread().getName(), packet != null ? packet.toShortString() : null});
    }
}
 
Example 10
Source File: WsaTube.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
private void addKnownHeadersToBinding(WSBinding binding) {
    for (AddressingVersion addrVersion: AddressingVersion.values()) {
      binding.addKnownHeader(addrVersion.actionTag);
      binding.addKnownHeader(addrVersion.faultDetailTag);
      binding.addKnownHeader(addrVersion.faultToTag);
      binding.addKnownHeader(addrVersion.fromTag);
      binding.addKnownHeader(addrVersion.messageIDTag);
      binding.addKnownHeader(addrVersion.relatesToTag);
      binding.addKnownHeader(addrVersion.replyToTag);
      binding.addKnownHeader(addrVersion.toTag);
    }
}
 
Example 11
Source File: Fiber.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
private void dumpFiberContext(String desc) {
    if(isTraceEnabled()) {
        String action = null;
        String msgId = null;
        if (packet != null) {
            for (SOAPVersion sv: SOAPVersion.values()) {
                for (AddressingVersion av: AddressingVersion.values()) {
                    action = packet.getMessage() != null ? AddressingUtils.getAction(packet.getMessage().getHeaders(), av, sv) : null;
                    msgId = packet.getMessage() != null ? AddressingUtils.getMessageID(packet.getMessage().getHeaders(), av, sv) : null;
                    if (action != null || msgId != null) {
                       break;
                    }
                }
                if (action != null || msgId != null) {
                    break;
                }
            }
        }
        String actionAndMsgDesc;
        if (action == null && msgId == null) {
            actionAndMsgDesc = "NO ACTION or MSG ID";
        } else {
            actionAndMsgDesc = "'" + action + "' and msgId '" + msgId + "'";
        }

        String tubeDesc;
        if (next != null) {
            tubeDesc = next.toString() + ".processRequest()";
        } else {
            tubeDesc = peekCont() + ".processResponse()";
        }

        LOGGER.log(Level.FINE, "{0} {1} with {2} and ''current'' tube {3} from thread {4} with Packet: {5}", new Object[]{getName(), desc, actionAndMsgDesc, tubeDesc, Thread.currentThread().getName(), packet != null ? packet.toShortString() : null});
    }
}
 
Example 12
Source File: WsaTube.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
private void addKnownHeadersToBinding(WSBinding binding) {
    for (AddressingVersion addrVersion: AddressingVersion.values()) {
      binding.addKnownHeader(addrVersion.actionTag);
      binding.addKnownHeader(addrVersion.faultDetailTag);
      binding.addKnownHeader(addrVersion.faultToTag);
      binding.addKnownHeader(addrVersion.fromTag);
      binding.addKnownHeader(addrVersion.messageIDTag);
      binding.addKnownHeader(addrVersion.relatesToTag);
      binding.addKnownHeader(addrVersion.replyToTag);
      binding.addKnownHeader(addrVersion.toTag);
    }
}
 
Example 13
Source File: Fiber.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
private void dumpFiberContext(String desc) {
    if(isTraceEnabled()) {
        String action = null;
        String msgId = null;
        if (packet != null) {
            for (SOAPVersion sv: SOAPVersion.values()) {
                for (AddressingVersion av: AddressingVersion.values()) {
                    action = packet.getMessage() != null ? AddressingUtils.getAction(packet.getMessage().getHeaders(), av, sv) : null;
                    msgId = packet.getMessage() != null ? AddressingUtils.getMessageID(packet.getMessage().getHeaders(), av, sv) : null;
                    if (action != null || msgId != null) {
                       break;
                    }
                }
                if (action != null || msgId != null) {
                    break;
                }
            }
        }
        String actionAndMsgDesc;
        if (action == null && msgId == null) {
            actionAndMsgDesc = "NO ACTION or MSG ID";
        } else {
            actionAndMsgDesc = "'" + action + "' and msgId '" + msgId + "'";
        }

        String tubeDesc;
        if (next != null) {
            tubeDesc = next.toString() + ".processRequest()";
        } else {
            tubeDesc = peekCont() + ".processResponse()";
        }

        LOGGER.log(Level.FINE, "{0} {1} with {2} and ''current'' tube {3} from thread {4} with Packet: {5}", new Object[]{getName(), desc, actionAndMsgDesc, tubeDesc, Thread.currentThread().getName(), packet != null ? packet.toShortString() : null});
    }
}
 
Example 14
Source File: WsaTube.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
private void addKnownHeadersToBinding(WSBinding binding) {
    for (AddressingVersion addrVersion: AddressingVersion.values()) {
      binding.addKnownHeader(addrVersion.actionTag);
      binding.addKnownHeader(addrVersion.faultDetailTag);
      binding.addKnownHeader(addrVersion.faultToTag);
      binding.addKnownHeader(addrVersion.fromTag);
      binding.addKnownHeader(addrVersion.messageIDTag);
      binding.addKnownHeader(addrVersion.relatesToTag);
      binding.addKnownHeader(addrVersion.replyToTag);
      binding.addKnownHeader(addrVersion.toTag);
    }
}
 
Example 15
Source File: Fiber.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
private void dumpFiberContext(String desc) {
    if(isTraceEnabled()) {
        String action = null;
        String msgId = null;
        if (packet != null) {
            for (SOAPVersion sv: SOAPVersion.values()) {
                for (AddressingVersion av: AddressingVersion.values()) {
                    action = packet.getMessage() != null ? AddressingUtils.getAction(packet.getMessage().getHeaders(), av, sv) : null;
                    msgId = packet.getMessage() != null ? AddressingUtils.getMessageID(packet.getMessage().getHeaders(), av, sv) : null;
                    if (action != null || msgId != null) {
                       break;
                    }
                }
                if (action != null || msgId != null) {
                    break;
                }
            }
        }
        String actionAndMsgDesc;
        if (action == null && msgId == null) {
            actionAndMsgDesc = "NO ACTION or MSG ID";
        } else {
            actionAndMsgDesc = "'" + action + "' and msgId '" + msgId + "'";
        }

        String tubeDesc;
        if (next != null) {
            tubeDesc = next.toString() + ".processRequest()";
        } else {
            tubeDesc = peekCont() + ".processResponse()";
        }

        LOGGER.log(Level.FINE, "{0} {1} with {2} and ''current'' tube {3} from thread {4} with Packet: {5}", new Object[]{getName(), desc, actionAndMsgDesc, tubeDesc, Thread.currentThread().getName(), packet != null ? packet.toShortString() : null});
    }
}
 
Example 16
Source File: WsaTube.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
private void addKnownHeadersToBinding(WSBinding binding) {
    for (AddressingVersion addrVersion: AddressingVersion.values()) {
      binding.addKnownHeader(addrVersion.actionTag);
      binding.addKnownHeader(addrVersion.faultDetailTag);
      binding.addKnownHeader(addrVersion.faultToTag);
      binding.addKnownHeader(addrVersion.fromTag);
      binding.addKnownHeader(addrVersion.messageIDTag);
      binding.addKnownHeader(addrVersion.relatesToTag);
      binding.addKnownHeader(addrVersion.replyToTag);
      binding.addKnownHeader(addrVersion.toTag);
    }
}