Class HttpRouteMatch.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appmesh.HttpRouteMatch.Jsii$Proxy
All Implemented Interfaces:
HttpRouteMatch, software.amazon.jsii.JsiiSerializable
Enclosing interface:
HttpRouteMatch

@Stability(Stable) @Internal public static final class HttpRouteMatch.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HttpRouteMatch
An implementation for HttpRouteMatch
  • 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

      protected Jsii$Proxy(HttpRouteMatch.Builder builder)
      Constructor that initializes the object based on literal property values passed by the HttpRouteMatch.Builder.
  • Method Details

    • getHeaders

      public final List<HeaderMatch> getHeaders()
      Description copied from interface: HttpRouteMatch
      Specifies the client request headers to match on.

      All specified headers must match for the route to match.

      Default: - do not match on headers

      Specified by:
      getHeaders in interface HttpRouteMatch
    • getMethod

      public final HttpRouteMethod getMethod()
      Description copied from interface: HttpRouteMatch
      The HTTP client request method to match on.

      Default: - do not match on request method

      Specified by:
      getMethod in interface HttpRouteMatch
    • getPath

      public final HttpRoutePathMatch getPath()
      Description copied from interface: HttpRouteMatch
      Specifies how is the request matched based on the path part of its URL.

      Default: - matches requests with all paths

      Specified by:
      getPath in interface HttpRouteMatch
    • getPort

      public final Number getPort()
      Description copied from interface: HttpRouteMatch
      The port to match from the request.

      Default: - do not match on port

      Specified by:
      getPort in interface HttpRouteMatch
    • getProtocol

      public final HttpRouteProtocol getProtocol()
      Description copied from interface: HttpRouteMatch
      The client request protocol to match on.

      Applicable only for HTTP2 routes.

      Default: - do not match on HTTP2 request protocol

      Specified by:
      getProtocol in interface HttpRouteMatch
    • getQueryParameters

      public final List<QueryParameterMatch> getQueryParameters()
      Description copied from interface: HttpRouteMatch
      The query parameters to match on.

      All specified query parameters must match for the route to match.

      Default: - do not match on query parameters

      Specified by:
      getQueryParameters in interface HttpRouteMatch
    • $jsii$toJson

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

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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