public final class URLHandlerRegistry
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static URLHandler |
getDefault() |
static TimeoutConstrainedURLHandler |
getHttp()
This method is used to get appropriate http downloader depending on HttpComponents
HttpClient availability in classpath, or simply use jdk url handling in other cases.
|
static void |
setDefault(URLHandler def) |
public static URLHandler getDefault()
public static void setDefault(URLHandler def)
public static TimeoutConstrainedURLHandler getHttp()
Copyright ©2007-2020 The Apache Software Foundation, Licensed under Apache License, Version 2.0.