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
|
public class RemoteExecutionTimestampsUtil {
|
16
|
|
17
|
protected static String lastRequestClientTime = null;
|
18
|
|
19
|
protected static String lastResponseHeaderTime = null;
|
20
|
|
21
|
protected static String lastServiceMethod = null;
|
22
|
|
23
|
public RemoteExecutionTimestampsUtil() {
|
24
|
|
25
|
}
|
26
|
|
27
|
static public String getLastRequestClientTime() {
|
28
|
return lastRequestClientTime;
|
29
|
}
|
30
|
|
31
|
static public void setLastRequestClientTime(String time) {
|
32
|
lastRequestClientTime = time;
|
33
|
}
|
34
|
|
35
|
static public String getLastResponseHttpHeaderTime() {
|
36
|
return lastResponseHeaderTime;
|
37
|
}
|
38
|
|
39
|
static public void setLastResponseHttpHeaderTime(String time) {
|
40
|
lastResponseHeaderTime = time;
|
41
|
}
|
42
|
|
43
|
static public String getLastServiceMethod() {
|
44
|
return lastServiceMethod;
|
45
|
}
|
46
|
|
47
|
static public void setLastServiceMethod(String lastMethod) {
|
48
|
lastServiceMethod = lastMethod;
|
49
|
}
|
50
|
}
|