open class SourceHttpMessageConverter<T : Source> : AbstractHttpMessageConverter<T>
Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write Source objects.
Author
Arjen Poutsma
Author
Rossen Stoyanchev
Since
3.0
SourceHttpMessageConverter()
Sets the |
open fun isProcessExternalEntities(): Boolean
Returns the configured value for whether XML external entities are allowed. |
|
open fun isSupportDtd(): Boolean
Whether DTD parsing is supported. |
|
open fun setProcessExternalEntities(processExternalEntities: Boolean): Unit
Indicates whether external XML entities are processed when converting to a Source. Default is Note: setting this option to |
|
open fun setSupportDtd(supportDtd: Boolean): Unit
Indicates whether DTD parsing should be supported. Default is |
|
open fun supports(clazz: Class<*>): Boolean |