restart.client
Class RestClient

java.lang.Object
  extended by restart.client.RestClient
Direct Known Subclasses:
XMLRestClient

public class RestClient
extends java.lang.Object

Author:
Thibault Ducray

Constructor Summary
RestClient(CallData serviceCaller)
           
 
Method Summary
 void call()
           
 ServiceResult getResult()
           
 ServiceResult read()
          Deprecated. Use getResult() instead
 void write()
          Deprecated. Use call() instead
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestClient

public RestClient(CallData serviceCaller)
Method Detail

write

public void write()
           throws java.io.IOException
Deprecated. Use call() instead

Throws:
java.io.IOException

call

public void call()
          throws java.io.IOException
Throws:
java.io.IOException

read

public ServiceResult read()
                   throws java.io.IOException
Deprecated. Use getResult() instead

Throws:
java.io.IOException

getResult

public ServiceResult getResult()
                        throws java.io.IOException
Throws:
java.io.IOException