io.atlassian.util.adapter.jakarta.JakartaJspAdapters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jakarta-adapters Show documentation
Show all versions of jakarta-adapters Show documentation
A collection of classes for adapting Servlet API 4.0 objects to Servlet API 5.0 and vice versa.
package io.atlassian.util.adapter.jakarta;
import io.atlassian.util.adapter.jakarta.el.JakartaELContextAdapter;
import io.atlassian.util.adapter.jakarta.servlet.jsp.JakartaJspFactoryAdapter;
public class JakartaJspAdapters {
private JakartaJspAdapters() {
}
public static jakarta.servlet.jsp.JspFactory asJakartaJsp(javax.servlet.jsp.JspFactory delegate) {
return JakartaJspFactoryAdapter.from(delegate);
}
public static jakarta.el.ELContext asJakartaJsp(javax.el.ELContext delegate) {
return JakartaELContextAdapter.from(delegate);
}
}