Package org.tsugi.lti13
Class LTI13Servlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.tsugi.lti13.LTI13Servlet
-
- All Implemented Interfaces:
Serializable,Servlet,ServletConfig
public class LTI13Servlet extends HttpServlet
Notes: This is a sample "Hello World" servlet for LTI13. It is a simple UI - mostly intended to exercise the APIs and show the way for servlet-based LTI13 code. Here are the web.xml entries:LTI13Servlet org.tsugi.lti13.LTI13Servlet LTI13Servlet /lti13/* - See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LTI13Servlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoGet(HttpServletRequest request, HttpServletResponse response)protected voiddoPost(HttpServletRequest request, HttpServletResponse response)voidinit(ServletConfig config)-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
-
-
-
Method Detail
-
init
public void init(ServletConfig config) throws ServletException
- Specified by:
initin interfaceServlet- Overrides:
initin classGenericServlet- Throws:
ServletException
-
doGet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
- Overrides:
doGetin classHttpServlet- Throws:
ServletExceptionIOException
-
doPost
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
- Overrides:
doPostin classHttpServlet- Throws:
ServletExceptionIOException
-
-