HttpMessageDiagnostic.withHeaders(List<String> headers) Method

Definition

Set the headers property: Array of HTTP Headers to log.

public HttpMessageDiagnostic withHeaders(List<String> headers)

Parameters

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

the headers value to set.

Returns

the HttpMessageDiagnostic object itself.

Applies to