{"provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseratch.hatenablog.jp%2Fentry%2F2013%2F08%2F13%2F153415\" title=\"CORS \u306b\u5bfe\u5fdc\u3055\u305b\u308b\u305f\u3081\u306e Servlet Filter - seratch&#39;s weblog in Japanese\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2013-08-13 15:34:15","url":"https://seratch.hatenablog.jp/entry/2013/08/13/153415","provider_url":"https://hatena.blog","categories":["Java"],"title":"CORS \u306b\u5bfe\u5fdc\u3055\u305b\u308b\u305f\u3081\u306e Servlet Filter","height":"190","author_name":"seratch2","type":"rich","blog_title":"seratch's weblog in Japanese","description":"JSON \u3092\u8fd4\u3059 API \u30b5\u30fc\u30d0\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u3092 CORS \u306b\u5bfe\u5fdc\u3055\u305b\u308b\u305f\u3081\u306e Servlet \u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u66f8\u304d\u307e\u3057\u305f\u3002\u307e\u3042\u300c\u66f8\u3044\u305f\u300d\u3068\u3044\u3046\u307b\u3069\u306e\u3082\u306e\u3067\u3082\u306a\u3044\u306e\u3067\u3059\u304c\u3002 import javax.servlet.*; import javax.servlet.http.HttpServletResponse; import java.io.IOException; public class CORSResponseFilter implements Filter { @Override public void init(FilterConfig filterConfig) throws Serv\u2026","blog_url":"https://seratch.hatenablog.jp/","author_url":"https://blog.hatena.ne.jp/seratch2/","version":"1.0","image_url":null,"width":"100%"}