Interface JsonMatchPattern.Builder

    • Method Detail

      • all

        JsonMatchPattern.Builder all​(All all)

        Match all of the elements. See also MatchScope in JsonBody.

        You must specify either this setting or the IncludedPaths setting, but not both.

        Parameters:
        all - Match all of the elements. See also MatchScope in JsonBody.

        You must specify either this setting or the IncludedPaths setting, but not both.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includedPaths

        JsonMatchPattern.Builder includedPaths​(Collection<String> includedPaths)

        Match only the specified include paths. See also MatchScope in JsonBody.

        Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

        You must specify either this setting or the All setting, but not both.

        Don't use this option to include all paths. Instead, use the All setting.

        Parameters:
        includedPaths - Match only the specified include paths. See also MatchScope in JsonBody.

        Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

        You must specify either this setting or the All setting, but not both.

        Don't use this option to include all paths. Instead, use the All setting.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includedPaths

        JsonMatchPattern.Builder includedPaths​(String... includedPaths)

        Match only the specified include paths. See also MatchScope in JsonBody.

        Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

        You must specify either this setting or the All setting, but not both.

        Don't use this option to include all paths. Instead, use the All setting.

        Parameters:
        includedPaths - Match only the specified include paths. See also MatchScope in JsonBody.

        Provide the include paths using JSON Pointer syntax. For example, "IncludedPaths": ["/dogs/0/name", "/dogs/1/name"]. For information about this syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.

        You must specify either this setting or the All setting, but not both.

        Don't use this option to include all paths. Instead, use the All setting.

        Returns:
        Returns a reference to this object so that method calls can be chained together.