接口 ProtocolResolver

    • 方法详细资料

      • resolve

        Resource resolve​(String location,
                         ResourceLoader resourceLoader)
        Resolve the given location against the given resource loader if this implementation's protocol matches.
        参数:
        location - the user-specified resource location
        resourceLoader - the associated resource loader
        返回:
        a corresponding Resource handle if the given location matches this resolver's protocol, or null otherwise