It’s not special To handle cookie, there are no special way for Spring Boot. It’s same as general Servlet Get HttpServletRequest, HttpServletResponse @RequestMapping(value="/testcookie", method = RequestMethod.GET) public String testCookie(HttpServletRequest request, HttpServletResponse response) { } We can use request, response with arguments. Add Cookie Cookie cookie = new Cookie("test", "Boon")