类 ServiceLoaderURLStreamHandlerFactory
- java.lang.Object
-
- io.microsphere.net.DelegatingURLStreamHandlerFactory
-
- io.microsphere.net.ServiceLoaderURLStreamHandlerFactory
-
- 所有已实现的接口:
java.net.URLStreamHandlerFactory
public class ServiceLoaderURLStreamHandlerFactory extends DelegatingURLStreamHandlerFactory
DecoratingURLStreamHandlerFactory
class delegates the composite ofURLStreamHandlerFactory
andURLStreamHandler
instances that are loaded by the JDK'sServiceLoader
.First, the
DelegatingURLStreamHandlerFactory.createURLStreamHandler(String)
method tries to create an instance ofURLStreamHandler
vid eachURLStreamHandlerFactory
delegate in theprioritized
order, once some one returns a non-null result, it will be taken. Otherwise,ExtendableProtocolURLStreamHandler
delegates will be used to resolve the result if possible.- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
Prioritized
-
-
构造器概要
构造器 构造器 说明 ServiceLoaderURLStreamHandlerFactory()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static void
attach()
-
从类继承的方法 io.microsphere.net.DelegatingURLStreamHandlerFactory
createURLStreamHandler, getDelegate
-
-