Class HttpResponseExample.Jsii$Proxy

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(HttpResponseExample.Builder builder)
      Constructor that initializes the object based on literal property values passed by the HttpResponseExample.Builder.
      protected Jsii$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()  
      boolean equals​(Object o)  
      Object getBody()
      A test equivalence matcher or json object that describes the body for this response.
      Object getHeaders()
      A Map of header names and associated test-equivalence matcher values accepted by this example.
      Object getStatus()
      Any test-equivalence matcher, string, or number for the HTTP status code accepted by this example (Recommended: Use the HttpStatusCode matcher).
      String getUniqueName()
      What unique name, if any, to give to this response.
      int hashCode()  
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
    • 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.
    • Method Detail

      • getStatus

        public final Object getStatus()
        Description copied from interface: HttpResponseExample
        Any test-equivalence matcher, string, or number for the HTTP status code accepted by this example (Recommended: Use the HttpStatusCode matcher).
        Specified by:
        getStatus in interface HttpResponseExample
      • getBody

        public final Object getBody()
        Description copied from interface: HttpResponseExample
        A test equivalence matcher or json object that describes the body for this response.

        If not provided, no body matching is performed.

        Specified by:
        getBody in interface HttpResponseExample
      • getHeaders

        public final Object getHeaders()
        Description copied from interface: HttpResponseExample
        A Map of header names and associated test-equivalence matcher values accepted by this example.

        If not provided, no header matching is performed

        Specified by:
        getHeaders in interface HttpResponseExample
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object