Interface HttpResponseWrapper
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HttpResponseWrapper.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:17.696Z")
@Stability(Experimental)
public interface HttpResponseWrapper
extends software.amazon.jsii.JsiiSerializable
(experimental) Response from the HttpCall resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.integtests.alpha.*;
Object body;
Object headers;
HttpResponseWrapper httpResponseWrapper = HttpResponseWrapper.builder()
.apiCallResponse(HttpResponse.builder()
.body(body)
.headers(Map.of(
"headersKey", headers))
.ok(false)
.status(123)
.statusText("statusText")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forHttpResponseWrapperstatic final classAn implementation forHttpResponseWrapper -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpResponseWrapper.Builderbuilder()(experimental) The Response from the fetch request.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiCallResponse
(experimental) The Response from the fetch request. -
builder
- Returns:
- a
HttpResponseWrapper.BuilderofHttpResponseWrapper
-