Class RequestLog

java.lang.Object
com.codename1.backend.RequestLog

public final class RequestLog extends Object

The last requests the server answered, kept for the development MCP tools: what came in, what went out, how long it took and what was thrown.

Off unless the development tools turn it on. Off, recording is a static read per request and nothing else.

  • Method Details

    • enable

      public void enable(int capacity)
      Starts keeping the last capacity requests.
    • recent

      public List recent(int limit, boolean failuresOnly)
      The newest limit requests, newest first; only failures when asked.