org.jboss.resteasy.util
Class AcceptParser

java.lang.Object
  extended by 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
AcceptParser()
           
 
Method Summary
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 -
Returns:


Copyright © 2013. All Rights Reserved.