Package org.apache.sling.rewriter
Interface ProcessingContext
-
public interface ProcessingContextThe context for a processor invocation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContentType()The content type of the response.OutputStreamgetOutputStream()The output stream.SlingHttpServletRequestgetRequest()The current request.SlingHttpServletResponsegetResponse()The current response.PrintWritergetWriter()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
-
-