@Override
            public void end() {
                if (!aborted) {
                    entry.setData(Base64.encodeBase64String(data.getBytes()));
                    try {
                        getStore().put(cacheKey, entry, timeToLive);
                    } catch (Throwable e) {
                        LOGGER.error(e, "Error writing binary cache entry with key: {}", cacheKey);
                    }
                }
                finished = true;
            }
@see ICacheStoreComponent#putBinary(String, Object, long)
gateway/engine/storage-common/src/main/java/io/apiman/gateway/engine/storage/component/AbstractCacheStoreComponent.java