Interface ResultHandlerService

All Known Implementing Classes:
GenericResultHandlerService

public interface ResultHandlerService
A service interface for result handling.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(Object result)
    Handle result.
    void
    handle(Object result, org.springframework.core.convert.TypeDescriptor resultType)
    Handle result to the specified TypeDescriptor.
  • Method Details

    • handle

      void handle(@Nullable Object result)
      Handle result.
      Parameters:
      result - the result
    • handle

      void handle(@Nullable Object result, @Nullable org.springframework.core.convert.TypeDescriptor resultType)
      Handle result to the specified TypeDescriptor.
      Parameters:
      result - the result
      resultType - the result type