Class ServletAPI5Mocks
java.lang.Object
io.github.cdiunit.internal.servlet5.ServletAPI5Mocks
-
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
-
ServletAPI5Mocks
public ServletAPI5Mocks()
-
-
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()
-