Package org.somda.sdc.dpws.factory
Interface TransportBindingFactory
-
- All Implemented Interfaces:
public interface TransportBindingFactoryFactory to create TransportBinding instances.
TransportBinding instances can be used to request any DPWS compatible endpoints.
-
-
Method Summary
Modifier and Type Method Description abstract TransportBindingcreateTransportBinding(String endpointUri, @Nullable() CommunicationLogContext communicationLogContext)Generic factory method to create a binding on the basis of a URI. abstract TransportBindingcreateHttpBinding(String endpointUri, @Nullable() CommunicationLogContext communicationLogContext)Creates an HTTP or HTTPS binding. -
-
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.
-
-
-
-