org.tinygroup.jspengine.runtime
类 JspContextWrapper

java.lang.Object
  继承者 javax.servlet.jsp.JspContext
      继承者 javax.servlet.jsp.PageContext
          继承者 org.tinygroup.jspengine.runtime.JspContextWrapper

public class JspContextWrapper
extends javax.servlet.jsp.PageContext

Implementation of a JSP Context Wrapper. The JSP Context Wrapper is a JspContext created and maintained by a tag handler implementation. It wraps the Invoking JSP Context, that is, the JspContext instance passed to the tag handler by the invoking page via setJspContext().

作者:
Kin-man Chung, Jan Luehe

字段摘要
 
从类 javax.servlet.jsp.PageContext 继承的字段
APPLICATION, APPLICATION_SCOPE, CONFIG, EXCEPTION, OUT, PAGE, PAGE_SCOPE, PAGECONTEXT, REQUEST, REQUEST_SCOPE, RESPONSE, SESSION, SESSION_SCOPE
 
构造方法摘要
JspContextWrapper(javax.servlet.jsp.JspContext jspContext, ArrayList nestedVars, ArrayList atBeginVars, ArrayList atEndVars, Map aliases)
           
 
方法摘要
 Object findAttribute(String name)
           
 void forward(String relativeUrlPath)
           
 Object getAttribute(String name)
           
 Object getAttribute(String name, int scope)
           
 Enumeration<String> getAttributeNamesInScope(int scope)
           
 int getAttributesScope(String name)
           
 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()
           
static javax.servlet.jsp.PageContext getRootPageContext(javax.servlet.jsp.PageContext pc)
           
 javax.servlet.ServletConfig getServletConfig()
           
 javax.servlet.ServletContext getServletContext()
           
 javax.servlet.http.HttpSession getSession()
           
 javax.servlet.jsp.el.VariableResolver getVariableResolver()
           
 void handlePageException(Exception ex)
           
 void handlePageException(Throwable t)
           
 void include(String relativeUrlPath)
           
 void include(String relativeUrlPath, boolean flush)
           
 void initialize(javax.servlet.Servlet servlet, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush)
           
 javax.servlet.jsp.JspWriter popBody()
           
 javax.servlet.jsp.tagext.BodyContent pushBody()
           
 javax.servlet.jsp.JspWriter pushBody(Writer writer)
           
 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)
           
 void syncBeforeInvoke()
          Synchronize variables before fragment invokation
 void syncBeginTagFile()
          Synchronize variables at begin of tag file
 void syncEndTagFile()
          Synchronize variables at end of tag file
 
从类 javax.servlet.jsp.PageContext 继承的方法
getErrorData
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

JspContextWrapper

public JspContextWrapper(javax.servlet.jsp.JspContext jspContext,
                         ArrayList nestedVars,
                         ArrayList atBeginVars,
                         ArrayList atEndVars,
                         Map aliases)
方法详细信息

initialize

public void initialize(javax.servlet.Servlet servlet,
                       javax.servlet.ServletRequest request,
                       javax.servlet.ServletResponse response,
                       String errorPageURL,
                       boolean needsSession,
                       int bufferSize,
                       boolean autoFlush)
                throws IOException,
                       IllegalStateException,
                       IllegalArgumentException
指定者:
javax.servlet.jsp.PageContext 中的 initialize
抛出:
IOException
IllegalStateException
IllegalArgumentException

getAttribute

public Object getAttribute(String name)
指定者:
javax.servlet.jsp.JspContext 中的 getAttribute

getAttribute

public Object getAttribute(String name,
                           int scope)
指定者:
javax.servlet.jsp.JspContext 中的 getAttribute

setAttribute

public void setAttribute(String name,
                         Object value)
指定者:
javax.servlet.jsp.JspContext 中的 setAttribute

setAttribute

public void setAttribute(String name,
                         Object value,
                         int scope)
指定者:
javax.servlet.jsp.JspContext 中的 setAttribute

findAttribute

public Object findAttribute(String name)
指定者:
javax.servlet.jsp.JspContext 中的 findAttribute

removeAttribute

public void removeAttribute(String name)
指定者:
javax.servlet.jsp.JspContext 中的 removeAttribute

removeAttribute

public void removeAttribute(String name,
                            int scope)
指定者:
javax.servlet.jsp.JspContext 中的 removeAttribute

getAttributesScope

public int getAttributesScope(String name)
指定者:
javax.servlet.jsp.JspContext 中的 getAttributesScope

getAttributeNamesInScope

public Enumeration<String> getAttributeNamesInScope(int scope)
指定者:
javax.servlet.jsp.JspContext 中的 getAttributeNamesInScope

release

public void release()
指定者:
javax.servlet.jsp.PageContext 中的 release

getOut

public javax.servlet.jsp.JspWriter getOut()
指定者:
javax.servlet.jsp.JspContext 中的 getOut

getSession

public javax.servlet.http.HttpSession getSession()
指定者:
javax.servlet.jsp.PageContext 中的 getSession

getPage

public Object getPage()
指定者:
javax.servlet.jsp.PageContext 中的 getPage

getRequest

public javax.servlet.ServletRequest getRequest()
指定者:
javax.servlet.jsp.PageContext 中的 getRequest

getResponse

public javax.servlet.ServletResponse getResponse()
指定者:
javax.servlet.jsp.PageContext 中的 getResponse

getException

public Exception getException()
指定者:
javax.servlet.jsp.PageContext 中的 getException

getServletConfig

public javax.servlet.ServletConfig getServletConfig()
指定者:
javax.servlet.jsp.PageContext 中的 getServletConfig

getServletContext

public javax.servlet.ServletContext getServletContext()
指定者:
javax.servlet.jsp.PageContext 中的 getServletContext

getRootPageContext

public static javax.servlet.jsp.PageContext getRootPageContext(javax.servlet.jsp.PageContext pc)

getELContext

public javax.el.ELContext getELContext()
指定者:
javax.servlet.jsp.JspContext 中的 getELContext

forward

public void forward(String relativeUrlPath)
             throws javax.servlet.ServletException,
                    IOException
指定者:
javax.servlet.jsp.PageContext 中的 forward
抛出:
javax.servlet.ServletException
IOException

include

public void include(String relativeUrlPath)
             throws javax.servlet.ServletException,
                    IOException
指定者:
javax.servlet.jsp.PageContext 中的 include
抛出:
javax.servlet.ServletException
IOException

include

public void include(String relativeUrlPath,
                    boolean flush)
             throws javax.servlet.ServletException,
                    IOException
指定者:
javax.servlet.jsp.PageContext 中的 include
抛出:
javax.servlet.ServletException
IOException

getVariableResolver

public javax.servlet.jsp.el.VariableResolver getVariableResolver()
指定者:
javax.servlet.jsp.JspContext 中的 getVariableResolver

pushBody

public javax.servlet.jsp.tagext.BodyContent pushBody()
覆盖:
javax.servlet.jsp.PageContext 中的 pushBody

pushBody

public javax.servlet.jsp.JspWriter pushBody(Writer writer)
覆盖:
javax.servlet.jsp.JspContext 中的 pushBody

popBody

public javax.servlet.jsp.JspWriter popBody()
覆盖:
javax.servlet.jsp.JspContext 中的 popBody

getExpressionEvaluator

public javax.servlet.jsp.el.ExpressionEvaluator getExpressionEvaluator()
指定者:
javax.servlet.jsp.JspContext 中的 getExpressionEvaluator

handlePageException

public void handlePageException(Exception ex)
                         throws IOException,
                                javax.servlet.ServletException
指定者:
javax.servlet.jsp.PageContext 中的 handlePageException
抛出:
IOException
javax.servlet.ServletException

handlePageException

public void handlePageException(Throwable t)
                         throws IOException,
                                javax.servlet.ServletException
指定者:
javax.servlet.jsp.PageContext 中的 handlePageException
抛出:
IOException
javax.servlet.ServletException

syncBeginTagFile

public void syncBeginTagFile()
Synchronize variables at begin of tag file


syncBeforeInvoke

public void syncBeforeInvoke()
Synchronize variables before fragment invokation


syncEndTagFile

public void syncEndTagFile()
Synchronize variables at end of tag file



Copyright © 2006–2014 开源组织. All rights reserved.