org.codehaus.xfire.xmpp
Class XMPPTransport

java.lang.Object
  extended by org.codehaus.xfire.AbstractContext
      extended by org.codehaus.xfire.handler.AbstractHandlerSupport
          extended by org.codehaus.xfire.transport.AbstractTransport
              extended by org.codehaus.xfire.xmpp.XMPPTransport
All Implemented Interfaces:
org.codehaus.xfire.handler.HandlerSupport, org.codehaus.xfire.soap.SoapTransport, org.codehaus.xfire.transport.ChannelFactory, org.codehaus.xfire.transport.Transport, org.codehaus.xfire.wsdl11.WSDL11Transport

public class XMPPTransport
extends org.codehaus.xfire.transport.AbstractTransport
implements org.codehaus.xfire.soap.SoapTransport, org.codehaus.xfire.wsdl11.WSDL11Transport

Author:
Dan Diephouse

Field Summary
static String BINDING_ID
           
static String NAME
           
 
Constructor Summary
XMPPTransport(org.codehaus.xfire.XFire xfire, String server, String username, String password)
           
 
Method Summary
protected  org.codehaus.xfire.transport.Channel createNewChannel(String uri)
           
 String[] getKnownUriSchemes()
           
 String getName()
          Gets the transport name.
 String getPassword()
           
 String getServer()
           
 String getServiceURL(org.codehaus.xfire.service.Service service)
           
 String[] getSupportedBindings()
           
 String getTransportURI(org.codehaus.xfire.service.Service service)
           
protected  String getUriPrefix()
           
 String getUsername()
           
 org.codehaus.xfire.XFire getXFire()
           
 
Methods inherited from class org.codehaus.xfire.transport.AbstractTransport
close, createChannel, createChannel, dispose, findBinding, getChannelMap, isUriSupported
 
Methods inherited from class org.codehaus.xfire.handler.AbstractHandlerSupport
addFaultHandler, addInHandler, addOutHandler, getFaultHandlers, getInHandlers, getOutHandlers, setFaultHandlers, setInHandlers, setOutHandlers
 
Methods inherited from class org.codehaus.xfire.AbstractContext
getProperty, removeProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.xfire.transport.Transport
dispose, findBinding, isUriSupported
 
Methods inherited from interface org.codehaus.xfire.transport.ChannelFactory
close, createChannel, createChannel
 
Methods inherited from interface org.codehaus.xfire.handler.HandlerSupport
getFaultHandlers, getInHandlers, getOutHandlers
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

BINDING_ID

public static final String BINDING_ID
See Also:
Constant Field Values
Constructor Detail

XMPPTransport

public XMPPTransport(org.codehaus.xfire.XFire xfire,
                     String server,
                     String username,
                     String password)
Method Detail

getName

public String getName()
Gets the transport name. @see NAME.

Specified by:
getName in interface org.codehaus.xfire.soap.SoapTransport
Specified by:
getName in interface org.codehaus.xfire.wsdl11.WSDL11Transport

getServiceURL

public String getServiceURL(org.codehaus.xfire.service.Service service)
Specified by:
getServiceURL in interface org.codehaus.xfire.wsdl11.WSDL11Transport
Parameters:
service -
Returns:

getTransportURI

public String getTransportURI(org.codehaus.xfire.service.Service service)
Parameters:
service -
Returns:

createNewChannel

protected org.codehaus.xfire.transport.Channel createNewChannel(String uri)
Specified by:
createNewChannel in class org.codehaus.xfire.transport.AbstractTransport

getUriPrefix

protected String getUriPrefix()
Specified by:
getUriPrefix in class org.codehaus.xfire.transport.AbstractTransport

getPassword

public String getPassword()

getXFire

public org.codehaus.xfire.XFire getXFire()

getServer

public String getServer()

getUsername

public String getUsername()

getSupportedBindings

public String[] getSupportedBindings()
Specified by:
getSupportedBindings in interface org.codehaus.xfire.transport.Transport
Overrides:
getSupportedBindings in class org.codehaus.xfire.transport.AbstractTransport

getKnownUriSchemes

public String[] getKnownUriSchemes()
Specified by:
getKnownUriSchemes in class org.codehaus.xfire.transport.AbstractTransport


Copyright © 2004-2013. All Rights Reserved.