* @return a {@link com.apitrary.api.transport.Transport} object.
*/
public Transport newTransport(ApitraryApi apitraryApi) {
List<Class<Transport>> knownTransports = getAvailableTransports();
if (knownTransports.isEmpty()) {
throw new ApiTransportException("No transport provider available. Is there one on the classpath?");
}
return newTransport(apitraryApi, knownTransports.get(knownTransports.size() - 1));
}