Package org.eclipse.equinox.plurl.impl
Class PlurlImpl.PlurlFactoryHolder<F,H>
java.lang.Object
org.eclipse.equinox.plurl.impl.PlurlImpl.PlurlFactoryHolder<F,H>
- All Implemented Interfaces:
PlurlFactory
- Direct Known Subclasses:
PlurlImpl.ContentHandlerFactoryHolder,PlurlImpl.URLStreamHandlerFactoryHolder
- Enclosing class:
PlurlImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract HcreateHandler(String type, F f) protected abstract voidbooleanshouldHandle(Class<?> clazz) A plurl implementation will call this method with the classes in the call stack which are using the java.net APIs to create URL objects for a specific type.toString()
-
Constructor Details
-
PlurlFactoryHolder
-
-
Method Details
-
shouldHandle
Description copied from interface:PlurlFactoryA plurl implementation will call this method with the classes in the call stack which are using the java.net APIs to create URL objects for a specific type. For example, a protocol or content type.- Specified by:
shouldHandlein interfacePlurlFactory- Parameters:
clazz- a class in the call stack using the java.net APIs- Returns:
- true if this factory should be used to handle the request
-
toString
-
createHandler
-
remove
-