你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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