Project

General

Profile

« Previous | Next » 

Revision 6542

add User-Agent logging to support D1 requirements

View differences:

EventLogData.java
32 32
 */
33 33
public class EventLogData {
34 34
	private String ipAddress;
35
	private String userAgent;
35 36
	private String principal;
36 37
	private String docid;
37 38
	private String event;
......
46 47
	 * @param revision the revision of the document to which the event applies
47 48
	 * @param event the string code for the event
48 49
	 */
49
	public EventLogData(String ipAddress, String principal, String docid,
50
			String event) {
50
	public EventLogData(String ipAddress, String principal, String docid, String event) {
51 51
		this.ipAddress = ipAddress;
52 52
		this.principal = principal;
53 53
		this.docid = docid;
......
126 126
	public void setPrincipal(String principal) {
127 127
		this.principal = principal;
128 128
	}
129

  
130
	public String getUserAgent() {
131
		return userAgent;
132
	}
133

  
134
	public void setUserAgent(String userAgent) {
135
		this.userAgent = userAgent;
136
	}
129 137
}

Also available in: Unified diff