I have a sql query.

this is my abc.class

```
public class Abc {

    private Integer ABC_ID;
    private String RECIP_ID, RECIP_FIRST_NAME, RECIP_MIDDLE_NAME;

    public Abc() {
        //super();
        // TODO Auto-generated constructor stub
    }
    }

```

and the rest are the getters and setters;

```
    @RequestMapping(value = "/abc/export", method = RequestMethod.GET)
        @ResponseBody
        public ResponseEntity<List<abc>> getProviderExport(@RequestParam String id, HttpServletResponse response){

List<abc> abcdetails = jdbcTemplate.query(sqlQuery, new BeanPropertyRowMapper<abc>(abc.class));
HttpHeaders responseHeaders = new HttpHeaders();
        //responseHeaders.setContentType(MediaType.TEXT_PLAIN);
        String filename1 = "output.txt";
        //responseHeaders.setContentType("text/plain");
        response.setCharacterEncoding("UTF-8");
        responseHeaders.add("Content-Disposition","attachment; filename="+filename1);

        return new ResponseEntity<>(abcdetails, responseHeaders, HttpStatus.OK);

    }

```

when I execute the above code and run the api, my api prompts to save the output file as output.txt, but when i open the output file, the content is still in json format. can anyone help me on how to achieve the output.txt file that is using tab delimited and uppercase.