翻訳と辞書
Words near each other
・ Hatem Ghaeb
・ Hatem Ghoula
・ Hatem Kamil
・ Hatem Mersal
・ Hatem Qafisha
・ Hatem Saber
・ Hatem Trabelsi
・ Hatem Yassen
・ Hatena
・ Hatena (company)
・ Hatena arenicola
・ Hatena Satena
・ Hatenai Sora
・ Hatenaki Michi
・ Hatenaku Tsuzuku Story
HATEOAS
・ Hatepe eruption
・ Hatepinks
・ Hatepuna
・ Hater
・ Hater (album)
・ Hater (band)
・ Hater (Internet)
・ Hater (Korn song)
・ Haters (novel)
・ Haters (So Solid Crew song)
・ Haters (Tony Yayo song)
・ Hatert
・ Hateruma
・ Hateruma Airport


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

HATEOAS : ウィキペディア英語版
HATEOAS
HATEOAS, an abbreviation for Hypermedia as the Engine of Application State, is a constraint of the REST application architecture that distinguishes it from most other network application architectures. The principle is that a client interacts with a network application entirely through hypermedia provided dynamically by application servers. A REST client needs no prior knowledge about how to interact with any particular application or server beyond a generic understanding of hypermedia. By contrast, in some service-oriented architectures (SOA), clients and servers interact through a fixed interface shared through documentation or an interface description language (IDL).
The HATEOAS constraint decouples client and server in a way that allows the server functionality to evolve independently.
== Details ==
A REST client enters a REST application through a simple fixed URL. All future actions the client may take are discovered within resource representations returned from the server. The media types used for these representations, and the link relations they may contain, are standardized. The client transitions through application states by selecting from the links within a representation or by manipulating the representation in other ways afforded by its media type. In this way, RESTful interaction is driven by hypermedia, rather than out-of-band information.〔
For example 〔("The RESTful CookBook" )〕 here is a GET request to fetch an Account resource, requesting details in an XML representation:

GET /account/12345 HTTP/1.1
Host: somebank.org
Accept: application/xml
...

Here is the response:

HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: ...


12345
100.00






Note the response contains 4 possible follow-up links - to make a deposit, a withdrawal, a transfer or to close the account.
Some time later the account information is retrieved again, but now the account is overdrawn:

HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: ...


12345
-25.00



Now only one link is available: to deposit more money. In its current ''state'', the other links are not available. Hence the term ''Engine of Application State''. What actions are possible vary as the state of the resource varies.
A client does not need to understand every media type and communication mechanism offered by the server. The ability to understand new media types can be acquired at run-time through "code-on-demand" provided to the client by the server.〔

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「HATEOAS」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.