org.seasar.cubby.tags
クラス MockJspContext
java.lang.Object
javax.servlet.jsp.JspContext
javax.servlet.jsp.PageContext
org.seasar.cubby.tags.MockJspContext
public class MockJspContext
- extends PageContext
クラス javax.servlet.jsp.PageContext から継承されたフィールド |
APPLICATION, APPLICATION_SCOPE, CONFIG, EXCEPTION, OUT, PAGE, PAGE_SCOPE, PAGECONTEXT, REQUEST, REQUEST_SCOPE, RESPONSE, SESSION, SESSION_SCOPE |
メソッドの概要 |
Object |
findAttribute(String name)
|
void |
forward(String relativeUrlPath)
|
Object |
getAttribute(String name)
|
Object |
getAttribute(String name,
int scope)
|
Enumeration |
getAttributeNamesInScope(int scope)
|
int |
getAttributesScope(String name)
|
Exception |
getException()
|
ExpressionEvaluator |
getExpressionEvaluator()
|
MockJspWriter |
getMockJspWriter()
|
JspWriter |
getOut()
|
Object |
getPage()
|
ServletRequest |
getRequest()
|
ServletResponse |
getResponse()
|
String |
getResult()
|
ServletConfig |
getServletConfig()
|
ServletContext |
getServletContext()
|
HttpSession |
getSession()
|
VariableResolver |
getVariableResolver()
|
void |
handlePageException(Exception e)
|
void |
handlePageException(Throwable t)
|
void |
include(String relativeUrlPath)
|
void |
include(String relativeUrlPath,
boolean flush)
|
void |
initialize(Servlet servlet,
ServletRequest request,
ServletResponse response,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)
|
JspWriter |
popBody()
|
BodyContent |
pushBody()
|
void |
release()
|
void |
removeAttribute(String name)
|
void |
removeAttribute(String name,
int scope)
|
void |
setAttribute(String name,
Object value)
|
void |
setAttribute(String name,
Object value,
int scope)
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockJspContext
public MockJspContext()
getMockJspWriter
public MockJspWriter getMockJspWriter()
getResult
public String getResult()
findAttribute
public Object findAttribute(String name)
- 定義:
- クラス
JspContext
内の findAttribute
getAttribute
public Object getAttribute(String name)
- 定義:
- クラス
JspContext
内の getAttribute
getAttribute
public Object getAttribute(String name,
int scope)
- 定義:
- クラス
JspContext
内の getAttribute
getAttributeNamesInScope
public Enumeration getAttributeNamesInScope(int scope)
- 定義:
- クラス
JspContext
内の getAttributeNamesInScope
getAttributesScope
public int getAttributesScope(String name)
- 定義:
- クラス
JspContext
内の getAttributesScope
getExpressionEvaluator
public ExpressionEvaluator getExpressionEvaluator()
- 定義:
- クラス
JspContext
内の getExpressionEvaluator
getOut
public JspWriter getOut()
- 定義:
- クラス
JspContext
内の getOut
getVariableResolver
public VariableResolver getVariableResolver()
- 定義:
- クラス
JspContext
内の getVariableResolver
removeAttribute
public void removeAttribute(String name)
- 定義:
- クラス
JspContext
内の removeAttribute
removeAttribute
public void removeAttribute(String name,
int scope)
- 定義:
- クラス
JspContext
内の removeAttribute
setAttribute
public void setAttribute(String name,
Object value)
- 定義:
- クラス
JspContext
内の setAttribute
setAttribute
public void setAttribute(String name,
Object value,
int scope)
- 定義:
- クラス
JspContext
内の setAttribute
forward
public void forward(String relativeUrlPath)
throws ServletException,
IOException
- 定義:
- クラス
PageContext
内の forward
- 例外:
ServletException
IOException
getException
public Exception getException()
- 定義:
- クラス
PageContext
内の getException
getPage
public Object getPage()
- 定義:
- クラス
PageContext
内の getPage
getRequest
public ServletRequest getRequest()
- 定義:
- クラス
PageContext
内の getRequest
getResponse
public ServletResponse getResponse()
- 定義:
- クラス
PageContext
内の getResponse
getServletConfig
public ServletConfig getServletConfig()
- 定義:
- クラス
PageContext
内の getServletConfig
getServletContext
public ServletContext getServletContext()
- 定義:
- クラス
PageContext
内の getServletContext
getSession
public HttpSession getSession()
- 定義:
- クラス
PageContext
内の getSession
handlePageException
public void handlePageException(Exception e)
throws ServletException,
IOException
- 定義:
- クラス
PageContext
内の handlePageException
- 例外:
ServletException
IOException
handlePageException
public void handlePageException(Throwable t)
throws ServletException,
IOException
- 定義:
- クラス
PageContext
内の handlePageException
- 例外:
ServletException
IOException
include
public void include(String relativeUrlPath)
throws ServletException,
IOException
- 定義:
- クラス
PageContext
内の include
- 例外:
ServletException
IOException
include
public void include(String relativeUrlPath,
boolean flush)
throws ServletException,
IOException
- 定義:
- クラス
PageContext
内の include
- 例外:
ServletException
IOException
initialize
public void initialize(Servlet servlet,
ServletRequest request,
ServletResponse response,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)
throws IOException,
IllegalStateException,
IllegalArgumentException
- 定義:
- クラス
PageContext
内の initialize
- 例外:
IOException
IllegalStateException
IllegalArgumentException
release
public void release()
- 定義:
- クラス
PageContext
内の release
popBody
public JspWriter popBody()
- オーバーライド:
- クラス
JspContext
内の popBody
pushBody
public BodyContent pushBody()
- オーバーライド:
- クラス
PageContext
内の pushBody
Copyright © 2006-2009 The Seasar Foundation. All Rights Reserved.