public Set<Entry<String, Object>> entrySet() { return message.entrySet(); }
public Set<Entry<String, Object>> entrySet() { return message.entrySet(); }
public Set<Entry<String, Object>> entrySet() { return message.entrySet(); }
public Set<Entry<String, Object>> entrySet() { return message.entrySet(); }
public void extractJaxWsContext(org.apache.cxf.message.Exchange cxfExchange, Map<String, Object> context) { org.apache.cxf.message.Message inMessage = cxfExchange.getInMessage(); for (Map.Entry<String, Object> entry : inMessage.entrySet()) { if (entry.getKey().startsWith("javax.xml.ws")) { context.put(entry.getKey(), entry.getValue()); } } }
private void addPropertiesFrom(ExchangeData exchange, Message message) { for (Map.Entry<String, Object> entry : message.entrySet()) { if (entry.getKey().equals(org.apache.cxf.message.Message.ENCODING)) { exchange.setEncoding((String)entry.getValue()); } else if (entry.getKey().equals(org.apache.cxf.message.Message.REQUEST_URI)) { exchange.setUri((String)entry.getValue()); } else if (entry.getKey().equals(org.apache.cxf.message.Message.PROTOCOL_HEADERS)) { if (entry.getValue() instanceof Map) { List<?> userAgents = (List<?>)((Map<?, ?>)entry.getValue()).get("user-agent"); if (userAgents != null && !userAgents.isEmpty()) { exchange.setUserAgent(userAgents.get(0).toString()); } } if (entry.getValue() != null) { addProperty(exchange, entry.getKey(), entry.getValue().toString()); } } else if (entry.getKey().startsWith("org.apache.cxf.message.Message.") && (entry.getValue() instanceof String || entry.getValue() instanceof Integer || entry .getValue() instanceof Boolean)) { addProperty(exchange, entry.getKey(), entry.getValue().toString()); } else if (entry.getKey().startsWith(CXF_CONSOLE_ADDITIONAL_PROPERTY_PREFIX)) { addProperty(exchange, entry.getKey().substring( CXF_CONSOLE_ADDITIONAL_PROPERTY_PREFIX .length()), entry.getValue().toString()); } } }
public void copy(Message message, Message copy) { Set<String> filter = CastUtils.cast((Set<?>)message.get(MESSAGE_FILTER_PROPERTIES)); if (filter == null) { filter = messageFilterProperties; } Set<String> includes = CastUtils.cast((Set<?>)message.get(MESSAGE_INCLUDE_PROPERTIES)); if (includes == null) { includes = messageIncludeProperties; } // copy all the contents for (Map.Entry<String, Object> e : message.entrySet()) { if ((includes.contains(e.getKey()) || messageIncludeProperties.contains(e.getKey())) && !filter.contains(e.getKey())) { copy.put(e.getKey(), e.getValue()); } } } }
public void copy(Message message, Message copy) { Set<String> filter = CastUtils.cast((Set<?>)message.get(MESSAGE_FILTER_PROPERTIES)); if (filter == null) { filter = messageFilterProperties; } Set<String> includes = CastUtils.cast((Set<?>)message.get(MESSAGE_INCLUDE_PROPERTIES)); if (includes == null) { includes = messageIncludeProperties; } // copy all the contents for (Map.Entry<String, Object> e : message.entrySet()) { if ((includes.contains(e.getKey()) || messageIncludeProperties.contains(e.getKey())) && !filter.contains(e.getKey())) { copy.put(e.getKey(), e.getValue()); } } } }
for (Map.Entry<String, Object> ent : message.entrySet()) {
for (Map.Entry<String, Object> ent : inMessage.entrySet()) {
for (Map.Entry<String, Object> ent : inMessage.entrySet()) {
for (Map.Entry<String, Object> ent : outMessage.entrySet()) {