1 /*
2  * Zed Attack Proxy (ZAP) and its related class files.
3  *
4  * ZAP is an HTTP/HTTPS proxy for assessing web application security.
5  *
6  * Copyright 2011 The ZAP Development Team
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *     http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 package org.parosproxy.paros.db;
21 
22 public class RecordSessionUrl {
23 
24     public static final int TYPE_EXCLUDE_FROM_PROXY = 1;
25     public static final int TYPE_EXCLUDE_FROM_SCAN = 2;
26     public static final int TYPE_EXCLUDE_FROM_SPIDER = 3;
27     public static final int TYPE_EXCLUDE_FROM_SCOPE = 4;
28     public static final int TYPE_INCLUDE_IN_SCOPE = 5;
29     public static final int TYPE_EXCLUDE_FROM_WEBSOCKET = 6;
30 
31     private long urlId = 0;
32     private int type = 0;
33     private String url = "";
34 
RecordSessionUrl(long urlId, int type, String url)35     public RecordSessionUrl(long urlId, int type, String url) {
36         super();
37         this.urlId = urlId;
38         this.type = type;
39         this.url = url;
40     }
41 
getUrlId()42     public long getUrlId() {
43         return urlId;
44     }
45 
setUrlId(long urlId)46     public void setUrlId(long urlId) {
47         this.urlId = urlId;
48     }
49 
getType()50     public int getType() {
51         return type;
52     }
53 
setType(int type)54     public void setType(int type) {
55         this.type = type;
56     }
57 
getUrl()58     public String getUrl() {
59         return url;
60     }
61 
setUrl(String url)62     public void setUrl(String url) {
63         this.url = url;
64     }
65 }
66