|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.adf.view.core.PerfDebugHelper
public class PerfDebugHelper
| Field Summary | |
|---|---|
static java.lang.String |
PERF_DEBUG |
| Constructor Summary | |
|---|---|
PerfDebugHelper() |
|
| Method Summary | |
|---|---|
static int |
decreaseSDFLevel()decrease the SDF nested level |
static int |
getPerfDebugFlag()Get perfDebug flag from request variable |
static void |
increaseSDFLevel()Increase the SDF nested level |
static void |
renderPageTime(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rCtx, javax.faces.component.UIComponent sdf, javax.faces.context.ResponseWriter out)Render page timing at the top of the page |
static void |
renderSDFTiming(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rCtx, ShowDetailFrame sdf, javax.faces.context.ResponseWriter out, long startTime)Render performance timing for the SDF |
static void |
setupPerfDebug(javax.servlet.http.HttpSession session, javax.servlet.http.HttpServletRequest hreq)Setup perfDebug flag to current user session based on query string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PERF_DEBUG
| Constructor Detail |
|---|
public PerfDebugHelper()
| Method Detail |
|---|
public static void setupPerfDebug(javax.servlet.http.HttpSession session,
javax.servlet.http.HttpServletRequest hreq)
session - - current http sessionhreq - - http request objectpublic static int getPerfDebugFlag()
public static void increaseSDFLevel()
public static int decreaseSDFLevel()
public static void renderSDFTiming(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rCtx,
ShowDetailFrame sdf,
javax.faces.context.ResponseWriter out,
long startTime)
throws java.io.IOException
context - faces context FacesContextrCtx - rendering context RenderingContextsdf - - associated SDF componentout - - the response out object where the performance timing is written tostartTime - - the start time stamp of the renderingjava.io.IOException
public static void renderPageTime(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RenderingContext rCtx,
javax.faces.component.UIComponent sdf,
javax.faces.context.ResponseWriter out)
throws java.io.IOException
context - faces context FacesContextrCtx - rendering context RenderingContextsdf - - associated SDF componentout - - the response out object where the performance timing is written tojava.io.IOException
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||