fix compile
This commit is contained in:
parent
42ef5a04aa
commit
f26b1945ad
1 changed files with 6 additions and 6 deletions
|
@ -295,11 +295,11 @@ public class HTTPClientBot {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
final ResponseEntity<Object> exchange = this.restTemplate.exchange(
|
final ResponseEntity<String> exchange = this.restTemplate.exchange(
|
||||||
this.handshakeURI,
|
this.handshakeURI,
|
||||||
HttpMethod.PUT,
|
HttpMethod.PUT,
|
||||||
configHeader,
|
configHeader,
|
||||||
new ParameterizedTypeReference<>() {
|
new ParameterizedTypeReference<String>() {
|
||||||
});
|
});
|
||||||
|
|
||||||
final HttpStatus statusCode = exchange.getStatusCode();
|
final HttpStatus statusCode = exchange.getStatusCode();
|
||||||
|
@ -323,7 +323,7 @@ public class HTTPClientBot {
|
||||||
this.pingURI,
|
this.pingURI,
|
||||||
HttpMethod.POST,
|
HttpMethod.POST,
|
||||||
pingHeader,
|
pingHeader,
|
||||||
new ParameterizedTypeReference<>() {
|
new ParameterizedTypeReference<String>() {
|
||||||
});
|
});
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -340,7 +340,7 @@ public class HTTPClientBot {
|
||||||
this.eventURI,
|
this.eventURI,
|
||||||
HttpMethod.POST,
|
HttpMethod.POST,
|
||||||
eventHeader,
|
eventHeader,
|
||||||
new ParameterizedTypeReference<>() {
|
new ParameterizedTypeReference<String>() {
|
||||||
});
|
});
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -359,11 +359,11 @@ public class HTTPClientBot {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
final ResponseEntity<Object> exchange = this.restTemplate.exchange(
|
final ResponseEntity<String> exchange = this.restTemplate.exchange(
|
||||||
this.handshakeURI,
|
this.handshakeURI,
|
||||||
HttpMethod.DELETE,
|
HttpMethod.DELETE,
|
||||||
configHeader,
|
configHeader,
|
||||||
new ParameterizedTypeReference<>() {
|
new ParameterizedTypeReference<String>() {
|
||||||
});
|
});
|
||||||
|
|
||||||
final HttpStatus statusCode = exchange.getStatusCode();
|
final HttpStatus statusCode = exchange.getStatusCode();
|
||||||
|
|
Loading…
Reference in a new issue