org.apache.cxf.transport
Class AbstractConduit
java.lang.Object
org.apache.cxf.transport.AbstractObservable
org.apache.cxf.transport.AbstractConduit
- All Implemented Interfaces:
- Conduit, Observable
- Direct Known Subclasses:
- AbstractDestination.AbstractBackChannelConduit, HTTPConduit
public abstract class AbstractConduit
- extends AbstractObservable
- implements Conduit
Abstract base class factoring out common Conduit logic,
allowing non-decoupled transports to be written without any
regard for the decoupled back-channel or partial response logic.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.cxf.transport.Conduit |
prepare |
target
protected final EndpointReferenceType target
AbstractConduit
public AbstractConduit(EndpointReferenceType t)
getTarget
public EndpointReferenceType getTarget()
- Specified by:
getTarget in interface Conduit
- Returns:
- the reference associated with the target Destination
getBackChannel
public Destination getBackChannel()
- Retrieve the back-channel Destination.
- Specified by:
getBackChannel in interface Conduit
- Returns:
- the backchannel Destination (or null if the backchannel is
built-in)
close
public void close(Message msg)
throws java.io.IOException
- Description copied from interface:
Conduit
- Close the connections associated with the message
- Specified by:
close in interface Conduit
- Parameters:
message - for which content should be closed.
- Throws:
java.io.IOException
close
public void close()
- Close the conduit.
- Specified by:
close in interface Conduit
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Apache CXF