public static interface HttpContent.ContentFactory
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.HttpContent
IOException
- if unable to get contentCopyright © 2010 - 2020 Adobe. All Rights Reserved