|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.resteasy.MediaTypeMap<T>
public class MediaTypeMap<T>
efficient MediaType index of T
| Constructor Summary | |
|---|---|
MediaTypeMap()
|
|
| Method Summary | |
|---|---|
void |
add(javax.ws.rs.core.MediaType type,
T obj)
|
java.util.List<T> |
getPossible(javax.ws.rs.core.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(javax.ws.rs.core.MediaType type,
T obj)
public java.util.List<T> getPossible(javax.ws.rs.core.MediaType accept)
accept - mime to match
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||