Package org.jboss.resteasy.util
Class AcceptParser
java.lang.Object
org.jboss.resteasy.util.AcceptParser
Returns a sorted list of values by their qualifier 'q' with parameters pulled off.
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseAcceptHeader
(String header) Return list sorted with first most preferred
-
Constructor Details
-
AcceptParser
public AcceptParser()
-
-
Method Details
-
parseAcceptHeader
Return list sorted with first most preferred- Parameters:
header
- accept header- Returns:
- a sorted list of accept header values
-