Package org.apache.ivy.util.url
Class URLHandlerRegistry
java.lang.Object
org.apache.ivy.util.url.URLHandlerRegistry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic URLHandler
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)
-
Field Details
-
defaultHandler
-
-
Constructor Details
-
URLHandlerRegistry
private URLHandlerRegistry()
-
-
Method Details
-
getDefault
-
setDefault
-
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.- Returns:
- most accurate http downloader
-