Playã«ã¯ãHTTPéä¿¡ããããã®ã©ã¤ãã©ãªãç¨æããã¦ã¾ãã play.api.libs.ws.WS ã¨ãããã¤ã§ããã ããã¥ã¡ã³ãã«ãããéããããã使ãã°æéããããã§ãããHTTPéä¿¡ãéåæã«è¡ããã¨ãã§ãã¾ãã http://www.playframework-ja.org/documentation/2.0.4/ScalaWS WS ã使ã£ã¦RSSãåå¾ãã¦ã¿ã¾ããã 使ã£ãã®ã¯Play2.1.1ã§ãã GETãªã¯ã¨ã¹ããã 以ä¸ã®ããã«ãGETãªã¯ã¨ã¹ãã§ãã¾ããçµæã¯Futureã§è¿ã£ã¦ãã¾ãã val rss: Future[ws.Response] = WS.url("http://example1/atom.xml").get() Futureãåãã£ã¦ã人ã¯ããããã§çµããã§ãã ã§ããããã¯Futureãããåãã£ã¦ãªãã®ã§ã1ã¤ãã¤è§£ãã»ããã¦ããå¿ è¦ãã
{{#tags}}- {{label}}
{{/tags}}