
com.afrigis.services.ext.ConfigurationAware Maven / Gradle / Ivy
package com.afrigis.services.ext;
/**
*
* Interface that defines some optional configuration options that might be
* applicable to service factory implementors.
*
*
* @author hendrikc
*
*/
public interface ConfigurationAware {
/**
*
* Allows the override of service end point url.
*
*
* @param url
* the full, correct and valid url of the service end point.
*/
void setServer(String url);
/**
*
* Connection and connection request timeout, in milliseconds.
*
*
* @param timeout
* milliseconds until we give up trying to connect
* @see
* HTTPClient Configuration
*/
void setTimeout(long timeout);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy