@FunctionalInterface
public interface AcceptsUrlFunc
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsUrl(HostSpec hostSpec,
java.util.Properties props)
This function can be passed to a
ConnectionProvider constructor to specify when the
ConnectionProvider should be used to open a connection to the given HostSpec with the
given Properties. |
boolean acceptsUrl(HostSpec hostSpec, java.util.Properties props)
ConnectionProvider constructor to specify when the
ConnectionProvider should be used to open a connection to the given HostSpec with the
given Properties.hostSpec - the host details for the requested connectionprops - the properties for the requested connectionConnectionProvider should be used to open a connection to the given
HostSpec with the given Properties.