[코드 정리]

This commit is contained in:
2025-08-27 16:30:30 +09:00
parent 92be6caf80
commit b0398fccee

View File

@@ -42,23 +42,4 @@ public class HttpUtils {
return ip; 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 "";
}
} }