protected void handlePreResponse(String ticket,JobsApiRequest apiRequest,AsyncResponse asyncResponse,Observable<PreResponse> preResponseObservable,boolean isEmpty){
  if (isEmpty) {
    handleJobResponse(ticket,apiRequest,asyncResponse);
  }
 else {
    handleResultsResponse(preResponseObservable,asyncResponse,apiRequest);
  }
}

protected void handlePreResponse ( String ticket , JobsApiRequest apiRequest , AsyncResponse asyncResponse , Observable < PreResponse > preResponseObservable , boolean isEmpty ) { if ( isEmpty ) { handleJobResponse ( ticket , apiRequest , asyncResponse ) ; } else { handleResultsResponse ( preResponseObservable , asyncResponse , apiRequest ) ; } }
if isempty is true , call the method to send the job payload to the user else call the method to send the job result to the user .
