|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceStreamer
Responsible for streaming the contents of a resource to the client. The Resource
to
stream is a ClasspathResource
or ContextResource
.
Method Summary | |
---|---|
void |
streamResource(Resource resource)
Streams the content of the resource to the client (or sends an alternative response such as HttpServletResponse.SC_NOT_MODIFIED ). |
void |
streamResource(StreamableResource resource)
Streams a resource that has been assembled elsewhere. |
Method Detail |
---|
void streamResource(Resource resource) throws IOException
HttpServletResponse.SC_NOT_MODIFIED
). Encapsulates logic for compression
and for caching.
IOException
StreamableResourceSource
void streamResource(StreamableResource resource) throws IOException
resource
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |