@@ -62,7 +62,7 @@ public String createSession(Map<String, Collection<String>> params) {
62
62
public String getArchive (String archiveId ) {
63
63
String responseString = null ;
64
64
Future <Response > request = null ;
65
- String url = this .apiUrl + "/v2/partner/" + this .apiKey + "/archive/" + archiveId ;
65
+ String url = this .apiUrl + "/v2/partner/" + this .apiKey + "/archive/" + archiveId ;
66
66
67
67
try {
68
68
request = this .prepareGet (url ).execute ();
@@ -93,7 +93,7 @@ public String getArchives(int offset, int count) {
93
93
String responseString = null ;
94
94
Future <Response > request = null ;
95
95
// TODO: maybe use a StringBuilder?
96
- String url = this .apiUrl + "/v2/partner/" + this .apiKey + "/archive" ;
96
+ String url = this .apiUrl + "/v2/partner/" + this .apiKey + "/archive" ;
97
97
if (offset != 0 || count != 1000 ) {
98
98
url += "?" ;
99
99
if (offset != 0 ) {
@@ -134,7 +134,7 @@ public String startArchive(String sessionId, String name) {
134
134
Future <Response > request = null ;
135
135
String requestBody = null ;
136
136
// TODO: maybe use a StringBuilder?
137
- String url = this .apiUrl + "/v2/partner/" + this .apiKey + "/archive" ;
137
+ String url = this .apiUrl + "/v2/partner/" + this .apiKey + "/archive" ;
138
138
139
139
ObjectMapper mapper = new ObjectMapper ();
140
140
HashMap <String , String > jsonBody = new HashMap <String , String >();
@@ -179,7 +179,7 @@ public String stopArchive(String archiveId) {
179
179
String responseString = null ;
180
180
Future <Response > request = null ;
181
181
// TODO: maybe use a StringBuilder?
182
- String url = this .apiUrl + "/v2/partner/" + this .apiKey + "/archive/stop" ;
182
+ String url = this .apiUrl + "/v2/partner/" + this .apiKey + "/archive/stop" ;
183
183
184
184
try {
185
185
request = this .preparePost (url ).execute ();
@@ -208,7 +208,7 @@ public String stopArchive(String archiveId) {
208
208
public String deleteArchive (String archiveId ) {
209
209
String responseString = null ;
210
210
Future <Response > request = null ;
211
- String url = this .apiUrl + "/v2/partner/" + this .apiKey + "/archive/" + archiveId ;
211
+ String url = this .apiUrl + "/v2/partner/" + this .apiKey + "/archive/" + archiveId ;
212
212
213
213
try {
214
214
request = this .prepareDelete (url ).execute ();
0 commit comments