MCPcopy Index your code
hub / github.com/apache/tomcat / setAutoFlush

Method setAutoFlush

java/org/apache/jasper/compiler/PageInfo.java:704–715  ·  view source on GitHub ↗

Sets the autoFlush attribute. @param value The autoFlush value @param n The node @param err The error dispatcher @throws JasperException if the autoFlush value is invalid

(String value, Node n, ErrorDispatcher err)

Source from the content-addressed store, hash-verified

702 * @throws JasperException if the autoFlush value is invalid
703 */
704 public void setAutoFlush(String value, Node n, ErrorDispatcher err) throws JasperException {
705
706 if ("true".equalsIgnoreCase(value)) {
707 isAutoFlush = true;
708 } else if ("false".equalsIgnoreCase(value)) {
709 isAutoFlush = false;
710 } else {
711 err.jspError(n, "jsp.error.autoFlush.invalid");
712 }
713
714 autoFlush = value;
715 }
716
717 /**
718 * Returns the autoFlush attribute value.

Callers 1

visitMethod · 0.80

Calls 2

jspErrorMethod · 0.65
equalsIgnoreCaseMethod · 0.45

Tested by

no test coverage detected