⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 turbinevelocityservice.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/velocity/TurbineVelocityService.html#handleRequest(org.apache.velocity.context.Context, java.lang.String)">handleRequest</A></B>(org.apache.velocity.context.Context&nbsp;context,              java.lang.String&nbsp;filename)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the request and fill in the template with the values you set in the Context.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/velocity/TurbineVelocityService.html#handleRequest(org.apache.velocity.context.Context, java.lang.String, java.io.OutputStream)">handleRequest</A></B>(org.apache.velocity.context.Context&nbsp;context,              java.lang.String&nbsp;filename,              java.io.OutputStream&nbsp;output)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the request and fill in the template with the values you set in the Context.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/velocity/TurbineVelocityService.html#handleRequest(org.apache.velocity.context.Context, java.lang.String, java.io.Writer)">handleRequest</A></B>(org.apache.velocity.context.Context&nbsp;context,              java.lang.String&nbsp;filename,              java.io.Writer&nbsp;writer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the request and fill in the template with the values you set in the Context.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/velocity/TurbineVelocityService.html#init()">init</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Load all configured components and initialize them.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/velocity/TurbineVelocityService.html#init(javax.servlet.ServletConfig)">init</A></B>(javax.servlet.ServletConfig&nbsp;config)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inits the service using servlet parameters to obtain path to the configuration file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/velocity/TurbineVelocityService.html#requestFinished(org.apache.velocity.context.Context)">requestFinished</A></B>(org.apache.velocity.context.Context&nbsp;context)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Performs post-request actions (releases context tools back to the object pool).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/apache/turbine/services/velocity/TurbineVelocityService.html#templateExists(java.lang.String)">templateExists</A></B>(java.lang.String&nbsp;template)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Find out if a given template exists.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.apache.turbine.services.template.BaseTemplateEngineService"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.apache.turbine.services.template.<A HREF="../../../../../org/apache/turbine/services/template/BaseTemplateEngineService.html">BaseTemplateEngineService</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/apache/turbine/services/template/BaseTemplateEngineService.html#getAssociatedFileExtensions()">getAssociatedFileExtensions</A>, <A HREF="../../../../../org/apache/turbine/services/template/BaseTemplateEngineService.html#getTemplateEngineServiceConfiguration()">getTemplateEngineServiceConfiguration</A>, <A HREF="../../../../../org/apache/turbine/services/template/BaseTemplateEngineService.html#initConfiguration(java.lang.String)">initConfiguration</A>, <A HREF="../../../../../org/apache/turbine/services/template/BaseTemplateEngineService.html#registerConfiguration(java.lang.String)">registerConfiguration</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.apache.turbine.services.TurbineBaseService"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.apache.turbine.services.<A HREF="../../../../../org/apache/turbine/services/TurbineBaseService.html">TurbineBaseService</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/apache/turbine/services/TurbineBaseService.html#init(java.lang.Object)">init</A>, <A HREF="../../../../../org/apache/turbine/services/TurbineBaseService.html#init(org.apache.turbine.util.RunData)">init</A>, <A HREF="../../../../../org/apache/turbine/services/TurbineBaseService.html#shutdown()">shutdown</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.apache.turbine.services.BaseService"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.apache.turbine.services.<A HREF="../../../../../org/apache/turbine/services/BaseService.html">BaseService</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/apache/turbine/services/BaseService.html#getConfiguration()">getConfiguration</A>, <A HREF="../../../../../org/apache/turbine/services/BaseService.html#getName()">getName</A>, <A HREF="../../../../../org/apache/turbine/services/BaseService.html#getProperties()">getProperties</A>, <A HREF="../../../../../org/apache/turbine/services/BaseService.html#getServiceBroker()">getServiceBroker</A>, <A HREF="../../../../../org/apache/turbine/services/BaseService.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../../org/apache/turbine/services/BaseService.html#setServiceBroker(org.apache.turbine.services.ServiceBroker)">setServiceBroker</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.apache.turbine.services.BaseInitable"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.apache.turbine.services.<A HREF="../../../../../org/apache/turbine/services/BaseInitable.html">BaseInitable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/apache/turbine/services/BaseInitable.html#getInit()">getInit</A>, <A HREF="../../../../../org/apache/turbine/services/BaseInitable.html#getInitableBroker()">getInitableBroker</A>, <A HREF="../../../../../org/apache/turbine/services/BaseInitable.html#setInit(boolean)">setInit</A>, <A HREF="../../../../../org/apache/turbine/services/BaseInitable.html#setInitableBroker(org.apache.turbine.services.InitableBroker)">setInitableBroker</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.apache.turbine.services.Service"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.apache.turbine.services.<A HREF="../../../../../org/apache/turbine/services/Service.html">Service</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/apache/turbine/services/Service.html#getConfiguration()">getConfiguration</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#getName()">getName</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#getProperties()">getProperties</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#setName(java.lang.String)">setName</A>, <A HREF="../../../../../org/apache/turbine/services/Service.html#setServiceBroker(org.apache.turbine.services.ServiceBroker)">setServiceBroker</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.apache.turbine.services.Initable"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.apache.turbine.services.<A HREF="../../../../../org/apache/turbine/services/Initable.html">Initable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/apache/turbine/services/Initable.html#getInit()">getInit</A>, <A HREF="../../../../../org/apache/turbine/services/Initable.html#init(java.lang.Object)">init</A>, <A HREF="../../../../../org/apache/turbine/services/Initable.html#setInitableBroker(org.apache.turbine.services.InitableBroker)">setInitableBroker</A>, <A HREF="../../../../../org/apache/turbine/services/Initable.html#shutdown()">shutdown</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="TurbineVelocityService()"><!-- --></A><H3>TurbineVelocityService</H3><PRE>public <B>TurbineVelocityService</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="init()"><!-- --></A><H3>init</H3><PRE>public void <B>init</B>()          throws <A HREF="../../../../../org/apache/turbine/services/InitializationException.html">InitializationException</A></PRE><DL><DD>Load all configured components and initialize them. This is a zero parameter variant which queries the Turbine Servlet for its config.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/turbine/services/Initable.html#init()">init</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/turbine/services/Initable.html">Initable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/turbine/services/TurbineBaseService.html#init()">init</A></CODE> in class <CODE><A HREF="../../../../../org/apache/turbine/services/TurbineBaseService.html">TurbineBaseService</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../org/apache/turbine/services/InitializationException.html">InitializationException</A></CODE> - Something went wrong in the init         stage</DL></DD></DL><HR><A NAME="init(javax.servlet.ServletConfig)"><!-- --></A><H3>init</H3>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -