TestProxyRecordingOptions Class

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

public class TestProxyRecordingOptions

Keeps track of transport layer recording options to send to proxy.

Constructor Summary

Constructor Description
TestProxyRecordingOptions()

Method Summary

Modifier and Type Method and Description
ProxyTransport getTransportOptions()

Get test proxy transport options for recording.

boolean isAutoRedirect()

Get if auto redirecting is allowed.

TestProxyRecordingOptions setAutoRedirect(boolean autoRedirect)

Set the boolean value indicating if auto redirect is allowed.

TestProxyRecordingOptions setTransportOptions(TestProxyRecordingOptions.ProxyTransport proxyTransportOptions)

Set test proxy transport options for recording.

Methods inherited from java.lang.Object

Constructor Details

TestProxyRecordingOptions

public TestProxyRecordingOptions()

Method Details

getTransportOptions

public TestProxyRecordingOptions.ProxyTransport getTransportOptions()

Get test proxy transport options for recording.

Returns:

the ProxyTransport options.

isAutoRedirect

public boolean isAutoRedirect()

Get if auto redirecting is allowed. Default value is set to true.

Returns:

the boolean value indicating if auto redirect is allowed.

setAutoRedirect

public TestProxyRecordingOptions setAutoRedirect(boolean autoRedirect)

Set the boolean value indicating if auto redirect is allowed.

Parameters:

autoRedirect - the boolean value indicating if auto redirect is allowed.

Returns:

setTransportOptions

public TestProxyRecordingOptions setTransportOptions(TestProxyRecordingOptions.ProxyTransport proxyTransportOptions)

Set test proxy transport options for recording.

Parameters:

proxyTransportOptions - the test proxy transport options for recording

Returns:

the ProxyTransport options.

Applies to