Package org.eclipse.jetty.http.content
Class ResourceHttpContentFactory
java.lang.Object
org.eclipse.jetty.http.content.ResourceHttpContentFactory
- All Implemented Interfaces:
HttpContent.Factory
An HttpContent.Factory for transient content (not cached). The HttpContent's created by
this factory are not intended to be cached, so memory limits for individual
HttpOutput streams are enforced.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ResourceHttpContentFactory
-
-
Method Details
-
getContent
- Specified by:
getContent
in interfaceHttpContent.Factory
- Parameters:
pathInContext
- The path within the context to the resource- Returns:
- A
HttpContent
- Throws:
IOException
- if unable to get content
-
resolve
-
toString
-