Class HttpUtils

java.lang.Object
org.activiti.cloud.services.common.util.HttpUtils

public final class HttpUtils extends Object
Utils for handling http request/response
  • Field Details

  • Method Details

    • writeFileToResponse

      public static void writeFileToResponse(jakarta.servlet.http.HttpServletResponse response, FileContent fileContent, boolean attachment) throws IOException
      Throws:
      IOException
    • multipartToFileContent

      public static FileContent multipartToFileContent(org.springframework.web.multipart.MultipartFile file) throws IOException
      Throws:
      IOException