Class HttpResponseExample.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.contract_testing.contractcase.definitions.matchers.http.HttpResponseExample.Jsii$Proxy
-
- All Implemented Interfaces:
HttpResponseExample,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- HttpResponseExample
@Stability(Stable) @Internal public static final class HttpResponseExample.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HttpResponseExample
An implementation forHttpResponseExample
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.contract_testing.contractcase.definitions.matchers.http.HttpResponseExample
HttpResponseExample.Builder, HttpResponseExample.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(HttpResponseExample.Builder builder)Constructor that initializes the object based on literal property values passed by theHttpResponseExample.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetBody()A test equivalence matcher or json object that describes the body for this response.ObjectgetHeaders()A Map of header names and associated test-equivalence matcher values accepted by this example.ObjectgetStatus()Any test-equivalence matcher, string, or number for the HTTP status code accepted by this example (Recommended: Use theHttpStatusCodematcher).StringgetUniqueName()What unique name, if any, to give to this response.inthashCode()
-
-
-
Constructor Detail
-
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
protected Jsii$Proxy(HttpResponseExample.Builder builder)
Constructor that initializes the object based on literal property values passed by theHttpResponseExample.Builder.
-
-
Method Detail
-
getStatus
public final Object getStatus()
Description copied from interface:HttpResponseExampleAny test-equivalence matcher, string, or number for the HTTP status code accepted by this example (Recommended: Use theHttpStatusCodematcher).- Specified by:
getStatusin interfaceHttpResponseExample
-
getBody
public final Object getBody()
Description copied from interface:HttpResponseExampleA test equivalence matcher or json object that describes the body for this response.If not provided, no body matching is performed.
- Specified by:
getBodyin interfaceHttpResponseExample
-
getHeaders
public final Object getHeaders()
Description copied from interface:HttpResponseExampleA Map of header names and associated test-equivalence matcher values accepted by this example.If not provided, no header matching is performed
- Specified by:
getHeadersin interfaceHttpResponseExample
-
getUniqueName
public final String getUniqueName()
Description copied from interface:HttpResponseExampleWhat unique name, if any, to give to this response.- Specified by:
getUniqueNamein interfaceHttpResponseExample
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-