com.timeindexing.servlet
Class SecurityCodeServlet
java.lang.Object
HttpServlet
com.timeindexing.servlet.SelectServlet
com.timeindexing.servlet.SecurityCodeServlet
- public class SecurityCodeServlet
- extends SelectServlet
This servlet generates a security code for an index,
given a start time and an end time.
The security code is placed in the request attribute "securitycode".
The response is presented through /security/show_code.jsp.
If an exception occurs, the exception is placed in the request
attribute "exception".
The response is presented through /security/select_exception.jsp.
- See Also:
- Serialized Form
Method Summary |
void |
doPlayBack(HttpServletRequest request,
HttpServletResponse response)
Do the playout functionality. |
protected void |
setContentType()
Set the content type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityCodeServlet
public SecurityCodeServlet()
doPlayBack
public void doPlayBack(HttpServletRequest request,
HttpServletResponse response)
throws java.io.IOException
- Do the playout functionality.
In this case, it is to show the security code for a selection.
- Overrides:
doPlayBack
in class SelectServlet
- Throws:
java.io.IOException
setContentType
protected void setContentType()
- Set the content type.
- Overrides:
setContentType
in class SelectServlet