MyResponseBodyAdvice

@Component
@ControllerAdvice(annotations = ResponseBody::class)
open class MyResponseBodyAdvice : ResponseBodyAdvice<T>

返回数据加密

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun beforeBodyWrite(body: Any, returnType: MethodParameter, selectedContentType: MediaType, selectedConverterType: Class, request: ServerHttpRequest, response: ServerHttpResponse): Any
Link copied to clipboard
open fun determineWriteHints(body: T, returnType: MethodParameter, selectedContentType: MediaType, selectedConverterType: Class<out HttpMessageConverter<out Any>>): Map<String, Any>
Link copied to clipboard
open fun supports(returnType: MethodParameter, converterType: Class): Boolean