@Override
    public synchronized long length() throws ProxyCacheException {
        if (sourceInfo.length == Integer.MIN_VALUE) {
            fetchContentInfo();
        }
        return sourceInfo.length;
    }
{@link Source} that uses http resource as source for {@link ProxyCache}.
VideoCache/src/main/java/com/yc/videocache/HttpUrlSource.java