org.apache.axis.client
Class Transport

java.lang.Object
  |
  +--org.apache.axis.client.Transport
Direct Known Subclasses:
HTTPTransport, LocalTransport

public abstract class Transport
extends java.lang.Object


Field Summary
static java.lang.String PASSWORD
           
static java.lang.String transportName
          Transport Chain Name - so users can change the default.
static java.lang.String USER
          Synonyms for MessageContext userid / password.
 
Constructor Summary
Transport()
           
 
Method Summary
 java.lang.String getTransportName()
          Returns the name of the transport chain to use
 void setTransportName(java.lang.String name)
          Sets the transport chain name - to override the default.
abstract  void setupMessageContext(MessageContext context, ServiceClient message, AxisEngine engine)
          Set up any transport-specific derived properties in the message context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER

public static java.lang.String USER
Synonyms for MessageContext userid / password.

PASSWORD

public static java.lang.String PASSWORD

transportName

public static java.lang.String transportName
Transport Chain Name - so users can change the default.
Constructor Detail

Transport

public Transport()
Method Detail

setupMessageContext

public abstract void setupMessageContext(MessageContext context,
                                         ServiceClient message,
                                         AxisEngine engine)
                                  throws AxisFault
Set up any transport-specific derived properties in the message context.
Parameters:
context - the context to set up
message - the client service instance
engine - the engine containing the registries
Throws:
AxisFault - if service cannot be found

setTransportName

public void setTransportName(java.lang.String name)
Sets the transport chain name - to override the default.
Parameters:
name - the name of the transport chain to use

getTransportName

public java.lang.String getTransportName()
Returns the name of the transport chain to use
Returns:
the transport chain name (or null if the default chain)


Copyright © 2001 Apache XML Project. All Rights Reserved.