com.paas.aspect.ResponseBodyAspect Maven / Gradle / Ivy
package com.paas.aspect;
import com.alibaba.fastjson.JSON;
import com.paas.service.ModifyRspBodyService;
import org.springframework.core.MethodParameter;
import org.springframework.http.HttpStatus;
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.http.server.ServletServerHttpResponse;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice;
/**
* @ClassName ResponseBodyAspect
* @Date 2020/12/8 15:10
* @Auther wangyongyong
* @Version 1.0
* @Description 返回请求体拦截
*/
@ControllerAdvice
public class ResponseBodyAspect implements ResponseBodyAdvice
© 2015 - 2025 Weber Informatics LLC | Privacy Policy