Class ResponseUtils

java.lang.Object
com.atlassian.oai.validator.springmvc.ResponseUtils

public class ResponseUtils extends Object
  • Method Details

    • getCachingResponse

      public static OpenApiValidationContentCachingResponseWrapper getCachingResponse(javax.servlet.http.HttpServletResponse responseToUse)
      With async processing at play, the response wrapper does not have to be at the top and we do not want to use multiple ContentCachingResponseWrappers. We have to find our wrapper in the wrapper chain.