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

org.openstack4j.core.transport.HttpExecutorService Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package org.openstack4j.core.transport;

/**
 * A Service which is responsible of execution an HttpRequest
 * 
 * @author Jeremy Unruh
 */
public interface HttpExecutorService {

	/**
	 * Executes the given request and returns the {@code HttpResponse} result from the server
	 *
	 * @param  the underlying return entity type
	 * @param request the request to execute
	 * @return HttpResponse from the server
	 */
	 HttpResponse execute(HttpRequest request);
	
	/**
	 * @return the executors display friendly name.  useful for logging or tests
	 */
	String getExecutorDisplayName();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy