Changeset 1622 for trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/HTTPLogParser.java
- Timestamp:
- 07/29/14 10:29:27 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/HTTPLogParser.java
r1599 r1622 19 19 import java.io.FileInputStream; 20 20 import java.io.FileNotFoundException; 21 import java.io.IOException; 21 22 import java.io.InputStream; 22 23 import java.util.Collection; 23 24 import java.util.LinkedList; 24 25 import java.util.List; 26 import java.util.Properties; 25 27 import java.util.logging.Level; 26 28 … … 69 71 */ 70 72 private MessageFactory soapMessageFactory; 73 74 /** 75 * <p> 76 * properties used to map the path of a service to its logical name 77 * </p> 78 */ 79 private Properties urlNameMap = null; 80 81 /** 82 * <p> 83 * Constructor. Creates a new HTTPLogParser without a urlNameMap. 84 * </p> 85 */ 86 public HTTPLogParser() { 87 88 } 89 90 /** 91 * <p> 92 * Constructor. Creates a new HTTPLogParser with a urlNameMap 93 * </p> 94 * 95 * @param urlNameMapFile properties file with the path to logical name map 96 * @throws IOException 97 * @throws 98 */ 99 public HTTPLogParser(File urlNameMapFile) throws IOException { 100 super(); 101 urlNameMap = new Properties(); 102 urlNameMap.load(new FileInputStream(urlNameMapFile)); 103 } 71 104 72 105 /** … … 171 204 172 205 if (soapRequest != null) { 173 return new SOAPEventType(exchange, soapRequest, soapResponse );206 return new SOAPEventType(exchange, soapRequest, soapResponse, urlNameMap); 174 207 } 175 208 else {
Note: See TracChangeset
for help on using the changeset viewer.