Package io.qameta.allure.httpclient
Class AllureHttpClientResponse
java.lang.Object
io.qameta.allure.httpclient.AllureHttpClientResponse
- All Implemented Interfaces:
org.apache.http.HttpResponseInterceptor
public class AllureHttpClientResponse
extends Object
implements org.apache.http.HttpResponseInterceptor
-
Constructor Summary
ConstructorsConstructorDescriptionAllureHttpClientResponse(io.qameta.allure.attachment.AttachmentRenderer<io.qameta.allure.attachment.AttachmentData> renderer, io.qameta.allure.attachment.AttachmentProcessor<io.qameta.allure.attachment.AttachmentData> processor) -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
-
Constructor Details
-
AllureHttpClientResponse
public AllureHttpClientResponse() -
AllureHttpClientResponse
public AllureHttpClientResponse(io.qameta.allure.attachment.AttachmentRenderer<io.qameta.allure.attachment.AttachmentData> renderer, io.qameta.allure.attachment.AttachmentProcessor<io.qameta.allure.attachment.AttachmentData> processor)
-
-
Method Details
-
process
public void process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws IOException - Specified by:
processin interfaceorg.apache.http.HttpResponseInterceptor- Throws:
IOException
-