| java.lang.Object org.apache.coyote.http11.FileTester
FileTester | public class FileTester (Code) | | File tester.
This tester is initialized with an adapter (it will use the HTTP/1.1
processor), and will then accept an input file (which will contain the
input data), and an output file, to which the result of the request(s)
will be written.
author: Remy Maucherat |
Method Summary | |
public static void | main(String args) Utility main method, which will use the HTTP/1.1 processor with the
test adapter. | public void | test() Process the test. |
inputFile | protected File inputFile(Code) | | File containing the input data.
|
outputFile | protected File outputFile(Code) | | File containing the output data.
|
FileTester | public FileTester(Adapter adapter, Processor processor, File inputFile, File outputFile)(Code) | | Construct a new file tester using the two files specified. The contents
of the output file will be overwritten when the test is run.
Parameters: adapter - Coyote adapter to use for this test Parameters: processor - Coyote processor to use for this test Parameters: inputFile - File containing the HTTP requests in plain text Parameters: outputFile - File containing the HTTP responses |
main | public static void main(String args) throws Exception(Code) | | Utility main method, which will use the HTTP/1.1 processor with the
test adapter.
Parameters: args - Command line arguments to be processed |
|
|