org.apache.cxf.transport
Class AbstractConduit
java.lang.Object
org.apache.cxf.transport.AbstractObservable
org.apache.cxf.transport.AbstractConduit
- All Implemented Interfaces:
- org.apache.cxf.transport.Conduit, org.apache.cxf.transport.Observable
- Direct Known Subclasses:
- AbstractDestination.AbstractBackChannelConduit
public abstract class AbstractConduit
- extends AbstractObservable
- implements org.apache.cxf.transport.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.
|
Field Summary |
protected org.apache.cxf.ws.addressing.EndpointReferenceType |
target
|
|
Constructor Summary |
AbstractConduit(org.apache.cxf.ws.addressing.EndpointReferenceType t)
|
|
Method Summary |
void |
close()
Close the conduit. |
void |
close(org.apache.cxf.message.Message msg)
|
org.apache.cxf.ws.addressing.EndpointReferenceType |
getTarget()
|
String |
toString()
|
| Methods inherited from interface org.apache.cxf.transport.Conduit |
prepare |
| Methods inherited from interface org.apache.cxf.transport.Observable |
getMessageObserver, setMessageObserver |
target
protected final org.apache.cxf.ws.addressing.EndpointReferenceType target
AbstractConduit
public AbstractConduit(org.apache.cxf.ws.addressing.EndpointReferenceType t)
getTarget
public org.apache.cxf.ws.addressing.EndpointReferenceType getTarget()
- Specified by:
getTarget in interface org.apache.cxf.transport.Conduit
- Returns:
- the reference associated with the target Destination
close
public void close(org.apache.cxf.message.Message msg)
throws IOException
- Specified by:
close in interface org.apache.cxf.transport.Conduit
- Parameters:
message - for which content should be closed.
- Throws:
IOException
close
public void close()
- Close the conduit.
- Specified by:
close in interface org.apache.cxf.transport.Conduit
toString
public String toString()
- Overrides:
toString in class Object
Apache CXF