org.red5.server.net.servlet
Class CaptureViewerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.red5.server.net.servlet.CaptureViewerServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class CaptureViewerServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
|
Method Summary |
String |
formatHTML(Packet packet,
int id,
long time)
Formats HTML |
void |
init()
|
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Writes HTML out of dump |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaptureViewerServlet
public CaptureViewerServlet()
init
public void init()
throws javax.servlet.ServletException
-
- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
service
protected void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException
- Writes HTML out of dump
- Overrides:
service in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
formatHTML
public String formatHTML(Packet packet,
int id,
long time)
- Formats HTML
- Parameters:
packet - RTMP packetid - idtime - Time
- Returns:
- Formatted packet representation in HTML
Copyright © 2006-2007 the Red5 project.