Spring Web Services Framework

org.springframework.ws.transport.xmpp.support
Class XmppTransportUtils

java.lang.Object
  extended by 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

Method Summary
static void addHeader(org.jivesoftware.smack.packet.Message message, String name, String value)
           
static String getErrorMessage(org.jivesoftware.smack.packet.Message message)
           
static Iterator<String> getHeaderNames(org.jivesoftware.smack.packet.Message message)
           
static Iterator<String> getHeaders(org.jivesoftware.smack.packet.Message message, String name)
           
static String getTo(URI uri)
           
static boolean hasError(org.jivesoftware.smack.packet.Message message)
           
static URI toUri(org.jivesoftware.smack.packet.Message requestMessage)
          Converts the given XMPP destination into a xmpp URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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)

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.