public Response cookie(String name, String value, int maxAge) {
        Cookie cookie = new Cookie(name, value);
        cookie.setSecure(true);
        cookie.setMaxAge(maxAge);
        addCookie(cookie);

        return this;
    }
public Response cookie ( String name , String value , int maxAge ) { Cookie cookie = new Cookie ( name , value ) ; cookie . setSecure ( true ) ; cookie . setMaxAge ( maxAge ) ; addCookie ( cookie ) ; return this ; }
Adds a cookie to the response.

@param name
@param value
@param maxAge
@return the response