Class IntegrationWebExchangeBindException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.server.ResponseStatusException
org.springframework.web.server.ServerWebInputException
org.springframework.web.bind.support.WebExchangeBindException
org.springframework.integration.http.support.IntegrationWebExchangeBindException
- All Implemented Interfaces:
Serializable,BindingResult,Errors
public class IntegrationWebExchangeBindException extends WebExchangeBindException
A
WebExchangeBindException extension for validation error with a failed
message context.
We can't rely on the default WebExchangeBindException behavior since
there is no POJO method invocation in Spring Integration Web endpoint implementations.- Since:
- 5.2
- Author:
- Artem Bilan
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IntegrationWebExchangeBindException(String endpointId, Object failedPayload, BindingResult bindingResult) -
Method Summary
Modifier and Type Method Description booleanequals(Object o)StringgetMessage()inthashCode()Methods inherited from class org.springframework.web.bind.support.WebExchangeBindException
addAllErrors, addError, findEditor, getAllErrors, getBindingResult, getErrorCount, getFieldError, getFieldError, getFieldErrorCount, getFieldErrorCount, getFieldErrors, getFieldErrors, getFieldType, getFieldValue, getGlobalError, getGlobalErrorCount, getGlobalErrors, getModel, getNestedPath, getObjectName, getPropertyEditorRegistry, getRawFieldValue, getSuppressedFields, getTarget, hasErrors, hasFieldErrors, hasFieldErrors, hasGlobalErrors, popNestedPath, pushNestedPath, recordFieldValue, recordSuppressedField, reject, reject, reject, rejectValue, rejectValue, rejectValue, resolveMessageCodes, resolveMessageCodes, setNestedPathMethods inherited from class org.springframework.web.server.ServerWebInputException
getMethodParameterMethods inherited from class org.springframework.web.server.ResponseStatusException
getHeaders, getRawStatusCode, getReason, getResponseHeaders, getStatusMethods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IntegrationWebExchangeBindException
public IntegrationWebExchangeBindException(String endpointId, Object failedPayload, BindingResult bindingResult)
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classWebExchangeBindException
-
equals
- Overrides:
equalsin classWebExchangeBindException
-
hashCode
public int hashCode()- Overrides:
hashCodein classWebExchangeBindException
-