com.afrigis.services.ext.ConfigurationAware Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core Java library to ease use of AfriGIS Services
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);
}