Package ee.jakarta.tck.pages.common.util
Class SimpleContext
java.lang.Object
jakarta.servlet.jsp.JspContext
jakarta.servlet.jsp.PageContext
ee.jakarta.tck.pages.common.util.SimpleContext
public class SimpleContext
extends jakarta.servlet.jsp.PageContext
Simple class to validate release is called on the PageContext object provide
to JspFactory.release.
-
Field Summary
Fields inherited from class jakarta.servlet.jsp.PageContext
APPLICATION, APPLICATION_SCOPE, CONFIG, EXCEPTION, OUT, PAGE, PAGE_SCOPE, PAGECONTEXT, REQUEST, REQUEST_SCOPE, RESPONSE, SESSION, SESSION_SCOPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns null.void
No-opReturns null.getAttribute
(String s, int i) Returns null.getAttributeNamesInScope
(int i) Returns nullint
Returns 0.jakarta.el.ELContext
Returns null.Returns null.jakarta.servlet.jsp.JspWriter
getOut()
Returns null.getPage()
Returns null.jakarta.servlet.ServletRequest
Returns null.jakarta.servlet.ServletResponse
Returns null.jakarta.servlet.ServletConfig
Returns null.jakarta.servlet.ServletContext
Returns null.jakarta.servlet.http.HttpSession
Returns nullvoid
No-opvoid
handlePageException
(Throwable throwable) No-op.void
No-opvoid
No-op.void
initialize
(jakarta.servlet.Servlet servlet, jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse, String s, boolean b, int i, boolean b1) No-op.boolean
void
release()
Performs cleanup of PageContext when called by JspFactory.void
No-op.void
removeAttribute
(String s, int i) No-op.void
setAttribute
(String s, Object o) No-op.void
setAttribute
(String s, Object o, int i) No-op.Methods inherited from class jakarta.servlet.jsp.PageContext
getErrorData, pushBody
Methods inherited from class jakarta.servlet.jsp.JspContext
popBody, pushBody
-
Constructor Details
-
SimpleContext
public SimpleContext()
-
-
Method Details
-
initialize
public void initialize(jakarta.servlet.Servlet servlet, jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse, String s, boolean b, int i, boolean b1) throws IOException, IllegalStateException, IllegalArgumentException No-op.- Specified by:
initialize
in classjakarta.servlet.jsp.PageContext
- Parameters:
servlet
-servletRequest
-servletResponse
-s
-b
-i
-b1
-- Throws:
IOException
IllegalStateException
IllegalArgumentException
-
getResponse
public jakarta.servlet.ServletResponse getResponse()Returns null.- Specified by:
getResponse
in classjakarta.servlet.jsp.PageContext
- Returns:
- null
-
getRequest
public jakarta.servlet.ServletRequest getRequest()Returns null.- Specified by:
getRequest
in classjakarta.servlet.jsp.PageContext
- Returns:
- null
-
getELContext
public jakarta.el.ELContext getELContext()Returns null.- Specified by:
getELContext
in classjakarta.servlet.jsp.JspContext
- Returns:
- null
-
getPage
Returns null.- Specified by:
getPage
in classjakarta.servlet.jsp.PageContext
- Returns:
- null
-
getSession
public jakarta.servlet.http.HttpSession getSession()Returns null- Specified by:
getSession
in classjakarta.servlet.jsp.PageContext
- Returns:
- null
-
getOut
public jakarta.servlet.jsp.JspWriter getOut()Returns null.- Specified by:
getOut
in classjakarta.servlet.jsp.JspContext
- Returns:
- null
-
getAttributeNamesInScope
Returns null- Specified by:
getAttributeNamesInScope
in classjakarta.servlet.jsp.JspContext
- Parameters:
i
-- Returns:
- null
-
getAttributesScope
Returns 0.- Specified by:
getAttributesScope
in classjakarta.servlet.jsp.JspContext
- Parameters:
s
-- Returns:
- 0
-
removeAttribute
No-op.- Specified by:
removeAttribute
in classjakarta.servlet.jsp.JspContext
- Parameters:
s
-i
-
-
removeAttribute
No-op.- Specified by:
removeAttribute
in classjakarta.servlet.jsp.JspContext
- Parameters:
s
-
-
findAttribute
Returns null.- Specified by:
findAttribute
in classjakarta.servlet.jsp.JspContext
- Parameters:
s
-- Returns:
- null
-
getAttribute
Returns null.- Specified by:
getAttribute
in classjakarta.servlet.jsp.JspContext
- Parameters:
s
-i
-- Returns:
- null
-
getAttribute
Returns null.- Specified by:
getAttribute
in classjakarta.servlet.jsp.JspContext
- Parameters:
s
-- Returns:
- null
-
setAttribute
No-op.- Specified by:
setAttribute
in classjakarta.servlet.jsp.JspContext
- Parameters:
s
-o
-i
-
-
setAttribute
No-op.- Specified by:
setAttribute
in classjakarta.servlet.jsp.JspContext
- Parameters:
s
-o
-
-
handlePageException
public void handlePageException(Throwable throwable) throws jakarta.servlet.ServletException, IOException No-op.- Specified by:
handlePageException
in classjakarta.servlet.jsp.PageContext
- Parameters:
throwable
-- Throws:
jakarta.servlet.ServletException
IOException
-
handlePageException
No-op- Specified by:
handlePageException
in classjakarta.servlet.jsp.PageContext
- Parameters:
e
-- Throws:
jakarta.servlet.ServletException
IOException
-
include
No-op.- Specified by:
include
in classjakarta.servlet.jsp.PageContext
- Parameters:
s
-b
-- Throws:
jakarta.servlet.ServletException
IOException
-
include
No-op- Specified by:
include
in classjakarta.servlet.jsp.PageContext
- Parameters:
s
-- Throws:
jakarta.servlet.ServletException
IOException
-
forward
No-op- Specified by:
forward
in classjakarta.servlet.jsp.PageContext
- Parameters:
s
-- Throws:
jakarta.servlet.ServletException
IOException
-
getServletContext
public jakarta.servlet.ServletContext getServletContext()Returns null.- Specified by:
getServletContext
in classjakarta.servlet.jsp.PageContext
- Returns:
- null
-
getServletConfig
public jakarta.servlet.ServletConfig getServletConfig()Returns null.- Specified by:
getServletConfig
in classjakarta.servlet.jsp.PageContext
- Returns:
- null
-
getException
Returns null.- Specified by:
getException
in classjakarta.servlet.jsp.PageContext
- Returns:
- null
-
release
public void release()Performs cleanup of PageContext when called by JspFactory.- Specified by:
release
in classjakarta.servlet.jsp.PageContext
-
isReleased
public boolean isReleased()
-