|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.servlet.jsp.JspFactory
org.apache.jasper.runtime.JspFactoryImpl
public class JspFactoryImpl
Implementation of JspFactory.
| 构造方法摘要 | |
|---|---|
JspFactoryImpl()
|
|
| 方法摘要 | |
|---|---|
JspEngineInfo |
getEngineInfo()
called to get implementation-specific information on the current JSP engine. |
JspApplicationContext |
getJspApplicationContext(ServletContext context)
Obtains the JspApplicationContext instance associated
with the web application for the given ServletContext. |
PageContext |
getPageContext(Servlet servlet,
ServletRequest request,
ServletResponse response,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoflush)
obtains an instance of an implementation dependent javax.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response. |
void |
releasePageContext(PageContext pc)
called to release a previously allocated PageContext object. |
| 从类 javax.servlet.jsp.JspFactory 继承的方法 |
|---|
getDefaultFactory, setDefaultFactory |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public JspFactoryImpl()
| 方法详细信息 |
|---|
public PageContext getPageContext(Servlet servlet,
ServletRequest request,
ServletResponse response,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoflush)
JspFactory 复制的描述obtains an instance of an implementation dependent javax.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response.
This method is typically called early in the processing of the _jspService() method of a JSP implementation class in order to obtain a PageContext object for the request being processed.
Invoking this method shall result in the PageContext.initialize() method being invoked. The PageContext returned is properly initialized.
All PageContext objects obtained via this method shall be released by invoking releasePageContext().
JspFactory 中的 getPageContextservlet - the requesting servletrequest - the current request pending on the servletresponse - the current response pending on the servleterrorPageURL - the URL of the error page for the requesting JSP, or nullneedsSession - true if the JSP participates in a sessionbufferSize - size of buffer in bytes, PageContext.NO_BUFFER if no buffer,
PageContext.DEFAULT_BUFFER if implementation default.autoflush - should the buffer autoflush to the output stream on buffer
overflow, or throw an IOException?
PageContextpublic void releasePageContext(PageContext pc)
JspFactory 复制的描述called to release a previously allocated PageContext object. Results in PageContext.release() being invoked. This method should be invoked prior to returning from the _jspService() method of a JSP implementation class.
JspFactory 中的 releasePageContextpc - A PageContext previously obtained by getPageContext()public JspEngineInfo getEngineInfo()
JspFactory 复制的描述called to get implementation-specific information on the current JSP engine.
JspFactory 中的 getEngineInfopublic JspApplicationContext getJspApplicationContext(ServletContext context)
JspFactory 复制的描述JspApplicationContext instance associated
with the web application for the given ServletContext.
JspFactory 中的 getJspApplicationContextcontext - The ServletContext for the web
application the desired JspApplicationContext is
associated with.
JspApplicationContext associated with the
web application.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||