Apache CXF API

org.apache.cxf.transport.http
Class ClientOnlyHTTPTransportFactory

java.lang.Object
  extended by org.apache.cxf.transport.AbstractTransportFactory
      extended by org.apache.cxf.transport.http.AbstractHTTPTransportFactory
          extended by org.apache.cxf.transport.http.ClientOnlyHTTPTransportFactory
All Implemented Interfaces:
ConduitInitiator, WSDLEndpointFactory

public class ClientOnlyHTTPTransportFactory
extends AbstractHTTPTransportFactory
implements ConduitInitiator


Field Summary
 
Fields inherited from class org.apache.cxf.transport.AbstractTransportFactory
bus
 
Constructor Summary
ClientOnlyHTTPTransportFactory()
           
 
Method Summary
 Conduit getConduit(EndpointInfo endpointInfo)
          This call creates a new HTTPConduit for the endpoint.
 Conduit getConduit(EndpointInfo endpointInfo, EndpointReferenceType target)
          This call creates a new HTTP Conduit based on the EndpointInfo and EndpointReferenceType.
 void setBus(Bus b)
           
 
Methods inherited from class org.apache.cxf.transport.http.AbstractHTTPTransportFactory
configure, configure, createEndpointInfo, createPortExtensors, getUriPrefixes, setActivationNamespaces
 
Methods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getBus, getTransportIds, register, setTransportIds, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.transport.ConduitInitiator
getTransportIds, getUriPrefixes
 

Constructor Detail

ClientOnlyHTTPTransportFactory

public ClientOnlyHTTPTransportFactory()
Method Detail

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 based
target - the target EPR
Returns:
a suitable new or pre-existing Conduit
Throws:
IOException

Apache CXF API

Apache CXF