public static class WebinterfaceTestCase.TestPageContext extends javax.servlet.jsp.PageContext
Constructor and Description |
---|
TestPageContext(javax.servlet.ServletRequest request) |
TestPageContext(javax.servlet.ServletRequest request,
javax.servlet.jsp.JspWriter out,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
Object |
findAttribute(String string) |
void |
forward(String string) |
Object |
getAttribute(String string) |
Object |
getAttribute(String string,
int i) |
Enumeration<String> |
getAttributeNamesInScope(int i) |
int |
getAttributesScope(String string) |
javax.el.ELContext |
getELContext() |
Exception |
getException() |
javax.servlet.jsp.el.ExpressionEvaluator |
getExpressionEvaluator() |
javax.servlet.jsp.JspWriter |
getOut() |
Object |
getPage() |
javax.servlet.ServletRequest |
getRequest() |
javax.servlet.ServletResponse |
getResponse() |
javax.servlet.ServletConfig |
getServletConfig() |
javax.servlet.ServletContext |
getServletContext() |
javax.servlet.http.HttpSession |
getSession() |
javax.servlet.jsp.el.VariableResolver |
getVariableResolver() |
void |
handlePageException(Exception exception) |
void |
handlePageException(Throwable throwable) |
void |
include(String string) |
void |
include(String string,
boolean b) |
void |
initialize(javax.servlet.Servlet servlet,
javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
String string,
boolean b,
int i,
boolean b1) |
void |
release() |
void |
removeAttribute(String string) |
void |
removeAttribute(String string,
int i) |
void |
setAttribute(String string,
Object object) |
void |
setAttribute(String string,
Object object,
int i) |
public TestPageContext(javax.servlet.ServletRequest request)
public TestPageContext(javax.servlet.ServletRequest request, javax.servlet.jsp.JspWriter out, Locale locale)
public void initialize(javax.servlet.Servlet servlet, javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, String string, boolean b, int i, boolean b1) throws IOException, IllegalStateException, IllegalArgumentException
initialize
in class javax.servlet.jsp.PageContext
IOException
IllegalStateException
IllegalArgumentException
public void release()
release
in class javax.servlet.jsp.PageContext
public javax.servlet.http.HttpSession getSession()
getSession
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletRequest getRequest()
getRequest
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletResponse getResponse()
getResponse
in class javax.servlet.jsp.PageContext
public Exception getException()
getException
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletConfig getServletConfig()
getServletConfig
in class javax.servlet.jsp.PageContext
public javax.servlet.ServletContext getServletContext()
getServletContext
in class javax.servlet.jsp.PageContext
public void forward(String string) throws javax.servlet.ServletException, IOException
forward
in class javax.servlet.jsp.PageContext
javax.servlet.ServletException
IOException
public void include(String string) throws javax.servlet.ServletException, IOException
include
in class javax.servlet.jsp.PageContext
javax.servlet.ServletException
IOException
public void include(String string, boolean b) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
public void handlePageException(Exception exception) throws javax.servlet.ServletException, IOException
handlePageException
in class javax.servlet.jsp.PageContext
javax.servlet.ServletException
IOException
public void handlePageException(Throwable throwable) throws javax.servlet.ServletException, IOException
handlePageException
in class javax.servlet.jsp.PageContext
javax.servlet.ServletException
IOException
public void setAttribute(String string, Object object)
setAttribute
in class javax.servlet.jsp.PageContext
public void setAttribute(String string, Object object, int i)
setAttribute
in class javax.servlet.jsp.PageContext
public Object getAttribute(String string)
getAttribute
in class javax.servlet.jsp.PageContext
public Object getAttribute(String string, int i)
getAttribute
in class javax.servlet.jsp.PageContext
public Object findAttribute(String string)
findAttribute
in class javax.servlet.jsp.PageContext
public void removeAttribute(String string)
removeAttribute
in class javax.servlet.jsp.PageContext
public void removeAttribute(String string, int i)
removeAttribute
in class javax.servlet.jsp.PageContext
public int getAttributesScope(String string)
getAttributesScope
in class javax.servlet.jsp.PageContext
public Enumeration<String> getAttributeNamesInScope(int i)
getAttributeNamesInScope
in class javax.servlet.jsp.PageContext
public javax.servlet.jsp.JspWriter getOut()
getOut
in class javax.servlet.jsp.PageContext
public javax.servlet.jsp.el.ExpressionEvaluator getExpressionEvaluator()
public javax.servlet.jsp.el.VariableResolver getVariableResolver()
public javax.el.ELContext getELContext()
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.