@Override
	public void setContentType(String contentType) {
		super.setContentType(contentType);
		if (!isContentTypeHtml() && getStream() instanceof HtmlInjectorResponseStream) {
			((HtmlInjectorResponseStream) getStream()).cancelInjection();
		}
	}
@ Override public void setContentType ( String contentType ) { super . setContentType ( contentType ) ; if ( ! isContentTypeHtml ( ) && getStream ( ) instanceof HtmlInjectorResponseStream ) { ( ( HtmlInjectorResponseStream ) getStream ( ) ) . cancelInjection ( ) ; } }
{@inheritDoc}