Package org.eclipse.jetty.http
Class QuotedQualityCSV
java.lang.Object
org.eclipse.jetty.http.QuotedCSVParser
org.eclipse.jetty.http.QuotedCSV
org.eclipse.jetty.http.QuotedQualityCSV
@Deprecated(since="2021-05-27")
public class QuotedQualityCSV
extends QuotedCSV
implements Iterable<String>
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
Implements a quoted comma separated list of quality values
in accordance with RFC7230 and RFC7231.
Values are returned sorted in quality order, with OWS and the
quality parameters removed.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic ToIntFunction
<String> Deprecated.Lambda to apply a most specific MIME encoding secondary ordering. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Sorts values with equal quality according to the length of the value String.QuotedQualityCSV
(String[] preferredOrder) Deprecated.Sorts values with equal quality according to given order.QuotedQualityCSV
(ToIntFunction<String> secondaryOrdering) Deprecated.Orders values with equal quality with the given function. -
Method Summary
Methods inherited from class org.eclipse.jetty.http.QuotedCSVParser
addValue, unquote
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
MOST_SPECIFIC_MIME_ORDERING
Deprecated.Lambda to apply a most specific MIME encoding secondary ordering.- See Also:
-
-
Constructor Details
-
QuotedQualityCSV
public QuotedQualityCSV()Deprecated.Sorts values with equal quality according to the length of the value String. -
QuotedQualityCSV
Deprecated.Sorts values with equal quality according to given order.- Parameters:
preferredOrder
- Array indicating the preferred order of known values
-
QuotedQualityCSV
Deprecated.Orders values with equal quality with the given function.- Parameters:
secondaryOrdering
- Function to apply an ordering other than specified by quality, highest values are sorted first.
-
-
Method Details