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, HttpMethod method, URI uri, HttpHeaders headers) Constructor for throwable. -
Method Summary
Modifier and TypeMethodDescriptionReturn the HTTP request headers.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
-
WebClientRequestException
Constructor for throwable.
-
-
Method Details
-
getMethod
Return the HTTP request method. -
getUri
Return the request URI. -
getHeaders
Return the HTTP request headers.
-