<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>satob</author_name>
  <author_url>https://blog.hatena.ne.jp/satob/</author_url>
  <blog_title>Lazy Diary @ Hatena Blog</blog_title>
  <blog_url>https://satob.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>Spring Boot 2.7.0で組み込みTomcatでアプリケーションを起動した場合、ファイルダウンロードがブラウザから中断（キャンセル）されるとClientAbortExceptionが発生する。 以前はSocketExceptionが発生していたように思うのですが、Servletコンテナによって挙動が違うのかな？ @RequestMapping(&quot;/testDownload&quot;) String download(HttpServletResponse response) throws InterruptedException { try (OutputStream os = respon…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsatob.hatenablog.com%2Fentry%2F2022%2F08%2F19%2F233606&quot; title=&quot;ファイルダウンロードを中断すると何が起こるか - Lazy Diary @ Hatena Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-08-19 23:36:06</published>
  <title>ファイルダウンロードを中断すると何が起こるか</title>
  <type>rich</type>
  <url>https://satob.hatenablog.com/entry/2022/08/19/233606</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
