spring-framework / org.springframework.web.reactive.function.client / WebClientResponseException / <init>

<init>

WebClientResponseException(message: String, statusCode: Int, statusText: String, @Nullable headers: HttpHeaders, @Nullable responseBody: ByteArray, @Nullable responseCharset: Charset)

Construct a new instance of with the given response data.

Parameters

statusCode - the raw status code value

statusText - the status text

headers - the response headers (may be null)

responseBody - the response body content (may be null)

responseCharset - the response body charset (may be null)