All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mizhousoft.commons.okhttp.CacheKeyProvider Maven / Gradle / Ivy

package com.mizhousoft.commons.okhttp;

import okhttp3.Request;

/**
 * Provides the caching key for the given request. Can be used to share passwords accross multiple subdomains.
 */
public interface CacheKeyProvider {
    /**
     * Provides the caching key for the given request. Can be used to share passwords accross multiple subdomains.
     *
     * @param request the http request.
     * @return the cache key.
     */
    String getCachingKey(Request request);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy