*
* @return a new {@link Client} instance
*/
public Client<? extends Options, ? extends OptionsBuilder, ? extends RequestBuilder> newClient() {
if (clientClassName == null) {
return new DefaultClient();
} else {
try {
return (Client) Thread.currentThread().getContextClassLoader().loadClass(clientClassName).newInstance();
} catch (Exception e) {
throw new RuntimeException(e);