public static interface HttpContent.ContentFactory
| Modifier and Type | Method | Description |
|---|---|---|
HttpContent |
getContent(java.lang.String path,
int maxBuffer) |
HttpContent getContent(java.lang.String path, int maxBuffer) throws java.io.IOException
path - The path within the context to the resourcemaxBuffer - The maximum buffer to allocated for this request. For cached content, a larger buffer may have
previously been allocated and returned by the HttpContent.getDirectBuffer() or HttpContent.getIndirectBuffer() calls.HttpContentjava.io.IOException - if unable to get contentCopyright © 1995–2018 Webtide. All rights reserved.