---
title: "jakarta.servlet:jakarta.servlet-api 6.0.0 Breaking Changes"
description: "What each jakarta.servlet:jakarta.servlet-api release removed, renamed or changed: 21 breaking changes in 1 version on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/jakarta.servlet:jakarta.servlet-api
last_updated: 2026-12-04
---

# jakarta.servlet:jakarta.servlet-api breaking changes

jakarta.servlet:jakarta.servlet-api 6.0.0 (May 12, 2022) is its newest release with breaking changes, 21 of them. The first: Removed jakarta.servlet.http.HttpServletRequest.getRealPath. Every breaking API change we have recorded in jakarta.servlet:jakarta.servlet-api on Maven Central: 21 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.1.0`, released May 24, 2024. 

Packages on Maven Central run on Java. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

## jakarta.servlet:jakarta.servlet-api 6.0.0 breaking changes

jakarta.servlet:jakarta.servlet-api 6.0.0, released May 12, 2022: 21 breaking changes.

- **Removed** `jakarta.servlet.http.HttpServletRequest.getRealPath`  

HttpServletRequest.getRealPath was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.http.HttpServletRequest.isRequestedSessionIdFromUrl`  

HttpServletRequest.isRequestedSessionIdFromUrl was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.http.HttpServletRequestWrapper.getRealPath`  

HttpServletRequestWrapper.getRealPath was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.http.HttpServletResponse.encodeRedirectUrl`  

HttpServletResponse.encodeRedirectUrl was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.http.HttpServletResponse.encodeUrl`  

HttpServletResponse.encodeUrl was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.http.HttpSession.getSessionContext`  

HttpSession.getSessionContext was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.http.HttpSession.getValue`  

HttpSession.getValue was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.http.HttpSession.getValueNames`  

HttpSession.getValueNames was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.http.HttpSession.putValue`  

HttpSession.putValue was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.http.HttpSession.removeValue`  

HttpSession.removeValue was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.http.HttpSessionContext`  

jakarta.servlet.http.HttpSessionContext was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.http.HttpUtils`  

jakarta.servlet.http.HttpUtils was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.ServletContext.getServlet`  

ServletContext.getServlet was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.ServletContext.getServletNames`  

ServletContext.getServletNames was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.ServletContext.getServlets`  

ServletContext.getServlets was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.ServletRequest.getRealPath`  

ServletRequest.getRealPath was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.SingleThreadModel`  

jakarta.servlet.SingleThreadModel was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Removed** `jakarta.servlet.UnavailableException.getServlet`  

UnavailableException.getServlet was removed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Signature changed** `jakarta.servlet.http.HttpServletResponse.setStatus`  

The signature of HttpServletResponse.setStatus changed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Signature changed** `jakarta.servlet.ServletContext.log`  

The signature of ServletContext.log changed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)
- **Signature changed** `jakarta.servlet.UnavailableException.<init>`  

The signature of UnavailableException.\<init> changed in jakarta.servlet:jakarta.servlet-api 6.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.servlet/jakarta.servlet-api/6.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
