<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>excite-takayuki-miura</author_name>
  <author_url>https://blog.hatena.ne.jp/excite-takayuki-miura/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
  </categories>
  <description>こんにちは。 エキサイト株式会社の三浦です。 Spring BootのAPI等で空のクエリパラメータを受け取るとき、受け取り側の型や「空」の指定方法によって取得される値が違うことはご存知でしょうか？ 今回は、その違いについて紹介していきます。 Spring Bootとクエリパラメータ 通常URLでクエリパラメータをつける時は、以下のようにします。 https://sample/?query1=test これをSpring Bootで受け取る際は、 import lombok.Value; @Value public class SampleRequestModel { String query…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2022%2F02%2F28%2F121622&quot; title=&quot;Spring Bootで、文字列型の空クエリパラメータを受け取るときの注意点 - エキサイト TechBlog.&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-02-28 12:16:22</published>
  <title>Spring Bootで、文字列型の空クエリパラメータを受け取るときの注意点</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2022/02/28/121622</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
