Package org.jboss.resteasy.util

## Class AcceptParser

- java.lang.Object
- - org.jboss.resteasy.util.AcceptParser

-     public class AcceptParser
      extends Object

  Returns a sorted list of values by their qualifier 'q' with parameters pulled off.
  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AcceptParser()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static List<String>` | `parseAcceptHeader​(String header)` | Return list sorted with first most preferred

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

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

- - ### Constructor Detail

    - #### AcceptParser

          public AcceptParser()

  - ### Method Detail

    - #### parseAcceptHeader

          public static List<String> parseAcceptHeader​(String header)

      Return list sorted with first most preferred
      Parameters:
        `header` - accept header
      Returns:
        a sorted list of accept header values