Class GeneratorStreamingOutput

  • public class GeneratorStreamingOutput
    extends Object
    • Field Detail

      • contentGenerator

        protected org.pentaho.platform.api.engine.IContentGenerator contentGenerator
      • contentGeneratorID

        protected String contentGeneratorID
      • file

        protected org.pentaho.platform.api.repository2.unified.RepositoryFile file
      • command

        protected String command
      • httpServletRequest

        protected javax.servlet.http.HttpServletRequest httpServletRequest
      • httpServletResponse

        protected javax.servlet.http.HttpServletResponse httpServletResponse
      • pluginMgr

        protected org.pentaho.platform.api.engine.IPluginManager pluginMgr
      • fileType

        protected String fileType
      • mimeType

        protected String mimeType
      • acceptableMediaTypes

        protected List<> acceptableMediaTypes
    • Constructor Detail

      • GeneratorStreamingOutput

        public GeneratorStreamingOutput​(org.pentaho.platform.api.engine.IContentGenerator contentGenerator,
                                        ContentGeneratorDescriptor desc,
                                        javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response,
                                        List<> acceptableMediaTypes,
                                        org.pentaho.platform.api.repository2.unified.RepositoryFile file,
                                        String command)
        Invokes a content generator to produce some content either in the context of a repository file, or in the form of a direct service call (no repository file in view).
        contentGenerator - the content generator to invoke
        ContentGeneratorDescriptor - a descriptor detailing info about the content generator
        request - the HTTP request
        response - the HTTP response
        producesMimeType - the requested return type of the output (can be null if none is preferred)
        file - the repository file being rendered (can be null if a repository file does not apply)
        command - the trailing part of the URL path of the request, typically used as a command sequence (can be null)