Package org.somda.sdc.dpws.factory
Interface TransportBindingFactory
-
- All Known Implementing Classes:
ApacheTransportBindingFactoryImpl
public interface TransportBindingFactoryFactory to create TransportBinding instances.TransportBindinginstances can be used to request any DPWS compatible endpoints.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransportBindingcreateHttpBinding(String endpointUri)Creates an HTTP or HTTPS binding.TransportBindingcreateTransportBinding(String endpointUri)Generic factory method to create a binding on the basis of a URI.
-
-
-
Method Detail
-
createTransportBinding
TransportBinding createTransportBinding(String endpointUri) throws UnsupportedOperationException
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
UnsupportedOperationExceptionis thrown.- Parameters:
endpointUri- the URI to create a binding to.- Returns:
- a transport binding bound to endpointUri.
- Throws:
UnsupportedOperationException- if the URI scheme is not supported.
-
createHttpBinding
TransportBinding createHttpBinding(String endpointUri) throws UnsupportedOperationException
Creates an HTTP or HTTPS binding.- Parameters:
endpointUri- a valid HTTP/HTTPS URI to create a binding to.- Returns:
- a transport binding bound to endpointUri.
- Throws:
UnsupportedOperationException- if the URI scheme type is not supported.
-
-