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

io.hyperfoil.api.http.HttpCache Maven / Gradle / Ivy

There is a newer version: 0.27
Show newest version
package io.hyperfoil.api.http;

import io.hyperfoil.api.connection.HttpRequest;
import io.hyperfoil.api.connection.HttpRequestWriter;

public interface HttpCache {

   void beforeRequestHeaders(HttpRequest request);

   void requestHeader(HttpRequest request, CharSequence header, CharSequence value);

   boolean isCached(HttpRequest request, HttpRequestWriter writer);

   void responseHeader(HttpRequest request, CharSequence header, CharSequence value);

   void tryStore(HttpRequest request);

   void invalidate(CharSequence authority, CharSequence path);

   // mostly for testing
   int size();

   void clear();

   interface Record {}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy