ChartDirector 7.0 (Java Edition)

WebChartViewer.isStreamRequest


Usage

public boolean isStreamRequest()

Description

Checks if the current HTTP request is a stream update request sent using JsChartViewer.streamUpdate.

Note that the JsChartViewer does not need to have the same id as the WebChartViewer object. To get the id of the JsChartViewer object sending the request, use WebChartViewer.getSenderClientId.

This method is also available as a static method of WebChartViewer. The static method requires one argument, which can be either the current ServletRequest or PageContext.

Arguments

None

Return Value

True if the current HTTP request is stream update request sent using JsChartViewer.streamUpdate, otherwise false.