FileDocCategorySizeDatePackage
Transport.javaAPI DocApache Axis 1.42633Sat Apr 22 18:57:28 BST 2006org.apache.axis.client

Transport

public class Transport extends Object

Fields Summary
public String
transportName
Transport Chain Name - so users can change the default.
public String
url
Transport URL, if any.
Constructors Summary
Methods Summary
public java.lang.StringgetTransportName()
Returns the name of the transport chain to use

return
the transport chain name (or null if the default chain)

        return( transportName );
    
public java.lang.StringgetUrl()
Get the transport-specific URL

        return url;
    
public voidprocessReturnedMessageContext(org.apache.axis.MessageContext context)
Allow the transport to grab any transport-specific stuff it might want from a returned MessageContext

        // Default impl does nothing
    
public voidsetTransportName(java.lang.String name)
Sets the transport chain name - to override the default.

param
name the name of the transport chain to use

        transportName = name ;
    
public voidsetUrl(java.lang.String url)
Set the transport-specific URL

        this.url = url;
    
public final voidsetupMessageContext(org.apache.axis.MessageContext context, Call message, org.apache.axis.AxisEngine engine)


        
                                           
                                           
         
    
        if (url != null)
            context.setProperty(MessageContext.TRANS_URL, url);

        if (transportName != null)
            context.setTransportName(transportName);

        setupMessageContextImpl(context, message, engine);
    
public voidsetupMessageContextImpl(org.apache.axis.MessageContext context, Call message, org.apache.axis.AxisEngine engine)

        // Default impl does nothing