Class HttpResponse.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.integtests.alpha.HttpResponse.Jsii$Proxy
- All Implemented Interfaces:
HttpResponse,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
HttpResponse
@Stability(Experimental)
@Internal
public static final class HttpResponse.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements HttpResponse
An implementation for
HttpResponse-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.integtests.alpha.HttpResponse
HttpResponse.Builder, HttpResponse.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(HttpResponse.Builder builder) Constructor that initializes the object based on literal property values passed by theHttpResponse.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectgetBody()(experimental) The response, either as parsed JSON or a string literal.(experimental) Headers associated with the response.final BooleangetOk()(experimental) Indicates whether the response was successful.final Number(experimental) Status code of the response.final String(experimental) The status message corresponding to the status code.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theHttpResponse.Builder.
-
-
Method Details
-
getBody
Description copied from interface:HttpResponse(experimental) The response, either as parsed JSON or a string literal.- Specified by:
getBodyin interfaceHttpResponse
-
getHeaders
Description copied from interface:HttpResponse(experimental) Headers associated with the response.- Specified by:
getHeadersin interfaceHttpResponse
-
getOk
Description copied from interface:HttpResponse(experimental) Indicates whether the response was successful.status range 200-299
- Specified by:
getOkin interfaceHttpResponse
-
getStatus
Description copied from interface:HttpResponse(experimental) Status code of the response.- Specified by:
getStatusin interfaceHttpResponse
-
getStatusText
Description copied from interface:HttpResponse(experimental) The status message corresponding to the status code.- Specified by:
getStatusTextin interfaceHttpResponse
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-