Package org.apache.sling.rewriter
Interface ProcessingContext
- 
public interface ProcessingContextThe context for a processor invocation. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetContentType()The content type of the response.java.io.OutputStreamgetOutputStream()The output stream.SlingHttpServletRequestgetRequest()The current request.SlingHttpServletResponsegetResponse()The current response.java.io.PrintWritergetWriter()The writer. 
 - 
 
- 
- 
Method Detail
- 
getRequest
SlingHttpServletRequest getRequest()
The current request.- Returns:
 - the current request
 
 
- 
getResponse
SlingHttpServletResponse getResponse()
The current response.- Returns:
 - the current response
 
 
- 
getContentType
java.lang.String getContentType()
The content type of the response.- Returns:
 - the content type
 
 
- 
getWriter
java.io.PrintWriter getWriter() throws java.io.IOExceptionThe writer.- Returns:
 - the writer
 - Throws:
 java.io.IOException- in case of problems
 
- 
getOutputStream
java.io.OutputStream getOutputStream() throws java.io.IOExceptionThe output stream.- Returns:
 - the outputStream
 - Throws:
 java.io.IOException- in case of problems
 
 - 
 
 -