Class AcceptContentType

java.lang.Object
dev.galasa.framework.api.common.AcceptContentType

public class AcceptContentType extends Object
A representation of a content type as given in a HTTP "Accept" header. For example: "Accept: application/json;q=0.5". For more information on the "Accept" header, see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept
  • Constructor Details

    • AcceptContentType

      public AcceptContentType(String type, double quality)
  • Method Details

    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getQuality

      public double getQuality()
    • setQuality

      public void setQuality(double quality)