Home > Contents > Index >
CacheManager.streamResults
Controls streaming of status codes.
Syntax
public void streamResults(boolean b);Parameters
b
- Set to
true
if you want CacheManager to stream results. Set tofalse
if you want CacheManager to suppress streaming messages.
Description
The
streamResults
method tells CacheManager whether or not to stream results to the browser after each page is either flushed or refreshed. Streaming prevents HTTP timeout errors.CacheManager's default behavior is to not stream status codes to the browser. In other words, the default behavior is the same as calling
streamResults(false)
.You may toggle between
streamResults(true)
andstreamResults(false)
between invoking other CacheManager methods.
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.