Package com.yahoo.processing.handler
Class ProcessingTestDriver
- java.lang.Object
-
- com.yahoo.container.jdisc.RequestHandlerTestDriver
-
- com.yahoo.processing.handler.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.yahoo.container.jdisc.RequestHandlerTestDriver
RequestHandlerTestDriver.MockResponseHandler
-
-
Constructor Summary
Constructors Constructor Description ProcessingTestDriver(Chain<Processor>... chains)
ProcessingTestDriver(Chain<Processor> chain, com.yahoo.container.logging.RequestLogHandler accessLogInterface)
ProcessingTestDriver(ProcessingHandler processingHandler)
ProcessingTestDriver(java.lang.String binding, Chain<Processor>... chains)
ProcessingTestDriver(java.lang.String binding, ProcessingHandler processingHandler)
ProcessingTestDriver(java.lang.String binding, java.util.Collection<Chain<Processor>> chains)
ProcessingTestDriver(java.lang.String binding, java.util.Collection<Chain<Processor>> chains, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers)
ProcessingTestDriver(java.util.Collection<Chain<Processor>> chains)
ProcessingTestDriver(java.util.Collection<Chain<Processor>> chains, com.yahoo.component.provider.ComponentRegistry<Renderer> renderers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessingHandler
processingHandler()
Returns the processing handler of this-
Methods inherited from class com.yahoo.container.jdisc.RequestHandlerTestDriver
censorDigits, close, jDiscDriver, sendRequest, sendRequest, sendRequest, sendRequest, sendRequest, sendRequest
-
-
-
-
Constructor Detail
-
ProcessingTestDriver
public ProcessingTestDriver(java.lang.String binding, java.util.Collection<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)
-
-
Method Detail
-
processingHandler
public ProcessingHandler processingHandler()
Returns the processing handler of this
-
-