org.apache.cxf.transport.http
Class ClientOnlyHTTPTransportFactory
java.lang.Object
org.apache.cxf.transport.AbstractTransportFactory
org.apache.cxf.transport.http.AbstractHTTPTransportFactory
org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory
- All Implemented Interfaces:
- ConduitInitiator, WSDLEndpointFactory
public class ClientOnlyHTTPTransportFactory
- extends AbstractHTTPTransportFactory
- implements ConduitInitiator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientOnlyHTTPTransportFactory
public ClientOnlyHTTPTransportFactory()
setBus
public void setBus(Bus b)
- Overrides:
setBus
in class AbstractTransportFactory
getConduit
public Conduit getConduit(EndpointInfo endpointInfo)
throws IOException
- This call creates a new HTTPConduit for the endpoint. It is equivalent
to calling getConduit without an EndpointReferenceType.
- Specified by:
getConduit
in interface ConduitInitiator
- Parameters:
endpointInfo
- the endpoint info of the target
- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
getConduit
public Conduit getConduit(EndpointInfo endpointInfo,
EndpointReferenceType target)
throws IOException
- This call creates a new HTTP Conduit based on the EndpointInfo and
EndpointReferenceType.
TODO: What are the formal constraints on EndpointInfo and
EndpointReferenceType values?
- Specified by:
getConduit
in interface ConduitInitiator
- Parameters:
endpointInfo
- the endpoint info for a local endpoint on which the
the configuration should be basedtarget
- the target EPR
- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
Apache CXF