class InspectorEndpoint {
    @Autowired
    private InspectorResource inspectorResource;

    @RequestMapping(path = "/inspect", method = RequestMethod.POST)
    @ResponseBody
    public ResponseEntity<?> inspect(@RequestBody InspectorEntity inspectorEntity) {
        return doInspect(inspectorEntity);
    }

    @RequestMapping(path = "/inspect-service", method = RequestMethod.POST)
    @ResponseBody
    public ResponseEntity<?> inspect(@RequestBody List<String> service) {
        return doInspect(service);
    }

    private ResponseEntity<?> doInspect(InspectorEntity inspectorEntity) {
        try {
            InspectorEntity result = inspectorResource.inspect(inspectorEntity);

            return ResponseUtil.getSuccessResponse(result);
        } catch (Exception e) {
            return ResponseUtil.getFailureResponse(e);
        }
    }

    private ResponseEntity<?> doInspect(List<String> service) {<FILL_FUNCTION_BODY>}
}

        try {
            String result = inspectorResource.inspect(service);

            return ResponseUtil.getSuccessResponse(result);
        } catch (Exception e) {
            return ResponseUtil.getFailureResponse(e);
        }
    
<no_super_class>