Class WillSendHttpRequest

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable

    @Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
               date="2025-08-20T01:46:20.837Z")
    @Stability(Stable)
    public class WillSendHttpRequest
    extends AnyInteractionDescriptor
    Defines an example that expects to send an HTTP request.

    Use this to test HTTP servers.

    • Constructor Detail

      • WillSendHttpRequest

        protected WillSendHttpRequest​(software.amazon.jsii.JsiiObjectRef objRef)
      • WillSendHttpRequest

        protected WillSendHttpRequest​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • WillSendHttpRequest

        @Stability(Stable)
        public WillSendHttpRequest​(@NotNull
                                   HttpExample httpExample)
        Defines an example that expects to send an HTTP request.

        Use this to test HTTP servers.

        Parameters:
        httpExample - -. This parameter is required.
    • Method Detail

      • getRequest

        @Stability(Stable)
        @NotNull
        public Object getRequest()
      • getResponse

        @Stability(Stable)
        @NotNull
        public Object getResponse()