|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.resteasy.core.MediaTypeMap<T>
public class MediaTypeMap<T>
efficient MediaType index of T
| Constructor Summary | |
|---|---|
MediaTypeMap()
|
|
| Method Summary | |
|---|---|
void |
add(MediaType type,
T obj)
|
java.util.List<T> |
getPossible(MediaType accept)
Returns a list of objects sorted based on their media type where the first in the list is the best match |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MediaTypeMap()
| Method Detail |
|---|
public void add(MediaType type,
T obj)
public java.util.List<T> getPossible(MediaType accept)
accept - mime to match
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||