|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.ws.rs.core.MediaType
org.jboss.resteasy.util.WeightedMediaType
public class WeightedMediaType
| Field Summary |
|---|
| Method Summary | |
|---|---|
int |
compareTo(WeightedMediaType o)
|
float |
getWeight()
|
boolean |
isCompatible(MediaType other)
Non-equal properties should not be compatible |
static WeightedMediaType |
parse(MediaType tmp)
|
static WeightedMediaType |
valueOf(java.lang.String type)
|
| Methods inherited from class javax.ws.rs.core.MediaType |
|---|
equals, getParameters, getSubtype, getType, hashCode, isWildcardSubtype, isWildcardType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public float getWeight()
public int compareTo(WeightedMediaType o)
compareTo in interface java.lang.Comparable<WeightedMediaType>public boolean isCompatible(MediaType other)
isCompatible in class MediaTypeother - the media type to compare with
public static WeightedMediaType valueOf(java.lang.String type)
public static WeightedMediaType parse(MediaType tmp)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||