Package org.jboss.resteasy.util
Class MediaTypeMatcher<T>
- java.lang.Object
-
- org.jboss.resteasy.util.MediaTypeMatcher<T>
-
public class MediaTypeMatcher<T> extends java.lang.ObjectHelper class that picks an object from a MediaType map from a list of sorted acceptable MediaTypes- Version:
- $Revision: 1 $
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<javax.ws.rs.core.MediaType,T>representations
-
Constructor Summary
Constructors Constructor Description MediaTypeMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<javax.ws.rs.core.MediaType,T>getRepresentations()Tmatch(java.util.List<javax.ws.rs.core.MediaType> accepts)voidsetRepresentations(java.util.Map<javax.ws.rs.core.MediaType,T> representations)
-
-
-
Field Detail
-
representations
protected java.util.Map<javax.ws.rs.core.MediaType,T> representations
-
-