Package org.apache.sling.rewriter
Interface ProcessingContext
-
- All Known Implementing Classes:
ServletProcessingContext
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.org.apache.sling.api.SlingHttpServletRequest
getRequest()
The current request.org.apache.sling.api.SlingHttpServletResponse
getResponse()
The current response.PrintWriter
getWriter()
The writer.
-
-
-
Method Detail
-
getRequest
org.apache.sling.api.SlingHttpServletRequest getRequest()
The current request.
-
getResponse
org.apache.sling.api.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
-
-