supports

open override fun supports(returnType: MethodParameter, converterType: Class<out HttpMessageConverter<*>>): Boolean(source)

Returns whether Spring should invoke this advice for the current controller return type.

The advice only applies to Tapik-managed responses whose declared return type is accepted by supportsTapikResponseType.

Return

true when this advice should handle the response.

Parameters

returnType

declared controller return type metadata.

converterType

Spring message converter selected for the response.