profiled

Wraps a handler in a ProfilingHandler and returns it.

  1. HttpRequestHandler profiled(HttpRequestHandler handler, ProfilingDataHandler dataHandler)
  2. HttpRequestHandler profiled(HttpRequestHandler handler)

Parameters

handler HttpRequestHandler

The handler to wrap in a profiling handler.

dataHandler ProfilingDataHandler

The component that'll handle profiling data.

Return Value

The profiling handler.