|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.dreamhead.moco.resource.reader.FileResourceReader
public class FileResourceReader
| Constructor Summary | |
|---|---|
FileResourceReader(java.io.File file)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
|
byte[] |
readFor(io.netty.handler.codec.http.FullHttpRequest request)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileResourceReader(java.io.File file)
| Method Detail |
|---|
public java.lang.String getContentType()
getContentType in interface Contentpublic byte[] readFor(io.netty.handler.codec.http.FullHttpRequest request)
readFor in interface ResourceReader
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||