public class AcceptableContentType extends java.lang.Object implements Q, java.lang.Comparable<AcceptableContentType>
| Constructor and Description |
|---|
AcceptableContentType(java.lang.Double q,
ContentType contentType) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AcceptableContentType o) |
ContentType |
contentType() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.Double |
q()
Get the priority of this
Accept header entry
|
java.lang.String |
toString() |
public AcceptableContentType(java.lang.Double q,
ContentType contentType)
public java.lang.Double q()
Qpublic ContentType contentType()
public int compareTo(AcceptableContentType o)
compareTo in interface java.lang.Comparable<AcceptableContentType>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object