@Override
    public byte[] get() throws ResourceIOException {
        final byte[] byteArray = this.arrayRef.get();
        if (byteArray != null) {
            return byteArray;
        }
        throw new ResourceIOException("Resource already disposed");
    }
Cache resource backed by a byte array on the heap.

@since 4.1
httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/HeapResource.java