|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.dreamhead.moco.resource.reader.TemplateResourceReader
public class TemplateResourceReader
| Constructor Summary | |
|---|---|
TemplateResourceReader(ContentResource template,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.Object> variables)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
|
byte[] |
readFor(HttpRequest request)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateResourceReader(ContentResource template,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.Object> variables)
| Method Detail |
|---|
public byte[] readFor(HttpRequest request)
readFor in interface ResourceReaderpublic java.lang.String getContentType()
getContentType in interface Content
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||