Class StreamRenderer
java.lang.Object
org.apache.sling.servlets.get.impl.helpers.StreamRenderer
- All Implemented Interfaces:
Renderer
The
StreamRendererServlet
streams the current resource to the
client on behalf of the
DefaultGetServlet
. If the current
resource cannot be streamed it is rendered using the
PlainTextRenderer
.-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionStreamRenderer
(boolean index, String[] indexFiles, javax.servlet.ServletContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(SlingHttpServletRequest request, SlingHttpServletResponse response)
-
Constructor Details
-
StreamRenderer
-
-
Method Details
-
render
public void render(SlingHttpServletRequest request, SlingHttpServletResponse response) throws IOException - Specified by:
render
in interfaceRenderer
- Throws:
IOException
-