类 javax.servlet.jsp.JspWriter
的使用

使用 JspWriter 的软件包
javax.servlet.jsp Classes and interfaces for the Core JSP 2.1 API. 
javax.servlet.jsp.tagext Classes and interfaces for the definition of JavaServer Pages Tag Libraries. 
org.apache.jasper.runtime   
 

javax.servlet.jspJspWriter 的使用
 

返回 JspWriterjavax.servlet.jsp 中的方法
abstract  JspWriter JspContext.getOut()
          The current value of the out object (a JspWriter).
 JspWriter JspContext.popBody()
          Return the previous JspWriter "out" saved by the matching pushBody(), and update the value of the "out" attribute in the page scope attribute namespace of the JspContext.
 JspWriter JspContext.pushBody(Writer writer)
          Return a new JspWriter object that sends output to the provided Writer.
 

javax.servlet.jsp.tagextJspWriter 的使用
 

javax.servlet.jsp.tagextJspWriter 的子类
 class BodyContent
          An encapsulation of the evaluation of the body of an action so it is available to a tag handler.
 

返回 JspWriterjavax.servlet.jsp.tagext 中的方法
 JspWriter BodyContent.getEnclosingWriter()
          Get the enclosing JspWriter.
 JspWriter BodyTagSupport.getPreviousOut()
          Get surrounding out JspWriter.
 

参数类型为 JspWriterjavax.servlet.jsp.tagext 中的构造方法
BodyContent(JspWriter e)
          Protected constructor.
 

org.apache.jasper.runtimeJspWriter 的使用
 

org.apache.jasper.runtimeJspWriter 的子类
 class BodyContentImpl
          Write text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.
 class JspWriterImpl
          Write text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.
 

返回 JspWriterorg.apache.jasper.runtime 中的方法
 JspWriter PageContextImpl.getOut()
           
 JspWriter JspContextWrapper.getOut()
           
 JspWriter PageContextImpl.popBody()
           
 JspWriter JspContextWrapper.popBody()
           
 JspWriter PageContextImpl.pushBody(Writer writer)
           
 JspWriter JspContextWrapper.pushBody(Writer writer)
           
 

参数类型为 JspWriterorg.apache.jasper.runtime 中的方法
static void JspRuntimeLibrary.include(ServletRequest request, ServletResponse response, String relativePath, JspWriter out, boolean flush)
          Perform a RequestDispatcher.include() operation, with optional flushing of the response beforehand.
 

参数类型为 JspWriterorg.apache.jasper.runtime 中的构造方法
BodyContentImpl(JspWriter enclosingWriter)
          Constructor.
ServletResponseWrapperInclude(ServletResponse response, JspWriter jspWriter)
           
 



Copyright © 2013. All Rights Reserved.