Skip to content

Commit

Permalink
refactor : 메서드 네이밍 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kpeel5839 committed Sep 11, 2023
1 parent 622a7fd commit e32c497
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ public static Handler getHandle(HttpRequest httpRequest) {
return handlers.get(httpRequest.getPath());
}

if (canHandleStaticPath(httpRequest.getPath())) {
if (canHandleStaticHandler(httpRequest.getPath())) {
return new StaticHandler();
}

return new ExceptionHandler(HttpStatus.NOT_FOUND);
}

private static boolean canHandleStaticPath(String path) {
private static boolean canHandleStaticHandler(String path) {
return ContentType.isExistsExtension(path);
}

Expand Down

0 comments on commit e32c497

Please sign in to comment.