org.apache.ivy.util.url

Class URLHandlerRegistry

public final class URLHandlerRegistry extends Object

Method Summary
static URLHandlergetDefault()
static URLHandlergetHttp()
This method is used to get appropriate http downloader dependening on Jakarta Commons HttpClient availability in classpath, or simply use jdk url handling in other cases.
static voidsetDefault(URLHandler def)

Method Detail

getDefault

public static URLHandler getDefault()

getHttp

public static URLHandler getHttp()
This method is used to get appropriate http downloader dependening on Jakarta Commons HttpClient availability in classpath, or simply use jdk url handling in other cases.

Returns: most accurate http downloader

setDefault

public static void setDefault(URLHandler def)