com.day.cq.rewriter.processor
Interface ProcessingContext


public interface ProcessingContext

The context for a processor invocation.


Method Summary
 String getContentType()
          The content type of the response.
 OutputStream getOutputStream()
          The output stream.
 org.apache.sling.api.SlingHttpServletRequest getRequest()
           
 org.apache.sling.api.SlingHttpServletResponse getResponse()
           
 PrintWriter getWriter()
          The writer.
 

Method Detail

getRequest

org.apache.sling.api.SlingHttpServletRequest getRequest()

getResponse

org.apache.sling.api.SlingHttpServletResponse getResponse()

getContentType

String getContentType()
The content type of the response.


getWriter

PrintWriter getWriter()
                      throws IOException
The writer.

Throws:
IOException

getOutputStream

OutputStream getOutputStream()
                             throws IOException
The output stream.

Throws:
IOException


Copyright © 2009 Day Management AG. All Rights Reserved.