Class WebSocketTransportFactory
java.lang.Object
org.apache.cxf.transport.AbstractTransportFactory
org.apache.cxf.transport.websocket.WebSocketTransportFactory
- All Implemented Interfaces:
ConduitInitiator,DestinationFactory
public class WebSocketTransportFactory
extends AbstractTransportFactory
implements ConduitInitiator, DestinationFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final HttpDestinationFactoryprotected final DestinationRegistryFields inherited from class org.apache.cxf.transport.AbstractTransportFactory
PREFERRED_TRANSPORT_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis call uses the Configurer from the bus to configure a bean.protected voidgetConduit(EndpointInfo endpointInfo, Bus b) Initiate an outbound Conduit.getConduit(EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, Bus bus) Initiate an outbound Conduit.getDestination(EndpointInfo endpointInfo, Bus bus) Create a destination.Methods inherited from class org.apache.cxf.transport.AbstractTransportFactory
getTransportIds, setTransportIdsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.transport.ConduitInitiator
getTransportIdsMethods inherited from interface org.apache.cxf.transport.DestinationFactory
getTransportIds
-
Field Details
-
DEFAULT_NAMESPACES
-
registry
-
factory
-
-
Constructor Details
-
WebSocketTransportFactory
public WebSocketTransportFactory() -
WebSocketTransportFactory
-
-
Method Details
-
getRegistry
-
configure
This call uses the Configurer from the bus to configure a bean.- Parameters:
bean-
-
configure
-
getConduit
Description copied from interface:ConduitInitiatorInitiate an outbound Conduit.- Specified by:
getConduitin interfaceConduitInitiator- Parameters:
endpointInfo- the endpoint info of the target- Returns:
- a suitable new or pre-existing Conduit
- Throws:
IOException
-
getConduit
public Conduit getConduit(EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, Bus bus) throws IOException Initiate an outbound Conduit.- Specified by:
getConduitin interfaceConduitInitiator- 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
-
getDestination
Create a destination.- Specified by:
getDestinationin interfaceDestinationFactory- Parameters:
endpointInfo- the endpoint info of the destination.- Returns:
- the created Destination.
- Throws:
IOException
-
getUriPrefixes
- Specified by:
getUriPrefixesin interfaceConduitInitiator- Specified by:
getUriPrefixesin interfaceDestinationFactory- Overrides:
getUriPrefixesin classAbstractTransportFactory
-