1
|
/**
|
2
|
* Copyright (C) 2020 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.taxeditor.remoting;
|
10
|
|
11
|
/**
|
12
|
* @author a.kohlbecker
|
13
|
* @since Jan 17, 2020
|
14
|
*
|
15
|
*/
|
16
|
public class RemoteExecutionTimestampsUtil {
|
17
|
|
18
|
protected static String lastRequestClientTime = null;
|
19
|
|
20
|
protected static String lastResponseHeaderTime = null;
|
21
|
|
22
|
protected static String lastServiceMethod = null;
|
23
|
|
24
|
public RemoteExecutionTimestampsUtil() {
|
25
|
|
26
|
}
|
27
|
|
28
|
static public String getLastRequestClientTime() {
|
29
|
return lastRequestClientTime;
|
30
|
}
|
31
|
|
32
|
static public void setLastRequestClientTime(String time) {
|
33
|
lastRequestClientTime = time;
|
34
|
}
|
35
|
|
36
|
static public String getLastResponseHttpHeaderTime() {
|
37
|
return lastResponseHeaderTime;
|
38
|
}
|
39
|
|
40
|
static public void setLastResponseHttpHeaderTime(String time) {
|
41
|
lastResponseHeaderTime = time;
|
42
|
}
|
43
|
|
44
|
static public String getLastServiceMethod() {
|
45
|
return lastServiceMethod;
|
46
|
}
|
47
|
|
48
|
static public void setLastServiceMethod(String lastMethod) {
|
49
|
lastServiceMethod = lastMethod;
|
50
|
}
|
51
|
|
52
|
}
|