io.hyperfoil.api.processor.RawBytesHandler Maven / Gradle / Ivy
package io.hyperfoil.api.processor;
import java.io.Serializable;
import io.hyperfoil.api.config.BuilderBase;
import io.netty.buffer.ByteBuf;
import io.hyperfoil.api.connection.Request;
public interface RawBytesHandler extends Serializable {
void onRequest(Request request, ByteBuf buf, int offset, int length);
void onResponse(Request request, ByteBuf buf, int offset, int length, boolean isLastPart);
interface Builder extends BuilderBase {
RawBytesHandler build();
}
}