Changeset 1923 for trunk/autoquest-plugin-http/src/main
- Timestamp:
- 03/13/15 15:12:56 (10 years ago)
- Location:
- trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/HTTPLogParser.java
r1903 r1923 26 26 import java.util.Properties; 27 27 import java.util.logging.Level; 28 import java.util.logging.Logger; 28 29 29 30 import javax.xml.bind.JAXBContext; … … 85 86 */ 86 87 public HTTPLogParser() { 87 88 Logger.getLogger("com.sun.xml.internal.messaging.saaj").setLevel(Level.OFF); 88 89 } 89 90 -
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/HTTPUtils.java
r1915 r1923 15 15 package de.ugoe.cs.autoquest.plugin.http; 16 16 17 import java.util.Iterator; 17 18 import java.util.LinkedList; 18 19 import java.util.List; … … 160 161 return newSequence; 161 162 } 163 164 /** 165 * <p> 166 * Removes all non SOAP events from a sequence. Warning: this change is performed in-place! 167 * </p> 168 * 169 * @param sequence 170 * sequence where the events are replaced 171 */ 172 public static void removeNonSOAPEvents(List<Event> sequence) 173 { 174 for (Iterator<Event> eventIter = sequence.iterator(); eventIter.hasNext();) { 175 Event event = eventIter.next(); 176 if (!(event.getType() instanceof SOAPEventType)) { 177 eventIter.remove(); 178 } 179 } 180 } 162 181 163 182 /**
Note: See TracChangeset
for help on using the changeset viewer.