Please sign in to comment.
Added Javadocs and updated README.
- Loading branch information...
Showing with 201 additions and 8 deletions.
- +12 −1 README
- +21 −0 pom.xml
- +6 −0 src/main/java/com/comcast/cim/rest/client/xhtml/RelationNotFoundException.java
- +39 −1 src/main/java/com/comcast/cim/rest/client/xhtml/RequestBuilder.java
- +8 −1 src/main/java/com/comcast/cim/rest/client/xhtml/ServerErrorException.java
- +10 −0 src/main/java/com/comcast/cim/rest/client/xhtml/XhtmlApplicationState.java
- +13 −2 src/main/java/com/comcast/cim/rest/client/xhtml/XhtmlHttpClient.java
- +38 −0 src/main/java/com/comcast/cim/rest/client/xhtml/XhtmlNavigator.java
- +54 −3 src/main/java/com/comcast/cim/rest/client/xhtml/XhtmlParser.java
|@@ -1 +1,12 @@|
|-Initial README for project skeleton.|
|+This library provides a foundation for building XHTML hypermedia API|
|+clients. The major notion of a hypermedia API is that clients start from|
|+a known entry-point URL and proceed to use the API by following links and|
|+submitting forms--exactly the way humans do when they use the web. This|
|+style of API provides a lot of server-side flexibility in terms of|
|+controlling its own URL space, since clients never construct URLs|
|+themselves. Instead, clients construct their HTTP requests by following the|
|+existing, standardized semantics for HTTP <a> and <form> elements, which|
|+means the mechanisms for those requests are under the server's control.|
|+See also the "Hypermedia APIs" talk given by Jon Moore at Øredev 2010:|