Class AcceptParser


  • public class AcceptParser
    extends java.lang.Object
    Returns a sorted list of values by their qualifier 'q' with parameters pulled off.
    Version:
    $Revision: 1 $
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  AcceptParser.Charset  
    • Constructor Summary

      Constructors 
      Constructor Description
      AcceptParser()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> parseAcceptHeader​(java.lang.String header)
      Return list sorted with first most preferred
      private static AcceptParser.Charset parseCharset​(java.lang.String charset)  
      • 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 java.util.List<java.lang.String> parseAcceptHeader​(java.lang.String header)
        Return list sorted with first most preferred
        Parameters:
        header -
        Returns: