com.vaadin.terminal.gwt.server
Class RequestTimer
java.lang.Object
com.vaadin.terminal.gwt.server.RequestTimer
- All Implemented Interfaces:
- Serializable
public class RequestTimer
- extends Object
- implements Serializable
Times the handling of requests and stores the information as an attribute in
the request. The timing info is later passed on to the client in the UIDL and
the client provides JavaScript API for accessing this data from e.g.
TestBench.
- Author:
- Jonatan Kronqvist / Vaadin Ltd
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestTimer
public RequestTimer()
start
public void start()
- Starts the timing of a request. This should be called before any
processing of the request.
stop
public void stop(AbstractWebApplicationContext context)
- Stops the timing of a request. This should be called when all processing
of a request has finished.
- Parameters:
context
-
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.