Interface ParameterInfoProvider


public interface ParameterInfoProvider
A ParameterInfoProvider provides the ParameterInfo for a RequestContext if not provided explicitly. By default, the runtime retrieves the data from the current HTTP request.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Provides the ParameterInfo.
    default void
    Passes the latest configured ParameterInfoProvider during configuration phase when this instances gets registered.
  • Method Details

    • get

      Provides the ParameterInfo.
      Returns:
      the ParameterInfo if available, null otherwise.
    • setPrevious

      default void setPrevious(ParameterInfoProvider previous)
      Passes the latest configured ParameterInfoProvider during configuration phase when this instances gets registered. The previous provider can be used to build an adapted provider on top.
      Parameters:
      previous - The previously registered provider.