Class JakartaAdapters
java.lang.Object
com.atlassian.confluence.impl.adapter.jakarta.JakartaAdapters
- Since:
- 9.1
-
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.servlet.Filter
asJakarta
(javax.servlet.Filter delegate) static jakarta.servlet.FilterChain
asJakarta
(javax.servlet.FilterChain delegate) static jakarta.servlet.FilterConfig
asJakarta
(javax.servlet.FilterConfig delegate) static jakarta.servlet.http.HttpServletRequest
asJakarta
(javax.servlet.http.HttpServletRequest delegate) static jakarta.servlet.http.HttpServletResponse
asJakarta
(javax.servlet.http.HttpServletResponse delegate) static jakarta.servlet.Servlet
asJakarta
(javax.servlet.Servlet delegate) static jakarta.servlet.ServletContext
asJakarta
(javax.servlet.ServletContext delegate) Creates an object of typeServletContext
whose methods delegate to a targetServletContext
.static jakarta.servlet.ServletRequest
asJakarta
(javax.servlet.ServletRequest delegate) static jakarta.servlet.ServletResponse
asJakarta
(javax.servlet.ServletResponse delegate) static Object
asJakartaIfJavaX
(Object delegate) Converts a potential JavaX object to its corresponding Jakarta object.
-
Method Details
-
asJakartaIfJavaX
Converts a potential JavaX object to its corresponding Jakarta object. Only supports:HttpServletRequest
ServletRequest
HttpServletResponse
ServletResponse
ServletContext
Servlet
Filter
-
asJakarta
public static jakarta.servlet.Filter asJakarta(javax.servlet.Filter delegate) -
asJakarta
public static jakarta.servlet.FilterChain asJakarta(javax.servlet.FilterChain delegate) -
asJakarta
public static jakarta.servlet.FilterConfig asJakarta(javax.servlet.FilterConfig delegate) -
asJakarta
public static jakarta.servlet.Servlet asJakarta(javax.servlet.Servlet delegate) -
asJakarta
public static jakarta.servlet.http.HttpServletRequest asJakarta(javax.servlet.http.HttpServletRequest delegate) -
asJakarta
public static jakarta.servlet.ServletRequest asJakarta(javax.servlet.ServletRequest delegate) -
asJakarta
public static jakarta.servlet.http.HttpServletResponse asJakarta(javax.servlet.http.HttpServletResponse delegate) -
asJakarta
public static jakarta.servlet.ServletResponse asJakarta(javax.servlet.ServletResponse delegate) -
asJakarta
public static jakarta.servlet.ServletContext asJakarta(javax.servlet.ServletContext delegate) Creates an object of typeServletContext
whose methods delegate to a targetServletContext
.
-