Package pl.put.poznan.transformer.logic
Class SortService
- java.lang.Object
-
- pl.put.poznan.transformer.logic.SortService
-
public class SortService extends Object
Logic handler for the REST service
-
-
Constructor Summary
Constructors Constructor Description SortService(SortRequestDTO request)Constructor for receiving a request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SortResponseDTOhandleRequest()Main logic of handling the request.
-
-
-
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 usingCellMapper, runs desired tests usingMeasurer, then packs results to form a reply.- Returns:
- a
SortResponseDTOcontaining results of performed tests.
-
-