{"id":775,"date":"2023-07-03T22:31:16","date_gmt":"2023-10-26T13:06:15","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/"},"modified":"2025-08-01T02:22:13","modified_gmt":"2025-07-31T17:22:13","slug":"spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/","title":{"rendered":"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3002"},"content":{"rendered":"<p>Spring Interceptor\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30c8\u3057\u3066\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u6642\u306b\u306f\u3001HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30c8\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30cf\u30f3\u30c9\u30e9\u30fc\u30e1\u30bd\u30c3\u30c9\u306b\u6e21\u3059\u524d\u306b\u51e6\u7406\u3092\u884c\u3044\u305f\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3053\u3067Spring MVC Interceptor\u304c\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<h2>\u6625\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc<\/h2>\n<p>\u79c1\u305f\u3061\u306b\u306fStruts2\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u304c\u3042\u308b\u3088\u3046\u306b\u3001org.springframework.web.servlet.HandlerInterceptor\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u5b9f\u88c5\u3059\u308b\u304b\u3001\u57fa\u672c\u7684\u306aHandlerInterceptor\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u5b9f\u88c5\u3092\u63d0\u4f9b\u3059\u308borg.springframework.web.servlet.handler.HandlerInterceptorAdapter\u306e\u62bd\u8c61\u30af\u30e9\u30b9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3059\u308b\u3053\u3068\u3067\u3001\u72ec\u81ea\u306eSpring\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30d7\u30ea\u30f3\u30b0\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc &#8211; HandlerInterceptor<\/h2>\n<p>Spring\u306eHandlerInterceptor\u306f\u3001HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u3069\u3053\u3067\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30c8\u3057\u305f\u3044\u304b\u306b\u57fa\u3065\u3044\u30663\u3064\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u5ba3\u8a00\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler): \u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u30cf\u30f3\u30c9\u30e9\u30fc\u30e1\u30bd\u30c3\u30c9\u306b\u6e21\u3055\u308c\u308b\u524d\u306b\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30c8\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u3001Spring\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5225\u306eSpring\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u3092\u4ecb\u3057\u3066\u51e6\u7406\u3059\u308b\u304b\u3001\u4ed6\u306eSpring\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u304c\u306a\u3044\u5834\u5408\u306f\u30cf\u30f3\u30c9\u30e9\u30fc\u30e1\u30bd\u30c3\u30c9\u306b\u9001\u4fe1\u3059\u308b\u305f\u3081\u306b &#8216;true&#8217; \u3092\u8fd4\u3055\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u304c &#8216;false&#8217; \u3092\u8fd4\u3059\u3068\u3001Spring\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u304cSpring\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u81ea\u4f53\u306b\u3088\u3063\u3066\u51e6\u7406\u3055\u308c\u3001\u305d\u308c\u4ee5\u4e0a\u306e\u51e6\u7406\u304c\u4e0d\u8981\u3067\u3042\u308b\u3068\u60f3\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001response\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u7528\u3057\u3066\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u8981\u6c42\u306b\u5fdc\u7b54\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Object handler\u306f\u3001\u8981\u6c42\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u9078\u629e\u3055\u308c\u305f\u30cf\u30f3\u30c9\u30e9\u30fc\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u4f8b\u5916\u3092\u30b9\u30ed\u30fc\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u305d\u306e\u5834\u5408\u306fSpring MVC\u4f8b\u5916\u51e6\u7406\u3092\u4f7f\u7528\u3057\u3066\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u3092\u5fdc\u7b54\u3068\u3057\u3066\u9001\u4fe1\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView): \u3053\u306eHandlerInterceptor\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u30e1\u30bd\u30c3\u30c9\u306f\u3001HandlerAdapter\u304c\u30cf\u30f3\u30c9\u30e9\u30fc\u3092\u547c\u3073\u51fa\u3057\u305f\u304c\u3001DispatcherServlet\u304c\u30d3\u30e5\u30fc\u3092\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u524d\u306b\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u30d3\u30e5\u30fc\u30da\u30fc\u30b8\u3067\u4f7f\u7528\u3055\u308c\u308bModelAndView\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u8ffd\u52a0\u5c5e\u6027\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u3053\u306eSpring\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30cf\u30f3\u30c9\u30e9\u30fc\u30e1\u30bd\u30c3\u30c9\u304c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51e6\u7406\u3059\u308b\u306e\u306b\u304b\u304b\u308b\u6642\u9593\u3092\u5224\u65ad\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex): \u3053\u308c\u306fHandlerInterceptor\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u30e1\u30bd\u30c3\u30c9\u3067\u3042\u308a\u3001\u30cf\u30f3\u30c9\u30e9\u30fc\u304c\u5b9f\u884c\u3055\u308c\u3001\u30d3\u30e5\u30fc\u304c\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u305f\u5f8c\u306b\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u8907\u6570\u306e\u30b9\u30d7\u30ea\u30f3\u30b0\u30fb\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001preHandle()\u30e1\u30bd\u30c3\u30c9\u306f\u8a2d\u5b9a\u306e\u9806\u5e8f\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u304c\u3001postHandle()\u304a\u3088\u3073afterCompletion()\u30e1\u30bd\u30c3\u30c9\u306f\u9006\u306e\u9806\u5e8f\u3067\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30cf\u30f3\u30c9\u30e9\u30fc\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u30ed\u30b0\u306b\u8a18\u9332\u3059\u308bSpring\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u3001\u30b7\u30f3\u30d7\u30eb\u306aSpring MVC\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002\u6700\u7d42\u7684\u306aSpring\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u306e\u4f8b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u3001\u4e0b\u306e\u30a4\u30e1\u30fc\u30b8\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u30a4\u30e1\u30fc\u30b8\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u8208\u5473\u3092\u6301\u3061\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc &#8211; \u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30af\u30e9\u30b9<\/h3>\n<pre class=\"post-pre\"><code>package com.scdev.spring;\r\n\r\nimport java.text.DateFormat;\r\nimport java.util.Date;\r\nimport java.util.Locale;\r\n\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\nimport org.springframework.stereotype.Controller;\r\nimport org.springframework.ui.Model;\r\nimport org.springframework.web.bind.annotation.RequestMapping;\r\nimport org.springframework.web.bind.annotation.RequestMethod;\r\n\r\n\/**\r\n * Handles requests for the application home page.\r\n *\/\r\n@Controller\r\npublic class HomeController {\r\n\t\r\n\tprivate static final Logger logger = LoggerFactory.getLogger(HomeController.class);\r\n\t\r\n\t@RequestMapping(value = \"\/home\", method = RequestMethod.GET)\r\n\tpublic String home(Locale locale, Model model) {\r\n\t\tlogger.info(\"Welcome home! The client locale is {}.\", locale);\r\n\t\t\/\/adding some time lag to check interceptor execution\r\n\t\ttry {\r\n\t\t\tThread.sleep(1000);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tDate date = new Date();\r\n\t\tDateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, locale);\r\n\t\t\r\n\t\tString formattedDate = dateFormat.format(date);\r\n\t\t\r\n\t\tmodel.addAttribute(\"serverTime\", formattedDate );\r\n\t\tlogger.info(\"Before returning view page\");\r\n\t\treturn \"home\";\r\n\t}\r\n\t\r\n}\r\n<\/code><\/pre>\n<p>\u79c1\u306f\u3001Spring\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30e1\u30bd\u30c3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u30cf\u30f3\u30c9\u30e9\u30e1\u30bd\u30c3\u30c9\u306e\u5b9f\u884c\u306b\u304a\u3044\u3066\u51e6\u7406\u6642\u9593\u3092\u8ffd\u52a0\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<h3>Spring MVC\u306eInterceptor &#8211; HandlerInterceptorAdapter\u306e\u5b9f\u88c5<\/h3>\n<p>\u7c21\u5358\u306b\u3059\u308b\u305f\u3081\u306b\u3001\u79c1\u306f\u62bd\u8c61\u30af\u30e9\u30b9\u3067\u3042\u308bHandlerInterceptorAdapter\u3092\u62e1\u5f35\u3057\u3066\u3044\u307e\u3059\u3002HandlerInterceptorAdapter\u306f\u3001\u4e8b\u524d\u5c02\u7528\u307e\u305f\u306f\u4e8b\u5f8c\u5c02\u7528\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u306e\u7c21\u7565\u5316\u3055\u308c\u305f\u5b9f\u88c5\u306e\u305f\u3081\u306eHandlerInterceptor\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u62bd\u8c61\u30a2\u30c0\u30d7\u30bf\u30fc\u30af\u30e9\u30b9\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>package com.scdev.spring;\r\n\r\nimport javax.servlet.http.HttpServletRequest;\r\nimport javax.servlet.http.HttpServletResponse;\r\n\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\nimport org.springframework.web.servlet.ModelAndView;\r\nimport org.springframework.web.servlet.handler.HandlerInterceptorAdapter;\r\n\r\npublic class RequestProcessingTimeInterceptor extends HandlerInterceptorAdapter {\r\n\r\n\tprivate static final Logger logger = LoggerFactory\r\n\t\t\t.getLogger(RequestProcessingTimeInterceptor.class);\r\n\r\n\t@Override\r\n\tpublic boolean preHandle(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response, Object handler) throws Exception {\r\n\t\tlong startTime = System.currentTimeMillis();\r\n\t\tlogger.info(\"Request URL::\" + request.getRequestURL().toString()\r\n\t\t\t\t+ \":: Start Time=\" + System.currentTimeMillis());\r\n\t\trequest.setAttribute(\"startTime\", startTime);\r\n\t\t\/\/if returned false, we need to make sure 'response' is sent\r\n\t\treturn true;\r\n\t}\r\n\r\n\t@Override\r\n\tpublic void postHandle(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\r\n\t\tSystem.out.println(\"Request URL::\" + request.getRequestURL().toString()\r\n\t\t\t\t+ \" Sent to Handler :: Current Time=\" + System.currentTimeMillis());\r\n\t\t\/\/we can add attributes in the modelAndView and use that in the view page\r\n\t}\r\n\r\n\t@Override\r\n\tpublic void afterCompletion(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response, Object handler, Exception ex)\r\n\t\t\tthrows Exception {\r\n\t\tlong startTime = (Long) request.getAttribute(\"startTime\");\r\n\t\tlogger.info(\"Request URL::\" + request.getRequestURL().toString()\r\n\t\t\t\t+ \":: End Time=\" + System.currentTimeMillis());\r\n\t\tlogger.info(\"Request URL::\" + request.getRequestURL().toString()\r\n\t\t\t\t+ \":: Time Taken=\" + (System.currentTimeMillis() - startTime));\r\n\t}\r\n\r\n}\r\n<\/code><\/pre>\n<p>\u30ed\u30b8\u30c3\u30af\u306f\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002\u305f\u3060\u3001\u30cf\u30f3\u30c9\u30e9\u30e1\u30bd\u30c3\u30c9\u306e\u5b9f\u884c\u6642\u9593\u3068\u30d3\u30e5\u30fc\u30da\u30fc\u30b8\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3092\u542b\u3080\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u51e6\u7406\u306b\u304b\u304b\u308b\u7dcf\u6642\u9593\u3092\u8a18\u9332\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<h3>Spring MVC\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u306e\u8a2d\u5b9a<\/h3>\n<p>\u79c1\u305f\u3061\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u3092\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3059\u3079\u3066\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u3092\u30ef\u30a4\u30e4\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306b\u3001mvc:interceptors\u8981\u7d20\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u30de\u30c3\u30d4\u30f3\u30b0\u8981\u7d20\u3092\u901a\u3058\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u3092\u542b\u3081\u308b\u524d\u306b\u3001URI\u30d1\u30bf\u30fc\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u6700\u7d42\u7684\u306aSpring\u306e\u30d3\u30fc\u30f3\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08spring.xml\uff09\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n&lt;beans:beans xmlns=\"https:\/\/www.springframework.org\/schema\/mvc\"\r\n\txmlns:xsi=\"https:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:beans=\"https:\/\/www.springframework.org\/schema\/beans\"\r\n\txmlns:context=\"https:\/\/www.springframework.org\/schema\/context\"\r\n\txsi:schemaLocation=\"https:\/\/www.springframework.org\/schema\/mvc https:\/\/www.springframework.org\/schema\/mvc\/spring-mvc.xsd\r\n\t\thttps:\/\/www.springframework.org\/schema\/beans https:\/\/www.springframework.org\/schema\/beans\/spring-beans.xsd\r\n\t\thttps:\/\/www.springframework.org\/schema\/context https:\/\/www.springframework.org\/schema\/context\/spring-context.xsd\"&gt;\r\n\r\n\t&lt;!-- DispatcherServlet Context: defines this servlet's request-processing \r\n\t\tinfrastructure --&gt;\r\n\r\n\t&lt;!-- Enables the Spring MVC @Controller programming model --&gt;\r\n\t&lt;annotation-driven \/&gt;\r\n\r\n\t&lt;!-- Handles HTTP GET requests for \/resources\/** by efficiently serving \r\n\t\tup static resources in the ${webappRoot}\/resources directory --&gt;\r\n\t&lt;resources mapping=\"\/resources\/**\" location=\"\/resources\/\" \/&gt;\r\n\r\n\t&lt;!-- Resolves views selected for rendering by @Controllers to .jsp resources \r\n\t\tin the \/WEB-INF\/views directory --&gt;\r\n\t&lt;beans:bean\r\n\t\tclass=\"org.springframework.web.servlet.view.InternalResourceViewResolver\"&gt;\r\n\t\t&lt;beans:property name=\"prefix\" value=\"\/WEB-INF\/views\/\" \/&gt;\r\n\t\t&lt;beans:property name=\"suffix\" value=\".jsp\" \/&gt;\r\n\t&lt;\/beans:bean&gt;\r\n\r\n\t&lt;!-- Configuring interceptors based on URI --&gt;\r\n\t&lt;interceptors&gt;\r\n\t\t&lt;interceptor&gt;\r\n\t\t\t&lt;mapping path=\"\/home\" \/&gt;\r\n\t\t\t&lt;beans:bean class=\"com.scdev.spring.RequestProcessingTimeInterceptor\"&gt;&lt;\/beans:bean&gt;\r\n\t\t&lt;\/interceptor&gt;\r\n\t&lt;\/interceptors&gt;\r\n\r\n\t&lt;context:component-scan base-package=\"com.scdev.spring\" \/&gt;\r\n\r\n&lt;\/beans:beans&gt;\r\n<\/code><\/pre>\n<p>\u4ed6\u306e\u5168\u3066\u306e\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3064\u3044\u3066\u306f\u8aac\u660e\u3057\u307e\u305b\u3093\u3002\u8208\u5473\u304c\u306a\u304f\u3001\u7279\u5b9a\u306eSpring\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u95a2\u9023\u306e\u8a2d\u5b9a\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3>Spring MVC \u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30c6\u30b9\u30c8<\/h3>\n<p>\u30b5\u30fc\u30d6\u30ec\u30c3\u30c8\u30b3\u30f3\u30c6\u30ca\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5c55\u958b\u3057\u3001\u30db\u30fc\u30e0\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3092\u547c\u3073\u51fa\u3059\u3060\u3051\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30ed\u30b0\u51fa\u529b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>INFO : com.scdev.spring.RequestProcessingTimeInterceptor - Request URL::https:\/\/localhost:9090\/SpringInterceptors\/home:: Start Time=1396906442086\r\nINFO : com.scdev.spring.HomeController - Welcome home! The client locale is en_US.\r\nINFO : com.scdev.spring.HomeController - Before returning view page\r\nRequest URL::https:\/\/localhost:9090\/SpringInterceptors\/home Sent to Handler :: Current Time=1396906443098\r\nINFO : com.scdev.spring.RequestProcessingTimeInterceptor - Request URL::https:\/\/localhost:9090\/SpringInterceptors\/home:: End Time=1396906443171\r\nINFO : com.scdev.spring.RequestProcessingTimeInterceptor - Request URL::https:\/\/localhost:9090\/SpringInterceptors\/home:: Time Taken=1085\r\n<\/code><\/pre>\n<p>\u51fa\u529b\u306f\u3001\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u30e1\u30bd\u30c3\u30c9\u304c\u5b9a\u7fa9\u3055\u308c\u305f\u9806\u5e8f\u3067\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3067\u30b9\u30d7\u30ea\u30f3\u30b0\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u306e\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0a\u3067\u3059\u3002\u4e0b\u8a18\u306e\u30ea\u30f3\u30af\u304b\u3089Spring\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u306e\u4f8b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001\u8907\u6570\u306e\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30bf\u30fc\u3092\u6301\u3063\u3066\u3044\u3066\u7570\u306a\u308b\u8a2d\u5b9a\u9806\u5e8f\u3067\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Spring Interceptors \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spring Interceptor\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30c8\u3057\u3066\u51e6\u7406\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u6642\u306b\u306f\u3001HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30c8\u3057\u3066\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u30cf\u30f3\u30c9\u30e9\u30fc\u30e1\u30bd\u30c3\u30c9\u306b\u6e21\u3059\u524d\u306b\u51e6\u7406\u3092\u884c\u3044\u305f\u3044\u5834\u5408 [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-775","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3002 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-\u306e-interceptor-\u3067\u3042\u308b-handlerinterceptoradapter-\u306e\u4f7f\u7528\u4f8b\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3002\" \/>\n<meta property=\"og:description\" content=\"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-\u306e-interceptor-\u3067\u3042\u308b-handlerinterceptoradapter-\u306e\u4f7f\u7528\u4f8b\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-26T13:06:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T17:22:13+00:00\" \/>\n<meta name=\"author\" content=\"\u512a\u6597, \u671d\u967d\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u512a\u6597, \u671d\u967d\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"20\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/\",\"name\":\"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3002 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-10-26T13:06:15+00:00\",\"dateModified\":\"2025-07-31T17:22:13+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28\"},\"description\":\"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3002\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28\",\"name\":\"\u512a\u6597, \u671d\u967d\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"caption\":\"\u512a\u6597, \u671d\u967d\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3002 - Blog - Silicon Cloud","description":"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-\u306e-interceptor-\u3067\u3042\u308b-handlerinterceptoradapter-\u306e\u4f7f\u7528\u4f8b\u3002\/","og_locale":"ja_JP","og_type":"article","og_title":"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3002","og_description":"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-\u306e-interceptor-\u3067\u3042\u308b-handlerinterceptoradapter-\u306e\u4f7f\u7528\u4f8b\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-10-26T13:06:15+00:00","article_modified_time":"2025-07-31T17:22:13+00:00","author":"\u512a\u6597, \u671d\u967d","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u512a\u6597, \u671d\u967d","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"20\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/","name":"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3002 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-10-26T13:06:15+00:00","dateModified":"2025-07-31T17:22:13+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28"},"description":"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Spring MVC \u306e Interceptor \u3067\u3042\u308b HandlerInterceptorAdapter \u306e\u4f7f\u7528\u4f8b\u3002"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28","name":"\u512a\u6597, \u671d\u967d","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","caption":"\u512a\u6597, \u671d\u967d"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/spring-mvc-%e3%81%ae-interceptor-%e3%81%a7%e3%81%82%e3%82%8b-handlerinterceptoradapter-%e3%81%ae%e4%bd%bf%e7%94%a8%e4%be%8b%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=775"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/775\/revisions"}],"predecessor-version":[{"id":44864,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/775\/revisions\/44864"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}