Class DestinationRequest


  • public final class DestinationRequest
    extends java.lang.Object
    • Constructor Detail

      • DestinationRequest

        public DestinationRequest​(java.lang.String url,
                                  java.lang.String method,
                                  java.util.Map<java.lang.String,​java.lang.String> headers,
                                  java.lang.String body)
        Creates a new DestinationRequest instance.
        Parameters:
        url - The URL of the forward request. (Required)
        method - The HTTP method of the forward request. (Required)
        headers - The HTTP headers of the forward request. Encrypted and sensitive header values are redacted. (Required)
        body - The HTTP message body of the forward request. This is the original value used to initiate the request, with placeholder value text included. For example, {{card_number}} is not replaced with an actual card number. (Required)
      • DestinationRequest

        public DestinationRequest()
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        The URL of the forward request. (Required)
      • getMethod

        public java.lang.String getMethod()
        The HTTP method of the forward request. (Required)
      • getHeaders

        public java.util.Map<java.lang.String,​java.lang.String> getHeaders()
        The HTTP headers of the forward request. Encrypted and sensitive header values are redacted. (Required)
      • getBody

        public java.lang.String getBody()
        The HTTP message body of the forward request. This is the original value used to initiate the request, with placeholder value text included. For example, {{card_number}} is not replaced with an actual card number. (Required)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object