diff options
Diffstat (limited to 'ResmanagementService')
2 files changed, 6 insertions, 4 deletions
diff --git a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpBaseRest.java b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpBaseRest.java index 9cc832f..c962bdc 100644 --- a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpBaseRest.java +++ b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpBaseRest.java @@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory; * <br/> * <p> * </p> - * + * * @author * @version Aug 9, 2016 */ @@ -49,7 +49,7 @@ public abstract class HttpBaseRest implements Restful { protected HttpClient client = null; - private static final String LOCAL_HOST = "127.0.0.1"; + private static final String LOCAL_HOST = "127.0.0.1"; // NOSONAR static final String HTTP_PATCH = "PATCH"; @@ -65,7 +65,7 @@ public abstract class HttpBaseRest implements Restful { * Constructor<br/> * <p> * </p> - * + * * @since */ public HttpBaseRest() { @@ -135,7 +135,7 @@ public abstract class HttpBaseRest implements Restful { /** * <br/> - * + * * @param method * @param servicePath * @param restParametes diff --git a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java index 66b8f5f..4d1ff69 100644 --- a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java +++ b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/HttpsRest.java @@ -188,6 +188,8 @@ public class HttpsRest extends HttpBaseRest { } } catch(InterruptedException e) { LOG.error("InterruptedException", e); + // Restore interrupted state... + Thread.currentThread().interrupt(); } catch(UnsupportedEncodingException e) { LOG.error("UnsupportedEncodingException", e); } |