org.silvermoon.moonglow.common
Class Response

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--org.silvermoon.moonglow.common.Response
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class Response
extends java.util.HashMap

Encapsulates a response from a Plugin to the Client, basically containing a list of results Items (ItemList)

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Constructor Summary
Response()
           
Response(ItemList items)
           
 
Method Summary
 void addResponse(Response response)
          Append another response to this one
 ItemList getItems()
          Get the parsed ItemList
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

Response

public Response()

Response

public Response(ItemList items)
Method Detail

getItems

public ItemList getItems()
Get the parsed ItemList


addResponse

public void addResponse(Response response)
Append another response to this one