Class SkipRenderMgr
java.lang.Object
org.eclnt.jsfserver.util.skipphase.SkipRenderMgr
API to perform fast response processing. The application may decide to not
process the render phase at all but assume that the client shows the correct
data: in this case it may call
This fast response processing must be handled with great care because it is only to be applied if guaranteeing by application side that data in the client is in sync with data on the server side! Please do not use without fully knowing the internal consequences!
skipRenderPhase()
. Other parts of the
application may insist to process the render phase and may call
vetoSkipRenderPhase()
. This fast response processing must be handled with great care because it is only to be applied if guaranteeing by application side that data in the client is in sync with data on the server side! Please do not use without fully knowing the internal consequences!
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static void
Indicate that the render phase can be skipped for this request.static void
Indicate that any call toskipRenderPhase()
is vetoed for the current request.
-
Constructor Details
-
SkipRenderMgr
public SkipRenderMgr()
-
-
Method Details
-
skipRenderPhase
public static void skipRenderPhase()Indicate that the render phase can be skipped for this request. In this case the client will not receive any updated data from the server side. -
vetoSkipRenderPhase
public static void vetoSkipRenderPhase()Indicate that any call toskipRenderPhase()
is vetoed for the current request. In this case the normal rendering processing is performed. -
checkIfToSkipRenderPhase
public static boolean checkIfToSkipRenderPhase()
-