Interface IParameterMapper

  • All Known Implementing Classes:
    DefaultParameterMapper, RequestMapper

    public interface IParameterMapper
    The parameter mapper interface is used for mappers that take as input a parameter array and produce a converted one as output (n:m).
    • Method Detail

      • convertParameters

        java.lang.Object[] convertParameters​(java.lang.Object[] parameters,
                                             java.lang.Object request)
                                      throws java.lang.Exception
        Convert parameters.
        Parameters:
        parameters - The values to convert.
        context - The context (could be the http servlet request or a custom container request).
        Returns:
        The converted parameters.
        Throws:
        java.lang.Exception