Class WebClientRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.reactive.function.client.WebClientException
org.springframework.web.reactive.function.client.WebClientRequestException
All Implemented Interfaces:
Serializable

public class WebClientRequestException extends WebClientException
Exceptions that contain actual HTTP request data.
Since:
5.3
Author:
Arjen Poutsma
See Also:
  • Constructor Details

    • WebClientRequestException

      public WebClientRequestException(Throwable ex, org.springframework.http.HttpMethod method, URI uri, org.springframework.http.HttpHeaders headers)
      Constructor for throwable.
  • Method Details

    • getMethod

      public org.springframework.http.HttpMethod getMethod()
      Return the HTTP request method.
    • getUri

      public URI getUri()
      Return the request URI.
    • getHeaders

      public org.springframework.http.HttpHeaders getHeaders()
      Return the HTTP request headers.