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

HttpMessageDiagnostic Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.HttpMessageDiagnostic

public class HttpMessageDiagnostic

Http message diagnostic settings.

Constructor Summary

Constructor Description
HttpMessageDiagnostic()

Method Summary

Modifier and Type Method and Description
BodyDiagnosticSettings body()

Get body logging settings.

java.util.List<java.lang.String> headers()

Get array of HTTP Headers to log.

HttpMessageDiagnostic withBody(BodyDiagnosticSettings body)

Set body logging settings.

HttpMessageDiagnostic withHeaders(List<String> headers)

Set array of HTTP Headers to log.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

HttpMessageDiagnostic

public HttpMessageDiagnostic()

Method Details

body

public BodyDiagnosticSettings body()

Get body logging settings.

Returns:

the body value

headers

public List<String> headers()

Get array of HTTP Headers to log.

Returns:

the headers value

withBody

public HttpMessageDiagnostic withBody(BodyDiagnosticSettings body)

Set body logging settings.

Parameters:

body - the body value to set

Returns:

the HttpMessageDiagnostic object itself.

withHeaders

public HttpMessageDiagnostic withHeaders(List<String> headers)

Set array of HTTP Headers to log.

Parameters:

headers - the headers value to set

Returns:

the HttpMessageDiagnostic object itself.

Applies to