AcceptLanguage (Apache Tomcat 11.0.22 API Documentation)
Description: declaration: package: org.apache.tomcat.util.http.parser, class: AcceptLanguage

# Class AcceptLanguage

java.lang.Object
org.apache.tomcat.util.http.parser.AcceptLanguage

public class AcceptLanguage extends Object

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `AcceptLanguage(Locale locale, double quality)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Locale`
  `getLocale()`
  `double`
  `getQuality()`
  `static List<AcceptLanguage>`
  `parse(StringReader input)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AcceptLanguage

    protected AcceptLanguage(Locale locale, double quality)

- ## Method Details

  - ### getLocale

    public Locale getLocale()

  - ### getQuality

    public double getQuality()

  - ### parse

    public static List<AcceptLanguage> parse(StringReader input) throws IOException
    Throws:
      `IOException`