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.voidNo-opReturns null.getAttribute(String s, int i) Returns null.getAttributeNamesInScope(int i) Returns nullintReturns 0.jakarta.el.ELContextReturns null.Returns null.jakarta.servlet.jsp.JspWritergetOut()Returns null.getPage()Returns null.jakarta.servlet.ServletRequestReturns null.jakarta.servlet.ServletResponseReturns null.jakarta.servlet.ServletConfigReturns null.jakarta.servlet.ServletContextReturns null.jakarta.servlet.http.HttpSessionReturns nullvoidNo-opvoidhandlePageException(Throwable throwable) No-op.voidNo-opvoidNo-op.voidinitialize(jakarta.servlet.Servlet servlet, jakarta.servlet.ServletRequest servletRequest, jakarta.servlet.ServletResponse servletResponse, String s, boolean b, int i, boolean b1) No-op.booleanvoidrelease()Performs cleanup of PageContext when called by JspFactory.voidNo-op.voidremoveAttribute(String s, int i) No-op.voidsetAttribute(String s, Object o) No-op.voidsetAttribute(String s, Object o, int i) No-op.Methods inherited from class jakarta.servlet.jsp.PageContext
getErrorData, pushBodyMethods 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:
initializein classjakarta.servlet.jsp.PageContext- Parameters:
servlet-servletRequest-servletResponse-s-b-i-b1-- Throws:
IOExceptionIllegalStateExceptionIllegalArgumentException
-
getResponse
public jakarta.servlet.ServletResponse getResponse()Returns null.- Specified by:
getResponsein classjakarta.servlet.jsp.PageContext- Returns:
- null
-
getRequest
public jakarta.servlet.ServletRequest getRequest()Returns null.- Specified by:
getRequestin classjakarta.servlet.jsp.PageContext- Returns:
- null
-
getELContext
public jakarta.el.ELContext getELContext()Returns null.- Specified by:
getELContextin classjakarta.servlet.jsp.JspContext- Returns:
- null
-
getPage
Returns null.- Specified by:
getPagein classjakarta.servlet.jsp.PageContext- Returns:
- null
-
getSession
public jakarta.servlet.http.HttpSession getSession()Returns null- Specified by:
getSessionin classjakarta.servlet.jsp.PageContext- Returns:
- null
-
getOut
public jakarta.servlet.jsp.JspWriter getOut()Returns null.- Specified by:
getOutin classjakarta.servlet.jsp.JspContext- Returns:
- null
-
getAttributeNamesInScope
Returns null- Specified by:
getAttributeNamesInScopein classjakarta.servlet.jsp.JspContext- Parameters:
i-- Returns:
- null
-
getAttributesScope
Returns 0.- Specified by:
getAttributesScopein classjakarta.servlet.jsp.JspContext- Parameters:
s-- Returns:
- 0
-
removeAttribute
No-op.- Specified by:
removeAttributein classjakarta.servlet.jsp.JspContext- Parameters:
s-i-
-
removeAttribute
No-op.- Specified by:
removeAttributein classjakarta.servlet.jsp.JspContext- Parameters:
s-
-
findAttribute
Returns null.- Specified by:
findAttributein classjakarta.servlet.jsp.JspContext- Parameters:
s-- Returns:
- null
-
getAttribute
Returns null.- Specified by:
getAttributein classjakarta.servlet.jsp.JspContext- Parameters:
s-i-- Returns:
- null
-
getAttribute
Returns null.- Specified by:
getAttributein classjakarta.servlet.jsp.JspContext- Parameters:
s-- Returns:
- null
-
setAttribute
No-op.- Specified by:
setAttributein classjakarta.servlet.jsp.JspContext- Parameters:
s-o-i-
-
setAttribute
No-op.- Specified by:
setAttributein classjakarta.servlet.jsp.JspContext- Parameters:
s-o-
-
handlePageException
public void handlePageException(Throwable throwable) throws jakarta.servlet.ServletException, IOException No-op.- Specified by:
handlePageExceptionin classjakarta.servlet.jsp.PageContext- Parameters:
throwable-- Throws:
jakarta.servlet.ServletExceptionIOException
-
handlePageException
No-op- Specified by:
handlePageExceptionin classjakarta.servlet.jsp.PageContext- Parameters:
e-- Throws:
jakarta.servlet.ServletExceptionIOException
-
include
No-op.- Specified by:
includein classjakarta.servlet.jsp.PageContext- Parameters:
s-b-- Throws:
jakarta.servlet.ServletExceptionIOException
-
include
No-op- Specified by:
includein classjakarta.servlet.jsp.PageContext- Parameters:
s-- Throws:
jakarta.servlet.ServletExceptionIOException
-
forward
No-op- Specified by:
forwardin classjakarta.servlet.jsp.PageContext- Parameters:
s-- Throws:
jakarta.servlet.ServletExceptionIOException
-
getServletContext
public jakarta.servlet.ServletContext getServletContext()Returns null.- Specified by:
getServletContextin classjakarta.servlet.jsp.PageContext- Returns:
- null
-
getServletConfig
public jakarta.servlet.ServletConfig getServletConfig()Returns null.- Specified by:
getServletConfigin classjakarta.servlet.jsp.PageContext- Returns:
- null
-
getException
Returns null.- Specified by:
getExceptionin classjakarta.servlet.jsp.PageContext- Returns:
- null
-
release
public void release()Performs cleanup of PageContext when called by JspFactory.- Specified by:
releasein classjakarta.servlet.jsp.PageContext
-
isReleased
public boolean isReleased()
-