Package io.qameta.allure.attachment.http
Class HttpResponseAttachment.Builder
java.lang.Object
io.qameta.allure.attachment.http.HttpResponseAttachment.Builder
- Enclosing class:
- HttpResponseAttachment
Builder for HttpRequestAttachment.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setCookies(Map<String, String> cookies) setHeaders(Map<String, String> headers) setResponseCode(int responseCode) Deprecated.scheduled for removal in 3.0 releasewithCookie(String name, String value) Deprecated.scheduled for removal in 3.0 releasewithCookies(Map<String, String> cookies) Deprecated.scheduled for removal in 3.0 releasewithHeader(String name, String value) Deprecated.scheduled for removal in 3.0 releasewithHeaders(Map<String, String> headers) Deprecated.scheduled for removal in 3.0 releasewithResponseCode(int responseCode) Deprecated.scheduled for removal in 3.0 releaseDeprecated.scheduled for removal in 3.0 release
-
Method Details
-
create
-
setUrl
-
setResponseCode
-
setHeader
-
setHeaders
-
setCookie
-
setCookies
-
setBody
-
withUrl
Deprecated.scheduled for removal in 3.0 releaseUse setter method instead. -
withResponseCode
Deprecated.scheduled for removal in 3.0 releaseUse setter method instead. -
withHeader
Deprecated.scheduled for removal in 3.0 releaseUse setter method instead. -
withHeaders
Deprecated.scheduled for removal in 3.0 releaseUse setter method instead. -
withCookie
Deprecated.scheduled for removal in 3.0 releaseUse setter method instead. -
withCookies
Deprecated.scheduled for removal in 3.0 releaseUse setter method instead. -
withBody
Deprecated.scheduled for removal in 3.0 releaseUse setter method instead. -
build
-