Package io.github.cdiunit.servlet6
Class ServletAPI6Mocks
java.lang.Object
io.github.cdiunit.servlet6.ServletAPI6Mocks
Producer for mocks compatible with the Jakarta Servlet 6.0.
NOTE: This class is exposed for satisfy Maven Central javadoc requirements.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.http.HttpServletRequest
httpServletRequest
(jakarta.servlet.http.HttpSession httpSession) jakarta.servlet.http.HttpServletResponse
jakarta.servlet.http.HttpSession
httpSession
(jakarta.servlet.ServletContext servletContext) jakarta.servlet.ServletContext
-
Constructor Details
-
ServletAPI6Mocks
public ServletAPI6Mocks()
-
-
Method Details
-
servletContext
@Produces @ApplicationScoped public jakarta.servlet.ServletContext servletContext() -
httpSession
@Produces public jakarta.servlet.http.HttpSession httpSession(jakarta.servlet.ServletContext servletContext) -
httpServletRequest
@Produces public jakarta.servlet.http.HttpServletRequest httpServletRequest(jakarta.servlet.http.HttpSession httpSession) -
httpServletResponse
@Produces @RequestScoped public jakarta.servlet.http.HttpServletResponse httpServletResponse()
-