spring-framework / org.springframework.core.io / ContextResource / getPathWithinContext

getPathWithinContext

abstract fun getPathWithinContext(): String

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.