Class IntegrationWebExchangeBindException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.ErrorResponseException
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, org.springframework.validation.BindingResult, org.springframework.validation.Errors, org.springframework.web.ErrorResponse

public class IntegrationWebExchangeBindException extends org.springframework.web.bind.support.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
See Also:
  • Field Summary

    Fields inherited from interface org.springframework.validation.BindingResult

    MODEL_KEY_PREFIX

    Fields inherited from interface org.springframework.validation.Errors

    NESTED_PATH_SEPARATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
    IntegrationWebExchangeBindException(String endpointId, Object failedPayload, org.springframework.validation.BindingResult bindingResult)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
    int
     

    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, setNestedPath

    Methods inherited from class org.springframework.web.server.ServerWebInputException

    getMethodParameter

    Methods inherited from class org.springframework.web.server.ResponseStatusException

    getHeaders, getReason, getResponseHeaders

    Methods inherited from class org.springframework.web.ErrorResponseException

    getBody, getStatusCode, setDetail, setInstance, setTitle, setType

    Methods inherited from class org.springframework.core.NestedRuntimeException

    contains, getMostSpecificCause, getRootCause

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • IntegrationWebExchangeBindException

      public IntegrationWebExchangeBindException(String endpointId, Object failedPayload, org.springframework.validation.BindingResult bindingResult)
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class org.springframework.web.bind.support.WebExchangeBindException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.springframework.web.bind.support.WebExchangeBindException
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.springframework.web.bind.support.WebExchangeBindException