Class ProcessingTestDriver

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    @Beta
    public class ProcessingTestDriver
    extends RequestHandlerTestDriver
    A helper for making processing requests and rendering their responses. Create an instance of this to test making processing requests and get the response or response data.
    Author:
    bratseth
    • Constructor Detail

      • ProcessingTestDriver

        public ProcessingTestDriver​(java.util.Collection<Chain<Processor>> chains)
      • ProcessingTestDriver

        public ProcessingTestDriver​(java.lang.String binding,
                                    java.util.Collection<Chain<Processor>> chains)
      • ProcessingTestDriver

        @SafeVarargs
        public ProcessingTestDriver​(Chain<Processor>... chains)
      • ProcessingTestDriver

        @SafeVarargs
        public ProcessingTestDriver​(java.lang.String binding,
                                    Chain<Processor>... chains)
      • ProcessingTestDriver

        public ProcessingTestDriver​(java.util.Collection<Chain<Processor>> chains,
                                    com.yahoo.component.provider.ComponentRegistry<Renderer> renderers)
      • ProcessingTestDriver

        public ProcessingTestDriver​(java.lang.String binding,
                                    java.util.Collection<Chain<Processor>> chains,
                                    com.yahoo.component.provider.ComponentRegistry<Renderer> renderers)
      • ProcessingTestDriver

        public ProcessingTestDriver​(ProcessingHandler processingHandler)
      • ProcessingTestDriver

        public ProcessingTestDriver​(java.lang.String binding,
                                    ProcessingHandler processingHandler)
      • ProcessingTestDriver

        public ProcessingTestDriver​(Chain<Processor> chain,
                                    com.yahoo.container.logging.RequestLogHandler accessLogInterface)
    • Method Detail

      • processingHandler

        public ProcessingHandler processingHandler()
        Returns the processing handler of this