public class StreamRenderer extends Object implements Renderer
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.| Modifier and Type | Class and Description |
|---|---|
protected class |
StreamRenderer.Range |
| Constructor and Description |
|---|
StreamRenderer(boolean index,
String[] indexFiles,
javax.servlet.ServletContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
render(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response) |
public StreamRenderer(boolean index,
String[] indexFiles,
javax.servlet.ServletContext context)
public void render(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response)
throws IOException
render in interface RendererIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.