uk.org.ury.client
Class Client

java.lang.Object
  extended by uk.org.ury.client.Client

public class Client
extends java.lang.Object


Constructor Summary
Client()
           
 
Method Summary
 java.util.Map<?,?> get(java.lang.String file)
          Get a raw response from the server.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Client

public Client()
Method Detail

get

public java.util.Map<?,?> get(java.lang.String file)
                       throws DecodeFailureException
Get a raw response from the server.

Parameters:
file - The "file", including path and query string, to fetch from the server.
Returns:
The response from the server, as a key-value map.
Throws:
DecodeFailureException - if the decode failed.