org.opentox.pol
Class Rest

Package class diagram package Rest
java.lang.Object
  extended by org.opentox.pol.Rest

public class Rest
extends Object


Field Summary
 URLConnection c
           
 
Constructor Summary
Rest()
           
 
Method Summary
 void Connect(URL u)
           
 HttpReturn DoIdCall(String subjectid)
           
 HttpReturn LogOut(String subjectid)
           
 void Send(HttpURLConnection urlc, String data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

c

public URLConnection c
Constructor Detail

Rest

public Rest()
     throws RestException
Throws:
RestException
Method Detail

Connect

public void Connect(URL u)
             throws IOException
Throws:
IOException

Send

public void Send(HttpURLConnection urlc,
                 String data)
          throws RestException
Throws:
RestException

DoIdCall

public HttpReturn DoIdCall(String subjectid)
                    throws RestException
Throws:
RestException

LogOut

public HttpReturn LogOut(String subjectid)


Copyright © 2010-2011 OpenTox project. All Rights Reserved.