All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.barchart.ondemand.api.responses.OnDemandResponse Maven / Gradle / Ivy

The newest version!
package com.barchart.ondemand.api.responses;

import com.barchart.ondemand.api.OnDemandRequest;

public interface OnDemandResponse {

	/**
	 * 
	 * @return True if the API call was Ok, but there were no results returned.
	 */
	public boolean isEmpty();

	/**
	 * Original request that produced this result.
	 * 
	 * @return
	 */
	public OnDemandRequest getRequest();

	/**
	 * Reruns the original query. Makes a new call and updates all data in the
	 * response.
	 * 
	 * @return True if query was successful.
	 */
	public boolean refresh();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy