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 String
getContentType()
The content type of the response.OutputStream
getOutputStream()
The output stream.SlingHttpServletRequest
getRequest()
The current request.SlingHttpServletResponse
getResponse()
The current response.PrintWriter
getWriter()
The writer.
-
-
-
Method Detail
-
getRequest
SlingHttpServletRequest getRequest()
The current request.
-
getResponse
SlingHttpServletResponse getResponse()
The current response.
-
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
-
-