站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档

Transport (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.client
Class Transport

java.lang.Object
  extended byorg.apache.axis.client.Transport
Direct Known Subclasses:
HTTPTransport, JavaTransport, JMSTransport, LocalTransport

public class Transport
extends Object


Field Summary
 String transportName
          Transport Chain Name - so users can change the default.
 String url
          Transport URL, if any.
 
Constructor Summary
Transport()
           
 
Method Summary
 String getTransportName()
          Returns the name of the transport chain to use
 String getUrl()
          Get the transport-specific URL
 void processReturnedMessageContext(MessageContext context)
          Allow the transport to grab any transport-specific stuff it might want from a returned MessageContext
 void setTransportName(String name)
          Sets the transport chain name - to override the default.
 void setupMessageContext(MessageContext context, Call message, AxisEngine engine)
           
 void setupMessageContextImpl(MessageContext context, Call message, AxisEngine engine)
           
 void setUrl(String url)
          Set the transport-specific URL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transportName

public String transportName
Transport Chain Name - so users can change the default.


url

public String url
Transport URL, if any.

Constructor Detail

Transport

public Transport()
Method Detail

setupMessageContext

public final void setupMessageContext(MessageContext context,
                                      Call message,
                                      AxisEngine engine)
                               throws AxisFault
Throws:
AxisFault

setupMessageContextImpl

public void setupMessageContextImpl(MessageContext context,
                                    Call message,
                                    AxisEngine engine)
                             throws AxisFault
Throws:
AxisFault

processReturnedMessageContext

public void processReturnedMessageContext(MessageContext context)
Allow the transport to grab any transport-specific stuff it might want from a returned MessageContext


setTransportName

public void setTransportName(String name)
Sets the transport chain name - to override the default.

Parameters:
name - the name of the transport chain to use

getTransportName

public String getTransportName()
Returns the name of the transport chain to use

Returns:
the transport chain name (or null if the default chain)

getUrl

public String getUrl()
Get the transport-specific URL


setUrl

public void setUrl(String url)
Set the transport-specific URL



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.