com.atlassian.oai.validator.springmvc.OpenApiValidationContentCachingResponseWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagger-request-validator-springmvc Show documentation
Show all versions of swagger-request-validator-springmvc Show documentation
OpenAPI / Swagger validation for Spring MVC.
package com.atlassian.oai.validator.springmvc;
import org.springframework.web.util.ContentCachingResponseWrapper;
import javax.servlet.http.HttpServletResponse;
/**
* Wrapper which makes sure that we do not flush ContentCachingResponseWrapper from another filter.
* With async processing (and not only that) our ContentCachingResponseWrapper does not have
* to be on the top of the ResponseWrapper chain.
*/
public class OpenApiValidationContentCachingResponseWrapper extends ContentCachingResponseWrapper {
public OpenApiValidationContentCachingResponseWrapper(final HttpServletResponse response) {
super(response);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy