Changeset 1913 for trunk/autoquest-plugin-http
- Timestamp:
- 03/11/15 16:59:16 (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/HTTPUtils.java
r1635 r1913 143 143 SOAPEventType eventType = (SOAPEventType) event.getType(); 144 144 newSequence.add(new Event(new SimpleSOAPEventType(eventType.getCalledMethod(), 145 eventType.getServiceName()))); 145 eventType.getServiceName(), 146 eventType.getClientName()))); 146 147 } 147 148 else { -
trunk/autoquest-plugin-http/src/main/java/de/ugoe/cs/autoquest/plugin/http/eventcore/SimpleSOAPEventType.java
r1642 r1913 44 44 */ 45 45 private final String serviceName; 46 47 /** 48 * <p> 49 * the name of the client; this is either the host/ip and port of the sender or, if a path 50 * map is available, a human readable name that may be based also on the receiver 51 * </p> 52 */ 53 private final String clientName; 46 54 47 55 /** … … 51 59 * 52 60 */ 53 public SimpleSOAPEventType(String calledMethod, String serviceName ) {61 public SimpleSOAPEventType(String calledMethod, String serviceName, String clientName) { 54 62 if (calledMethod == null) { 55 63 throw new IllegalArgumentException("called method must not be null"); … … 58 66 throw new IllegalArgumentException("serviceName must not be null"); 59 67 } 68 if (clientName == null) { 69 throw new IllegalArgumentException("clientName must not be null"); 70 } 60 71 this.calledMethod = calledMethod; 61 72 this.serviceName = serviceName; 73 this.clientName = clientName; 62 74 } 63 75 … … 82 94 public String getServiceName() { 83 95 return serviceName; 96 } 97 98 /** 99 * <p> 100 * the name of the client calling in this request 101 * </p> 102 * 103 * @return the name of the client calling in this request 104 */ 105 public String getClientName() { 106 return clientName; 84 107 } 85 108
Note: See TracChangeset
for help on using the changeset viewer.