Class Quality

java.lang.Object
org.glassfish.jersey.message.internal.Quality

public final class Quality extends Object
Quality parameter constants.
Author:
Marek Potociar
  • Field Details

    • QUALIFIED_COMPARATOR

      public static final Comparator<Qualified> QUALIFIED_COMPARATOR
      A "highest first" qualified element comparator. An element with higher quality value will be sorted ahead of elements with lower quality value.
    • QUALITY_VALUE_COMPARATOR

      public static final Comparator<Integer> QUALITY_VALUE_COMPARATOR
      A "highest first" quality value comparator. A higher quality value will be sorted ahead of a lower quality value.
    • QUALITY_PARAMETER_NAME

      public static final String QUALITY_PARAMETER_NAME
      Quality HTTP header parameter name.
      See Also:
    • QUALITY_SOURCE_PARAMETER_NAME

      public static final String QUALITY_SOURCE_PARAMETER_NAME
      Quality source HTTP header parameter name.
      See Also:
    • MINIMUM

      public static final int MINIMUM
      Minimum quality value.
      See Also:
    • MAXIMUM

      public static final int MAXIMUM
      Maximum quality value.
      See Also:
    • DEFAULT

      public static final int DEFAULT
      Default quality value.
      See Also: