@@ -0,0 +1,3169 @@
+/*%0A * =============================================================================%0A *%0A *   Copyright (c) 2011-2018, The THYMELEAF team (http://www.thymeleaf.org)%0A *%0A *   Licensed under the Apache License, Version 2.0 (the %22License%22);%0A *   you may not use this file except in compliance with the License.%0A *   You may obtain a copy of the License at%0A *%0A *       http://www.apache.org/licenses/LICENSE-2.0%0A *%0A *   Unless required by applicable law or agreed to in writing, software%0A *   distributed under the License is distributed on an %22AS IS%22 BASIS,%0A *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A *   See the License for the specific language governing permissions and%0A *   limitations under the License.%0A *%0A * =============================================================================%0A */%0Apackage org.thymeleaf.context;%0A%0Aimport jakarta.servlet.ServletContext;%0Aimport jakarta.servlet.http.HttpServletRequest;%0Aimport jakarta.servlet.http.HttpServletResponse;%0Aimport jakarta.servlet.http.HttpSession;%0Aimport java.util.Locale;%0Aimport java.util.Map;%0A%0A/**%0A * %3Cp%3E%0A *   Basic web-oriented implementation of the %7B@link IContext%7D and %7B@link IJakartaWebContext%7D interfaces.%0A * %3C/p%3E%0A * %3Cp%3E%0A *   This context implementation contains all the required Servlet-API artifacts needed for template%0A *   execution in web environments, and should be enough for most web-based scenarios of template%0A *   processing.%0A * %3C/p%3E%0A * %3Cp%3E%0A *   Note a class with this name existed since 2.0.9, but it was completely reimplemented%0A *   in Thymeleaf 3.0%0A * %3C/p%3E%0A *%0A * @author Daniel Fern&aacute;ndez%0A *%0A * @since 3.0.0%0A *%0A */%0Apublic final class JakartaWebContext extends AbstractContext implements IJakartaWebContext %7B%0A%0A    private final HttpServletRequest request;%0A    private final HttpServletResponse response;%0A    private final ServletContext servletContext;%0A%0A%0A    public JakartaWebContext(final HttpServletRequest request, final HttpServletResponse response,%0A%09%09%09%09%09%09%09 final ServletContext servletContext) %7B%0A        super();%0A        this.request = request;%0A        this.response = response;%0A        this.servletContext = servletContext;%0A    %7D%0A%0A    public JakartaWebContext(final HttpServletRequest request, final HttpServletResponse response,%0A%09%09%09%09%09%09%09 final ServletContext servletContext, final Locale locale) %7B%0A        super(locale);%0A        this.request = request;%0A        this.response = response;%0A        this.servletContext = servletContext;%0A    %7D%0A%0A    public JakartaWebContext(final HttpServletRequest request, final HttpServletResponse response,%0A%09%09%09%09%09%09%09 final ServletContext servletContext, final Locale locale, final Map%3CString, Object%3E variables) %7B%0A        super(locale, variables);%0A        this.request = request;%0A        this.response = response;%0A        this.servletContext = servletContext;%0A    %7D%0A%0A%0A    public HttpServletRequest getRequest() %7B%0A        return this.request;%0A    %7D%0A%0A    public HttpSession getSession() %7B%0A        return this.request.getSession(false);%0A    %7D%0A%0A    public HttpServletResponse getResponse() %7B%0A        return this.response;%0A    %7D%0A%0A    public ServletContext getServletContext() %7B%0A        return this.servletContext;%0A    %7D%0A%0A%7D%0A

Add JakartaWebContext