Interface TransportBindingFactory

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • createTransportBinding

         abstract TransportBinding createTransportBinding(String endpointUri, @Nullable() CommunicationLogContext communicationLogContext)

        Generic factory method to create a binding on the basis of a URI.

        Please note that - depending on the implementation - bindings are not supported. In this case an UnsupportedOperationException is thrown.

        Parameters:
        endpointUri - the URI to create a binding to.
        communicationLogContext - additional information made available in the communication log
        Returns:

        a transport binding bound to endpointUri.

      • createHttpBinding

         abstract TransportBinding createHttpBinding(String endpointUri, @Nullable() CommunicationLogContext communicationLogContext)

        Creates an HTTP or HTTPS binding.

        Parameters:
        endpointUri - a valid HTTP/HTTPS URI to create a binding to.
        communicationLogContext - additional information made available in the communication log
        Returns:

        a transport binding bound to endpointUri.