org.apache.sling.engine.impl.request
Class RequestHistoryConsolePlugin

java.lang.Object
  extended by org.apache.sling.engine.impl.request.RequestHistoryConsolePlugin

public class RequestHistoryConsolePlugin
extends Object

Felix OSGi console plugin that displays info about recent requests processed by Sling. Info about all requests can be found in the logs, but this is useful when testing or explaining things.


Nested Class Summary
static class RequestHistoryConsolePlugin.Plugin
           
 
Field Summary
static String CLEAR
           
static String INDEX
           
static String LABEL
           
static int STORED_REQUESTS_COUNT
           
 
Method Summary
static void destroyPlugin()
           
static void initPlugin(org.osgi.framework.BundleContext context, int maxRequests)
           
static void recordRequest(SlingHttpServletRequest r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL

public static final String LABEL
See Also:
Constant Field Values

INDEX

public static final String INDEX
See Also:
Constant Field Values

CLEAR

public static final String CLEAR
See Also:
Constant Field Values

STORED_REQUESTS_COUNT

public static final int STORED_REQUESTS_COUNT
See Also:
Constant Field Values
Method Detail

recordRequest

public static void recordRequest(SlingHttpServletRequest r)

initPlugin

public static void initPlugin(org.osgi.framework.BundleContext context,
                              int maxRequests)

destroyPlugin

public static void destroyPlugin()


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.