org.springframework.ws.transport.xmpp.support
Class XmppTransportUtils
java.lang.Object
org.springframework.ws.transport.xmpp.support.XmppTransportUtils
public abstract class XmppTransportUtils
- extends Object
Collection of utility methods to work with Mail transports.
- Since:
- 2.0
- Author:
- Arjen Poutsma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toUri
public static URI toUri(org.jivesoftware.smack.packet.Message requestMessage)
throws URISyntaxException
- Converts the given XMPP destination into a
xmpp
URI.
- Throws:
URISyntaxException
getTo
public static String getTo(URI uri)
hasError
public static boolean hasError(org.jivesoftware.smack.packet.Message message)
getErrorMessage
public static String getErrorMessage(org.jivesoftware.smack.packet.Message message)
addHeader
public static void addHeader(org.jivesoftware.smack.packet.Message message,
String name,
String value)
getHeaderNames
public static Iterator<String> getHeaderNames(org.jivesoftware.smack.packet.Message message)
getHeaders
public static Iterator<String> getHeaders(org.jivesoftware.smack.packet.Message message,
String name)
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.