java.lang.Object
org.qubership.atp.itf.lite.backend.converters.curl.CurlUtils

public class CurlUtils extends Object
  • Constructor Details

    • CurlUtils

      public CurlUtils()
  • Method Details

    • isHeaderXmlContentType

      public static boolean isHeaderXmlContentType(RequestHeader header)
      Check if header is "Content-Type: application/xml" or "Content-Type: text/xml".
      Parameters:
      header - request header
      Returns:
      true/false
    • isHeaderJsonContentType

      public static boolean isHeaderJsonContentType(RequestHeader header)
      Check if header is "Content-Type: application/json".
      Parameters:
      header - request header
      Returns:
      true/false