src/main/java/org/apache/sling/resourceresolver/impl/mapping/ResourceMapperImpl.java [363:376]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            if (request != null) {
                this.uri = MapEntry.getURI(request.getScheme(), request.getServerName(), request.getServerPort(), "/");
                this.schemeWithPrefix = request.getScheme().concat("://");
                logger.debug(
                        "map: Mapping path {} for {} (at least with scheme prefix {})",
                        resourcePath,
                        uri,
                        schemeWithPrefix);
            } else {
                this.uri = null;
                this.schemeWithPrefix = null;
                logger.debug("map: Mapping path {} for default", resourcePath);
            }
            this.contextPath = request == null ? null : request.getContextPath();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/sling/resourceresolver/impl/mapping/ResourceMapperImpl.java [380:393]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            if (request != null) {
                this.uri = MapEntry.getURI(request.getScheme(), request.getServerName(), request.getServerPort(), "/");
                this.schemeWithPrefix = request.getScheme().concat("://");
                logger.debug(
                        "map: Mapping path {} for {} (at least with scheme prefix {})",
                        resourcePath,
                        uri,
                        schemeWithPrefix);
            } else {
                this.uri = null;
                this.schemeWithPrefix = null;
                logger.debug("map: Mapping path {} for default", resourcePath);
            }
            this.contextPath = request == null ? null : request.getContextPath();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



