Remove outdated Session's Cookie override

Closes gh-45523
This commit is contained in:
Stéphane Nicoll
2025-05-13 16:28:38 +02:00
parent c25e330b2e
commit 083b49030e

View File

@@ -24,6 +24,7 @@ import java.util.Set;
import org.springframework.boot.context.properties.ConfigurationPropertiesSource;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.boot.convert.DurationUnit;
import org.springframework.boot.web.server.Cookie;
/**
* Session properties.
@@ -113,15 +114,6 @@ public class Session {
return this.sessionStoreDirectory;
}
/**
* Session cookie properties. This class is provided only for back-compatibility
* reasons, consider using {@link org.springframework.boot.web.server.Cookie} whenever
* possible.
*/
public static class Cookie extends org.springframework.boot.web.server.Cookie {
}
/**
* Available session tracking modes (mirrors
* {@link jakarta.servlet.SessionTrackingMode}).