com.itcoon.common.starter.advice.ResponseBodyHandlerAdvice Maven / Gradle / Ivy
package com.itcoon.common.starter.advice;
import com.itcoon.common.api.response.ApiResponse;
import com.itcoon.common.i18n.I18ns;
import org.springframework.core.MethodParameter;
import org.springframework.http.MediaType;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.server.ServerHttpRequest;
import org.springframework.http.server.ServerHttpResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice;
/**
*
*
* @author 俞淼霞
* @since 2019-09-06
*/
@ControllerAdvice(annotations = {Controller.class, ControllerAdvice.class})
public class ResponseBodyHandlerAdvice implements ResponseBodyAdvice
© 2015 - 2025 Weber Informatics LLC | Privacy Policy