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.- 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.IOException
The writer.- Returns:
- the writer
- Throws:
java.io.IOException
- in case of problems
-
getOutputStream
java.io.OutputStream getOutputStream() throws java.io.IOException
The output stream.- Returns:
- the outputStream
- Throws:
java.io.IOException
- in case of problems
-
-