Interface Result.ResultProcessor

Enclosing class:
Result

public static interface Result.ResultProcessor
Result processor. In charge to transform a content (any type) into an InputStream.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the result input stream.
    void
    process(Context context, com.typesafe.config.Config configuration, TemplateRenderer templateRenderer)
    Process the result.
  • Method Details

    • process

      void process(Context context, com.typesafe.config.Config configuration, TemplateRenderer templateRenderer)
      Process the result.
      Parameters:
      context - The current context
      configuration - The application configuration
      templateRenderer - The template rendered if available
    • getInputStream

      InputStream getInputStream()
      Get the result input stream.
      Returns:
      The result input stream