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.String
transportName
Transport Chain Name - so users can change the default.java.lang.String
url
Transport URL, if any.
-
Constructor Summary
Constructors Constructor Description Transport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTransportName()
Returns the name of the transport chain to usejava.lang.String
getUrl()
Get the transport-specific URLvoid
processReturnedMessageContext(MessageContext context)
Allow the transport to grab any transport-specific stuff it might want from a returned MessageContextvoid
setTransportName(java.lang.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(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
-
-