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 Details

    • AcceptParser

      public AcceptParser()
  • Method Details

    • 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