io.hyperfoil.http.api.HttpResponseHandlers Maven / Gradle / Ivy
package io.hyperfoil.http.api;
import io.hyperfoil.api.connection.ResponseHandlers;
import io.netty.buffer.ByteBuf;
public interface HttpResponseHandlers extends ResponseHandlers {
void handleStatus(HttpRequest request, int status, String reason);
void handleHeader(HttpRequest request, CharSequence header, CharSequence value);
void handleBodyPart(HttpRequest request, ByteBuf data, int offset, int length, boolean isLastPart);
void handleRawRequest(HttpRequest request, ByteBuf data, int offset, int length);
void handleRawResponse(HttpRequest request, ByteBuf data, int offset, int length, boolean isLastPart);
}