类 DefaultResourceLoader.ClassPathContextResource

    • 构造器详细资料

      • ClassPathContextResource

        public ClassPathContextResource​(java.lang.String path,
                                        java.lang.ClassLoader classLoader)
    • 方法详细资料

      • getPathWithinContext

        public java.lang.String getPathWithinContext()
        从接口复制的说明: ContextResource
        Return the path within the enclosing 'context'.

        This is typically path relative to a context-specific root directory, e.g. a ServletContext root or a PortletContext root.

        指定者:
        getPathWithinContext 在接口中 ContextResource