public class MessageBoardResourceBean extends Object
| Constructor and Description |
|---|
MessageBoardResourceBean() |
| Modifier and Type | Method and Description |
|---|---|
Response |
addMessage(String msg) |
void |
deleteMessage(int msgNum) |
Message |
getMessage(int msgNum) |
List<Message> |
getMessages()
Returns a list of all messages stored in the internal message holder.
|
public List<Message> getMessages()
public Response addMessage(String msg) throws URISyntaxException
URISyntaxException@Path(value="{msgNum}") public void deleteMessage(int msgNum) throws NotFoundException
NotFoundExceptionCopyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.