Package org.apache.sling.rewriter
Interface ProcessingContext
public interface ProcessingContext
The context for a processor invocation.
-
Method Summary
Modifier and TypeMethodDescriptionThe content type of the response.The output stream.The current request.The current response.The writer.
-
Method Details
-
getRequest
SlingHttpServletRequest getRequest()The current request.- Returns:
- the current request
-
getResponse
SlingHttpServletResponse getResponse()The current response.- Returns:
- the current response
-
getContentType
String getContentType()The content type of the response.- Returns:
- the content type
-
getWriter
The writer.- Returns:
- the writer
- Throws:
IOException- in case of problems
-
getOutputStream
The output stream.- Returns:
- the outputStream
- Throws:
IOException- in case of problems
-