Sdílet prostřednictvím


TestProxyRequestMatcher Class

  • java.lang.Object
    • com.azure.core.test.models.TestProxyRequestMatcher

public class TestProxyRequestMatcher

A matcher is applied during a playback session. The default matcher matches a request on headers, URI, and the body on playback recorded data.

Constructor Summary

Constructor Description
TestProxyRequestMatcher(TestProxyRequestMatcher.TestProxyRequestMatcherType testProxyMatcherType)

Creates an instance of TestProxyMatcher

Method Summary

Modifier and Type Method and Description
TestProxyRequestMatcherType getType()

Get the type of proxy matcher

Methods inherited from java.lang.Object

Constructor Details

TestProxyRequestMatcher

public TestProxyRequestMatcher(TestProxyRequestMatcher.TestProxyRequestMatcherType testProxyMatcherType)

Creates an instance of TestProxyMatcher

Parameters:

testProxyMatcherType - the type of matcher

Method Details

getType

public TestProxyRequestMatcher.TestProxyRequestMatcherType getType()

Get the type of proxy matcher

Returns:

the type of proxy matcher

Applies to