org.apache.isis.viewer.xhtml.applib
Class AbstractRestfulClient

java.lang.Object
  extended by org.apache.isis.viewer.xhtml.applib.AbstractRestfulClient

public abstract class AbstractRestfulClient
extends Object


Constructor Summary
AbstractRestfulClient(String hostUri)
           
 
Method Summary
protected static String combine(String... pathParts)
           
 org.jdom.Document get(String uri)
           
 String getHostUri()
           
 org.jdom.Document post(String uri, String... paramArgs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRestfulClient

public AbstractRestfulClient(String hostUri)
Method Detail

getHostUri

public String getHostUri()

get

public org.jdom.Document get(String uri)
                      throws RestfulClientException
Throws:
RestfulClientException

post

public org.jdom.Document post(String uri,
                              String... paramArgs)

combine

protected static String combine(String... pathParts)


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.