|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.enunciate.template.freemarker.UniqueContentTypesMethod
public class UniqueContentTypesMethod
Get the set of all content types applicable to a set of resource methods.
| Field Summary |
|---|
| Fields inherited from interface freemarker.template.TemplateModel |
|---|
NOTHING |
| Constructor Summary | |
|---|---|
UniqueContentTypesMethod()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
exec(java.util.List list)
|
protected java.util.List<java.lang.String> |
findAllKnownTypesAcceptableTo(ResourceMethodMediaType mediaType)
Find all types that the models knows about that are acceptable to the specified media type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniqueContentTypesMethod()
| Method Detail |
|---|
public java.lang.Object exec(java.util.List list)
throws freemarker.template.TemplateModelException
exec in interface freemarker.template.TemplateMethodModelexec in interface freemarker.template.TemplateMethodModelExfreemarker.template.TemplateModelExceptionprotected java.util.List<java.lang.String> findAllKnownTypesAcceptableTo(ResourceMethodMediaType mediaType)
mediaType - The content type.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||