public RequestHandler(PokemonGo api,OkHttpClient client){
  this.api=api;
  this.client=client;
  apiEndpoint=ApiSettings.API_ENDPOINT;
  asyncHttpThread=new Thread(this,"Async HTTP Thread");
  asyncHttpThread.setDaemon(true);
  asyncHttpThread.start();
}

public RequestHandler ( PokemonGo api , OkHttpClient client ) { this . api = api ; this . client = client ; apiEndpoint = ApiSettings . API_ENDPOINT ; asyncHttpThread = new Thread ( this , "Async HTTP Thread" ) ; asyncHttpThread . setDaemon ( true ) ; asyncHttpThread . start ( ) ; }
instantiates a new request handler .
