| java.lang.Object javax.servlet.jsp.JspContext javax.servlet.jsp.PageContext com.caucho.jsp.PageContextImpl
All known Subclasses: com.caucho.jsp.PageContextWrapper,
Inner Class :public class PageVarEnv extends VarEnv | |
Inner Class :static class StringArrayEnum implements Enumeration | |
Inner Class :public class PageFunctionMapper extends javax.el.FunctionMapper | |
Field Summary | |
final static L10N | L | protected boolean | _isFilled |
Method Summary | |
public void | applicationSetOrRemove(String var, Object value) Set/Remove an webApp attribute. | protected void | clearAttributes() | public ValueExpression | createExpr(ValueExpression expr, String exprString, Class type) Creates an expression. | public void | defaultSetOrRemove(String var, Object value) Set/Remove a page attribute. | protected void | fillAttribute() Fills the predefined page content _attributes with their values. | public Object | findAttribute(String name) Finds an attribute in any of the scopes from page to webApp.
Parameters: name - the attribute name. | public void | forward(String relativeUrl, String query) Include another servlet into the current output stream. | public void | forward(String relativeUrl) Forward a subrequest relative to the current url. | public WebApp | getApplication() Returns the page's webApp. | public Object | getAttribute(String name) Returns the page attribute with the given name.
Parameters: name - the attribute name. | public Object | getAttribute(String name, int scope) | public Enumeration<String> | getAttributeNames() | public Enumeration | getAttributeNames(int scope) | public Enumeration | getAttributeNamesInScope(int scope) | public int | getAttributesScope(String name) Return the scope of the named attribute.
Parameters: name - the name of the attribute. | public LocalizationContext | getBundle(String name) Returns the localized message appropriate for the current context. | public HttpServletRequest | getCauchoRequest() Returns the servlet response for the page. | public CauchoResponse | getCauchoResponse() Returns the servlet response for the page. | public ELContext | getELContext() | public ErrorData | getErrorData() | public String | getErrorPage() Returns the page's error page. | public Exception | getException() | public ExpressionEvaluator | getExpressionEvaluator() | public Locale | getLocale() Returns the currently active locale. | public static Locale | getLocale(String value, String variant) | public String | getLocalizedMessage(String key, Object[] args, String basename) Returns the localized message appropriate for the current context. | public String | getLocalizedMessage(Object lc, String key, Object[] args, String basename) Returns the localized message appropriate for the current context. | public Node | getNodeEnv() | public JspWriter | getOut() Returns the current writer. | ServletOutputStream | getOutputStream() Returns the response output stream. | public Object | getPage() Returns the underlying servlet for the page. | public ServletRequest | getRequest() Returns the servlet request for the page. | public ServletResponse | getResponse() Returns the servlet response for the page. | public ServletConfig | getServletConfig() | public ServletContext | getServletContext() Returns the page's servlet context. | public HttpSession | getSession() | public HttpSession | getSessionScope() Returns the session, throwing an IllegalStateException if it's
not available. | public Throwable | getThrowable() Returns the Throwable stored by the error page. | public PrintWriter | getTopWriter() Returns the top writer. | public VarEnv | getVarEnv() | public javax.servlet.jsp.el.VariableResolver | getVariableResolver() | public void | handlePageException(Exception e) Handles an exception caught in the JSP page. | public void | handlePageException(Throwable e) Handles an exception caught in the JSP page. | public void | include(String relativeUrl) | public void | include(String relativeUrl, String query, boolean flush) Include another servlet into the current output stream. | public void | include(String relativeUrl, boolean flush) Include another servlet into the current output stream. | protected void | init() | public void | initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPage, boolean needsSession, int bufferSize, boolean autoFlush) | public void | initialize(Servlet servlet, WebApp app, ServletRequest request, ServletResponse response, String errorPage, HttpSession session, int bufferSize, boolean autoFlush, boolean isPrintNullAsBlank) | public String | invoke(JspFragment fragment) Evaluates the fragment, returing the string value. | public Reader | invokeReader(JspFragment fragment) | public String | invokeTrim(JspFragment fragment) Evaluates the fragment, returing the string value. | public boolean | isIgnoreException() | public void | pageSetOrRemove(String var, Object value) Set/Remove a page attribute. | public JspWriter | popAndReleaseBody() Pops the BodyContent from the JspWriter stack. | public JspWriter | popBody() Pops the BodyContent from the JspWriter stack. | public static void | printBody(BodyContentImpl body, boolean isEscaped) | public BodyContent | pushBody() Pushes a new BodyContent onto the JspWriter stack. | public JspWriter | pushBody(Writer writer) Pushes a new writer onto the JspWriter stack. | public Object | putAttribute(String name, Object attribute) Sets the page attribute with the given name. | public void | release() Releases the context. | public void | releaseBody(BodyContentImpl out) | public void | removeAttribute(String name) Removes a named attribute from the page context. | public void | removeAttribute(String name, int scope) | public void | requestSetOrRemove(String var, Object value) Set/Remove a request attribute. | public Object | resolveVariable(String name) Finds an attribute in any of the scopes from page to webApp.
Parameters: name - the attribute name. | public void | sessionSetOrRemove(String var, Object value) Set/Remove a session attribute. | public void | setAttribute(String name, Object attribute) Sets the page attribute with the given name. | public void | setAttribute(String name, Object value, int scope) | public void | setErrorPage(String errorPage) Sets the page's error page. | public Map<String, Object> | setMap(Map<String, Object> map) Sets the attribute map. | public void | setNodeEnv(Node node) | protected void | setOut(JspWriter out) | public JspWriter | setWriter(JspWriter oldWriter) Pops the BodyContent from the JspWriter stack. | public static boolean | toBoolean(String value) Parses a boolean value. |
_isFilled | protected boolean _isFilled(Code) | | |
PageContextImpl | PageContextImpl()(Code) | | |
applicationSetOrRemove | public void applicationSetOrRemove(String var, Object value)(Code) | | Set/Remove an webApp attribute.
|
clearAttributes | protected void clearAttributes()(Code) | | |
createExpr | public ValueExpression createExpr(ValueExpression expr, String exprString, Class type)(Code) | | Creates an expression.
|
defaultSetOrRemove | public void defaultSetOrRemove(String var, Object value)(Code) | | Set/Remove a page attribute.
|
fillAttribute | protected void fillAttribute()(Code) | | Fills the predefined page content _attributes with their values.
|
findAttribute | public Object findAttribute(String name)(Code) | | Finds an attribute in any of the scopes from page to webApp.
Parameters: name - the attribute name. the attribute value |
forward | public void forward(String relativeUrl) throws ServletException, IOException(Code) | | Forward a subrequest relative to the current url. Absolute URLs
are relative to the context root.
Parameters: relativeUrl - url relative to the current file |
getApplication | public WebApp getApplication()(Code) | | Returns the page's webApp.
|
getAttribute | public Object getAttribute(String name)(Code) | | Returns the page attribute with the given name.
Parameters: name - the attribute name. the attribute's value. |
getAttributesScope | public int getAttributesScope(String name)(Code) | | Return the scope of the named attribute.
Parameters: name - the name of the attribute. the scope of the attribute |
getBundle | public LocalizationContext getBundle(String name)(Code) | | Returns the localized message appropriate for the current context.
|
getCauchoResponse | public CauchoResponse getCauchoResponse()(Code) | | Returns the servlet response for the page.
|
getELContext | public ELContext getELContext()(Code) | | Returns the expression evaluator
|
getErrorPage | public String getErrorPage()(Code) | | Returns the page's error page.
|
getLocale | public Locale getLocale()(Code) | | Returns the currently active locale.
|
getLocalizedMessage | public String getLocalizedMessage(String key, Object[] args, String basename)(Code) | | Returns the localized message appropriate for the current context.
|
getLocalizedMessage | public String getLocalizedMessage(Object lc, String key, Object[] args, String basename)(Code) | | Returns the localized message appropriate for the current context.
|
getNodeEnv | public Node getNodeEnv()(Code) | | Returns the XPath node environment corresponding to this page
|
getPage | public Object getPage()(Code) | | Returns the underlying servlet for the page.
|
getServletContext | public ServletContext getServletContext()(Code) | | Returns the page's servlet context.
|
getSessionScope | public HttpSession getSessionScope()(Code) | | Returns the session, throwing an IllegalStateException if it's
not available.
|
getThrowable | public Throwable getThrowable()(Code) | | Returns the Throwable stored by the error page.
|
getVarEnv | public VarEnv getVarEnv()(Code) | | Returns the XPath variable environment corresponding to this page
|
include | public void include(String relativeUrl, String query, boolean flush) throws ServletException, IOException(Code) | | Include another servlet into the current output stream.
Parameters: relativeUrl - url relative to the current request. |
include | public void include(String relativeUrl, boolean flush) throws ServletException, IOException(Code) | | Include another servlet into the current output stream.
Parameters: relativeUrl - url relative to the current request. |
init | protected void init()(Code) | | |
isIgnoreException | public boolean isIgnoreException()(Code) | | Returns true if the EL ignores exceptions
|
pageSetOrRemove | public void pageSetOrRemove(String var, Object value)(Code) | | Set/Remove a page attribute.
|
popAndReleaseBody | public JspWriter popAndReleaseBody() throws IOException(Code) | | Pops the BodyContent from the JspWriter stack.
the enclosing writer |
popBody | public JspWriter popBody()(Code) | | Pops the BodyContent from the JspWriter stack.
the enclosing writer |
pushBody | public BodyContent pushBody()(Code) | | Pushes a new BodyContent onto the JspWriter stack.
|
putAttribute | public Object putAttribute(String name, Object attribute)(Code) | | Sets the page attribute with the given name.
Parameters: name - the attribute name. Parameters: value - the new value |
release | public void release()(Code) | | Releases the context.
|
removeAttribute | public void removeAttribute(String name)(Code) | | Removes a named attribute from the page context.
Parameters: name - the name of the attribute to remove |
removeAttribute | public void removeAttribute(String name, int scope)(Code) | | |
requestSetOrRemove | public void requestSetOrRemove(String var, Object value)(Code) | | Set/Remove a request attribute.
|
resolveVariable | public Object resolveVariable(String name) throws javax.el.ELException(Code) | | Finds an attribute in any of the scopes from page to webApp.
Parameters: name - the attribute name. the attribute value |
sessionSetOrRemove | public void sessionSetOrRemove(String var, Object value)(Code) | | Set/Remove a session attribute.
|
setAttribute | public void setAttribute(String name, Object attribute)(Code) | | Sets the page attribute with the given name.
Parameters: name - the attribute name. Parameters: value - the new value |
setErrorPage | public void setErrorPage(String errorPage)(Code) | | Sets the page's error page.
|
setNodeEnv | public void setNodeEnv(Node node)(Code) | | Returns the XPath node environment corresponding to this page
|
setWriter | public JspWriter setWriter(JspWriter oldWriter)(Code) | | Pops the BodyContent from the JspWriter stack.
Parameters: oldWriter - the old writer |
toBoolean | public static boolean toBoolean(String value)(Code) | | Parses a boolean value.
|
Methods inherited from javax.servlet.jsp.PageContext | abstract public void forward(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc) public ErrorData getErrorData()(Code)(Java Doc) abstract public Exception getException()(Code)(Java Doc) abstract public Object getPage()(Code)(Java Doc) abstract public ServletRequest getRequest()(Code)(Java Doc) abstract public ServletResponse getResponse()(Code)(Java Doc) abstract public ServletConfig getServletConfig()(Code)(Java Doc) abstract public ServletContext getServletContext()(Code)(Java Doc) abstract public HttpSession getSession()(Code)(Java Doc) abstract public void handlePageException(Exception e) throws ServletException, IOException(Code)(Java Doc) abstract public void handlePageException(Throwable t) throws ServletException, IOException(Code)(Java Doc) abstract public void include(String relativeUrlPath) throws ServletException, IOException(Code)(Java Doc) abstract public void include(String relativeUrlPath, boolean flush) throws ServletException, IOException(Code)(Java Doc) abstract public void initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws IOException, IllegalStateException, IllegalArgumentException(Code)(Java Doc) public BodyContent pushBody()(Code)(Java Doc) abstract public void release()(Code)(Java Doc)
|
|
|