Class AcceptCharset

java.lang.Object
org.apache.olingo.commons.api.format.AcceptCharset

public class AcceptCharset extends Object
  • Method Details

    • create

      public static List<AcceptCharset> create(String acceptCharsets)
      Creates a list of AcceptCharset objects based on given input string.
      Parameters:
      acceptCharsets - accept types, comma-separated, as specified for the HTTP header Accept-Charset
      Returns:
      a list of AcceptType objects
      Throws:
      Exception
      IllegalArgumentException - if input string is not parseable
    • getCharset

      public String getCharset()
    • getParameters

      public Map<String,String> getParameters()
    • getParameter

      public String getParameter(String name)
    • getQuality

      public Float getQuality()
    • toString

      public String toString()
      Overrides:
      toString in class Object