org.apache.activemq.web
Class QueueBrowseServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.activemq.web.QueueBrowseServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class QueueBrowseServlet
extends HttpServlet

Renders the contents of a queue using some kind of view. The URI is assumed to be the queue. The following parameters can be used

See Also:
Serialized Form

Constructor Summary
QueueBrowseServlet()
           
 
Method Summary
protected  void configureRenderer(HttpServletRequest request, MessageRenderer renderer)
           
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
protected  MessageRenderer getMessageRenderer(HttpServletRequest request)
           
protected  Queue getQueue(HttpServletRequest request, Session session)
           
protected  String getSelector(HttpServletRequest request)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueBrowseServlet

public QueueBrowseServlet()
Method Detail

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException

getMessageRenderer

protected MessageRenderer getMessageRenderer(HttpServletRequest request)
                                      throws IOException,
                                             ServletException
Throws:
IOException
ServletException

configureRenderer

protected void configureRenderer(HttpServletRequest request,
                                 MessageRenderer renderer)

getSelector

protected String getSelector(HttpServletRequest request)

getQueue

protected Queue getQueue(HttpServletRequest request,
                         Session session)
                  throws JMSException
Throws:
JMSException


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.