|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.ws.rest.samples.XMLBookService
public class XMLBookService
Simple service for REST demo.
| Constructor Summary | |
|---|---|
XMLBookService(BookStorage books)
Constructs new instance of XMLBookService. |
|
| Method Summary | |
|---|---|
Response |
get(String key)
Return request with XML body which represent Book object. |
Response |
get2(String key)
Return request with HTML body which represent Book object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLBookService(BookStorage books)
books - BookStorage.| Method Detail |
|---|
public Response get(String key)
key - the key.
Response .public Response get2(String key)
key - the key.
Response .
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||