/*
* Copyright 2014-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.rockagen.gnext.po.nosql;
import java.util.Date;
import java.util.Map;
/**
* Request log
*
* @author ra
* @since JDK1.8
*/
public class AccessLog {
private String id;
private String ip;
private Date timeAt;
private String method;
private String url;
private String userAgent;
private String referer;
private Map params;
public Map getParams() {
return params;
}
public void setParams(Map params) {
this.params = params;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public Date getTimeAt() {
return timeAt;
}
public void setTimeAt(Date timeAt) {
this.timeAt = timeAt;
}
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getUserAgent() {
return userAgent;
}
public void setUserAgent(String userAgent) {
this.userAgent = userAgent;
}
public String getReferer() {
return referer;
}
public void setReferer(String referer) {
this.referer = referer;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}