class FileTypeRestController {

    @RequestMapping(value = "/fileTypes", method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_FILE_TYPES_POST)
    public FileType createFileType(@RequestBody FileTypeCreateRequest request)
    {
        return fileTypeService.createFileType(request);
    }

}