summaryrefslogtreecommitdiffstats
path: root/prh-aai-client/src/main/java/services/utils/HttpUtils.java
diff options
context:
space:
mode:
authorpwielebs <piotr.wielebski@nokia.com>2018-04-03 12:12:43 +0200
committerpwielebs <piotr.wielebski@nokia.com>2018-04-09 15:01:40 +0200
commit9725138e6882182c50cbac79ace5d66774a17619 (patch)
tree7213ff0ebf74533306a16f85e9d8a4ee99390d96 /prh-aai-client/src/main/java/services/utils/HttpUtils.java
parent6930f1f6540273cbdfe325e5f77dcbb4960fd9f3 (diff)
Http put added
Change-Id: Id21b799a35b531c30f0c1b5df5c6daac6fd56e92 Issue-ID: DCAEGEN2-407 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Diffstat (limited to 'prh-aai-client/src/main/java/services/utils/HttpUtils.java')
-rw-r--r--prh-aai-client/src/main/java/services/utils/HttpUtils.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/prh-aai-client/src/main/java/services/utils/HttpUtils.java b/prh-aai-client/src/main/java/services/utils/HttpUtils.java
deleted file mode 100644
index d4d5c880..00000000
--- a/prh-aai-client/src/main/java/services/utils/HttpUtils.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * PNF-REGISTRATION-HANDLER
- * ================================================================================
- * Copyright (C) 2018 NOKIA Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-package services.utils;
-
-import org.apache.http.HttpStatus;
-
-public class HttpUtils implements HttpStatus {
-
- private HttpUtils() {}
-
- public static final String JSON_APPLICATION_TYPE = "application/json";
-
- public static boolean isSuccessfulResponseCode(Integer statusCode) {
- return statusCode >= 200 && statusCode < 300;
- }
-}