Deprecated List (Servlet 6.0 API Documentation - Apache Tomcat 10.1.2)

# Deprecated API

## Contents

- For Removal
- Fields
- Methods

- For Removal
  Element | Description
  --- | ---
  jakarta.servlet.http.Cookie.getComment() | This is no longer required with RFC 6265
  jakarta.servlet.http.Cookie.getVersion() | This is no longer required with RFC 6265
  jakarta.servlet.http.Cookie.setComment​(String) | This is no longer required with RFC 6265
  jakarta.servlet.http.Cookie.setVersion​(int) | This is no longer required with RFC 6265
  jakarta.servlet.http.HttpServlet.LEGACY_DO_HEAD | May be removed in a future release
  jakarta.servlet.SessionCookieConfig.getComment() | This is no longer required with RFC 6265
  jakarta.servlet.SessionCookieConfig.setComment​(String) | This is no longer required with RFC 6265

- Fields
  Field | Description
  --- | ---
  jakarta.servlet.http.HttpServlet.LEGACY_DO_HEAD | May be removed in a future release

- Methods
  Method | Description
  --- | ---
  jakarta.servlet.http.Cookie.getComment() | This is no longer required with RFC 6265
  jakarta.servlet.http.Cookie.getVersion() | This is no longer required with RFC 6265
  jakarta.servlet.http.Cookie.setComment​(String) | This is no longer required with RFC 6265
  jakarta.servlet.http.Cookie.setVersion​(int) | This is no longer required with RFC 6265
  jakarta.servlet.SessionCookieConfig.getComment() | This is no longer required with RFC 6265
  jakarta.servlet.SessionCookieConfig.setComment​(String) | This is no longer required with RFC 6265