try {
client.start();
} catch(Exception e) {
+ LOG.error("Exception", e);
e.printStackTrace();
}
}
try {
client.send(exchange);
} catch(IOException e) {
+ LOG.error("IOException", e);
e.printStackTrace();
}
try {
"request is expierd: " + RestHttpContentExchange.toState(HttpExchange.STATUS_EXPIRED));
}
} catch(InterruptedException e) {
+ LOG.error("InterruptedException", e);
e.printStackTrace();
} catch(UnsupportedEncodingException e) {
+ LOG.error("UnsupportedEncodingException", e);
e.printStackTrace();
}
return null;
try {
client.send(exchange);
} catch(IOException e) {
+ LOG.error("IOException", e);
e.printStackTrace();
}
"request is expierd: " + RestHttpContentExchange.toState(HttpExchange.STATUS_EXPIRED));
}
} catch(InterruptedException e) {
+ LOG.error("InterruptedException", e);
e.printStackTrace();
} catch(UnsupportedEncodingException e) {
+ LOG.error("UnsupportedEncodingException", e);
e.printStackTrace();
}
return null;
try {
client.send(exchange);
} catch(IOException e) {
+ LOG.error("IOException", e);
e.printStackTrace();
}
"request is expierd: " + RestHttpContentExchange.toState(HttpExchange.STATUS_EXPIRED));
}
} catch(InterruptedException e) {
+ LOG.error("InterruptedException", e);
e.printStackTrace();
} catch(UnsupportedEncodingException e) {
+ LOG.error("InterruptedException", e);
e.printStackTrace();
}
return null;