AcceptLanguage (Apache Tomcat 8.5.43 API Documentation)

org.apache.tomcat.util.http.parser

## Class AcceptLanguage

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

-     public class AcceptLanguage
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `AcceptLanguage(java.util.Locale locale, double quality)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Locale` | `getLocale()`
    `double` | `getQuality()`
    `static java.util.List<AcceptLanguage>` | `parse(java.io.StringReader input)`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### AcceptLanguage

          protected AcceptLanguage(java.util.Locale locale,
                        double quality)

  - ### Method Detail

    - #### getLocale

          public java.util.Locale getLocale()

    - #### getQuality

          public double getQuality()

    - #### parse

          public static java.util.List<AcceptLanguage> parse(java.io.StringReader input)
                                                      throws java.io.IOException

      Throws:
        `java.io.IOException`

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.