/** @return a `java.net.Proxy` instance configured to point to the Betamax proxy. */ public Proxy getProxy() { return new Proxy( Proxy.Type.HTTP, new InetSocketAddress(interceptor.getHost(), interceptor.getPort())); }
/** @return the hostname or address where the proxy will run. */ public String getProxyHost() { return interceptor.getHost(); }