Class SortService


  • public class SortService
    extends Object
    Logic handler for the REST service
    • Constructor Detail

      • SortService

        public SortService​(SortRequestDTO request)
        Constructor for receiving a request.
        Parameters:
        request - the request to be handled.
    • Method Detail

      • handleRequest

        public SortResponseDTO handleRequest()
        Main logic of handling the request. Processes the input using CellMapper, runs desired tests using Measurer, then packs results to form a reply.
        Returns:
        a SortResponseDTO containing results of performed tests.