Interface HttpContent.Factory
- All Known Implementing Classes:
CachingHttpContentFactory
,FileMappingHttpContentFactory
,PreCompressedHttpContentFactory
,ResourceHttpContentFactory
,ValidatingCachingHttpContentFactory
,VirtualHttpContentFactory
- Enclosing interface:
HttpContent
public static interface HttpContent.Factory
Factory of
HttpContent
.-
Method Summary
Modifier and TypeMethodDescriptiongetContent
(String path) Get theHttpContent
instance of a path.
-
Method Details
-
getContent
Get theHttpContent
instance of a path.- Parameters:
path
- The path.- Returns:
- A
HttpContent
instance. - Throws:
IOException
- if unable to get content
-