public static interface HttpContent.Factory
| Modifier and Type | Method and Description |
|---|---|
HttpContent |
getContent(String path,
int maxBuffer) |
HttpContent getContent(String path, int maxBuffer) throws 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.HttpContentIOExceptionCopyright © 1995-2016 Webtide. All Rights Reserved.