From b0398fccee96753a4594b026c6581bb08cb18360 Mon Sep 17 00:00:00 2001 From: sohot8653 Date: Wed, 27 Aug 2025 16:30:30 +0900 Subject: [PATCH] =?UTF-8?q?[=EC=BD=94=EB=93=9C=20=EC=A0=95=EB=A6=AC]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bio_backend/global/utils/HttpUtils.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/main/java/com/bio/bio_backend/global/utils/HttpUtils.java b/src/main/java/com/bio/bio_backend/global/utils/HttpUtils.java index 3ed5764..02bf310 100644 --- a/src/main/java/com/bio/bio_backend/global/utils/HttpUtils.java +++ b/src/main/java/com/bio/bio_backend/global/utils/HttpUtils.java @@ -42,23 +42,4 @@ public class HttpUtils { return ip; } - - public String getUri() { - HttpServletRequest request = - ((ServletRequestAttributes)RequestContextHolder.currentRequestAttributes()).getRequest(); - - return request.getRequestURI(); - } - - public String getResponseType(String contentType) { - if(contentType == null) { - return ""; - } else if(contentType.contains("text/html")) { - return "PAGE"; - } else if (contentType.contains("application/json")) { - return "API"; - }; - - return ""; - } }