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
Exceptions that contain actual HTTP request data.
- Since:
- 5.3
- Author:
- Arjen Poutsma
- See Also:
-
Constructor Summary
ConstructorDescriptionWebClientRequestException
(Throwable ex, org.springframework.http.HttpMethod method, URI uri, org.springframework.http.HttpHeaders headers) Constructor for throwable. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpHeaders
Return the HTTP request headers.org.springframework.http.HttpMethod
Return the HTTP request method.getUri()
Return the request URI.Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method Details
-
getMethod
public org.springframework.http.HttpMethod getMethod()Return the HTTP request method. -
getUri
Return the request URI. -
getHeaders
public org.springframework.http.HttpHeaders getHeaders()Return the HTTP request headers.
-