Package org.apache.axis.client
Class Transport
- java.lang.Object
-
- org.apache.axis.client.Transport
-
- Direct Known Subclasses:
HTTPTransport,JavaTransport,JMSTransport,LocalTransport,MailTransport
public class Transport extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringtransportNameTransport Chain Name - so users can change the default.java.lang.StringurlTransport URL, if any.
-
Constructor Summary
Constructors Constructor Description Transport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTransportName()Returns the name of the transport chain to usejava.lang.StringgetUrl()Get the transport-specific URLvoidprocessReturnedMessageContext(MessageContext context)Allow the transport to grab any transport-specific stuff it might want from a returned MessageContextvoidsetTransportName(java.lang.String name)Sets the transport chain name - to override the default.voidsetupMessageContext(MessageContext context, Call message, AxisEngine engine)voidsetupMessageContextImpl(MessageContext context, Call message, AxisEngine engine)voidsetUrl(java.lang.String url)Set the transport-specific URL
-
-
-
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(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)
-
getUrl
public java.lang.String getUrl()
Get the transport-specific URL
-
setUrl
public void setUrl(java.lang.String url)
Set the transport-specific URL
-
-