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