Here is the big picture I want to append "HttpOnly" to the JSESSIONID Cookie, but I want to do this by hand, meaning:
//create a new cookie StringBuilder updatedCookie = new StringBuilder("JSESSIONID").append("=") ...