Class WebSocketTransportFactory

java.lang.Object
org.apache.cxf.transport.AbstractTransportFactory
org.apache.cxf.transport.websocket.WebSocketTransportFactory
All Implemented Interfaces:
org.apache.cxf.transport.ConduitInitiator, org.apache.cxf.transport.DestinationFactory

public class WebSocketTransportFactory extends org.apache.cxf.transport.AbstractTransportFactory implements org.apache.cxf.transport.ConduitInitiator, org.apache.cxf.transport.DestinationFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final List<String>
     
    protected final org.apache.cxf.transport.http.HttpDestinationFactory
     
    protected final org.apache.cxf.transport.http.DestinationRegistry
     

    Fields inherited from class org.apache.cxf.transport.AbstractTransportFactory

    PREFERRED_TRANSPORT_ID
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    WebSocketTransportFactory(org.apache.cxf.transport.http.DestinationRegistry registry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configure(org.apache.cxf.Bus b, Object bean)
    This call uses the Configurer from the bus to configure a bean.
    protected void
    configure(org.apache.cxf.Bus bus, Object bean, String name, String extraName)
     
    org.apache.cxf.transport.Conduit
    getConduit(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.Bus b)
     
    org.apache.cxf.transport.Conduit
    getConduit(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, org.apache.cxf.Bus bus)
    org.apache.cxf.transport.Destination
    getDestination(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.Bus bus)
    org.apache.cxf.transport.http.DestinationRegistry
     
     

    Methods inherited from class org.apache.cxf.transport.AbstractTransportFactory

    getTransportIds, setTransportIds

    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

    Methods inherited from interface org.apache.cxf.transport.DestinationFactory

    getTransportIds
  • Field Details

    • DEFAULT_NAMESPACES

      public static final List<String> DEFAULT_NAMESPACES
    • registry

      protected final org.apache.cxf.transport.http.DestinationRegistry registry
    • factory

      protected final org.apache.cxf.transport.http.HttpDestinationFactory factory
  • Constructor Details

    • WebSocketTransportFactory

      public WebSocketTransportFactory()
    • WebSocketTransportFactory

      public WebSocketTransportFactory(org.apache.cxf.transport.http.DestinationRegistry registry)
  • Method Details

    • getRegistry

      public org.apache.cxf.transport.http.DestinationRegistry getRegistry()
    • configure

      protected void configure(org.apache.cxf.Bus b, Object bean)
      This call uses the Configurer from the bus to configure a bean.
      Parameters:
      bean -
    • configure

      protected void configure(org.apache.cxf.Bus bus, Object bean, String name, String extraName)
    • getConduit

      public org.apache.cxf.transport.Conduit getConduit(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.Bus b) throws IOException
      Specified by:
      getConduit in interface org.apache.cxf.transport.ConduitInitiator
      Throws:
      IOException
    • getConduit

      public org.apache.cxf.transport.Conduit getConduit(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.ws.addressing.EndpointReferenceType target, org.apache.cxf.Bus bus) throws IOException
      Specified by:
      getConduit in interface org.apache.cxf.transport.ConduitInitiator
      Throws:
      IOException
    • getDestination

      public org.apache.cxf.transport.Destination getDestination(org.apache.cxf.service.model.EndpointInfo endpointInfo, org.apache.cxf.Bus bus) throws IOException
      Specified by:
      getDestination in interface org.apache.cxf.transport.DestinationFactory
      Throws:
      IOException
    • getUriPrefixes

      public Set<String> getUriPrefixes()
      Specified by:
      getUriPrefixes in interface org.apache.cxf.transport.ConduitInitiator
      Specified by:
      getUriPrefixes in interface org.apache.cxf.transport.DestinationFactory
      Overrides:
      getUriPrefixes in class org.apache.cxf.transport.AbstractTransportFactory