Package org.opennms.nrtg.web.internal
Class NrtServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.opennms.nrtg.web.internal.NrtServlet
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class NrtServlet extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NrtServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
java.lang.String
getTemplateAsString(java.lang.String templateName)
void
setController(NrtController controller)
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
setController
public void setController(NrtController controller)
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
-
getTemplateAsString
public java.lang.String getTemplateAsString(java.lang.String templateName) throws java.io.IOException
- Throws:
java.io.IOException
-
-