[OmniFaces utilities] The
responseReset()
method resets the current response. This will clear any headers which are been set and any data which is written to the response buffer which isn't committed yet.Method:
See also: Faces#getContext()
Usage:
import
org.omnifaces.util.Faces;
...
Faces.responseReset();
Note You
can this method used in the OmniFaces, FullAjaxExceptionHandler#resetResponse()
private method and it the OmniPartialViewContext#reset() public
method.
Niciun comentariu :
Trimiteți un comentariu