@Deprecated public class ServletTplExpander extends TplExpander
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.http.HttpServletRequest |
m_req
Deprecated.
|
protected javax.servlet.http.HttpServletResponse |
m_res
Deprecated.
|
m_cb, m_hostname, m_hostport, m_hosturl, m_servlet_basepath, m_servlet_fullpath| Constructor and Description |
|---|
ServletTplExpander(TplCallback cb)
Deprecated.
|
ServletTplExpander(TplCallback cb,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
expand(InputStream is)
Deprecated.
Expands the template from the input-stream to the output-stream, using
the specified context.
|
protected Object |
findPredef(String name)
Deprecated.
If the name passed is a predefined name this function will return the
result object for the name.
|
int |
getParmInt(String name)
Deprecated.
|
String |
getParmStr(String name)
Deprecated.
|
String |
getParmStr(String name,
boolean req)
Deprecated.
|
protected String |
getServletFullPath()
Deprecated.
|
protected void |
handlerInit()
Deprecated.
This gets called directly after the 1st request is received.
|
protected Object |
locateName(String name)
Deprecated.
Locates a root name.
|
void |
putFormAs(String name)
Deprecated.
This method posts the "get from form" method for fields.
|
protected void |
setNoCache()
Deprecated.
Makes sure the document is not cached at the client's station.
|
protected javax.servlet.http.HttpServletRequest m_req
protected javax.servlet.http.HttpServletResponse m_res
public ServletTplExpander(TplCallback cb)
public ServletTplExpander(TplCallback cb, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
public String getParmStr(String name, boolean req) throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic int getParmInt(String name)
protected void setNoCache()
protected void handlerInit()
protected String getServletFullPath()
public void expand(InputStream is) throws Exception
Exceptionprotected Object findPredef(String name)
findPredef in class TplExpanderprotected Object locateName(String name) throws TplException
locateName in class TplExpanderTplExceptionpublic void putFormAs(String name)
Copyright © 2017 etc.to. All rights reserved.