io.hyperfoil.http.api.HeaderHandler Maven / Gradle / Ivy
package io.hyperfoil.http.api;
import java.io.Serializable;
import io.hyperfoil.api.config.BuilderBase;
public interface HeaderHandler extends Serializable {
default void beforeHeaders(HttpRequest request) {
}
void handleHeader(HttpRequest request, CharSequence header, CharSequence value);
default void afterHeaders(HttpRequest request) {
}
interface Builder extends BuilderBase {
HeaderHandler build();
}
}