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

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

There is a newer version: 0.27.1
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy