TestProxyRecordingOptions Class
- java.
lang. Object - com.
azure. core. test. models. TestProxyRecordingOptions
- com.
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 |
---|---|
Proxy |
getTransportOptions()
Get test proxy transport options for recording. |
boolean |
isAutoRedirect()
Get if auto redirecting is allowed. |
Test |
setAutoRedirect(boolean autoRedirect)
Set the boolean value indicating if auto redirect is allowed. |
Test |
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:
isAutoRedirect
public boolean isAutoRedirect()
Get if auto redirecting is allowed. Default value is set to true.
Returns:
setAutoRedirect
public TestProxyRecordingOptions setAutoRedirect(boolean autoRedirect)
Set the boolean value indicating if auto redirect is allowed.
Parameters:
Returns:
setTransportOptions
public TestProxyRecordingOptions setTransportOptions(TestProxyRecordingOptions.ProxyTransport proxyTransportOptions)
Set test proxy transport options for recording.
Parameters:
Returns:
Applies to
Azure SDK for Java