spring-framework / org.springframework.http.converter.xml / SourceHttpMessageConverter / setSupportDtd

setSupportDtd

open fun setSupportDtd(supportDtd: Boolean): Unit

Indicates whether DTD parsing should be supported.

Default is false meaning that DTD is disabled.