com.jalios.rest.client
Class RestQuery

java.lang.Object
  extended by com.jalios.rest.client.RestQuery

public class RestQuery
extends Object


Constructor Summary
RestQuery(ClientSession session, org.restlet.data.Reference reference)
           
RestQuery(ClientSession session, String resourcePath)
           
 
Method Summary
 org.restlet.data.Response delete()
           
 JcmsResource get()
           
 org.restlet.data.Response post()
           
 RestQuery setAuthentication(Authentication authentication)
           
 RestQuery setForm(org.restlet.data.Form form)
           
 RestQuery setParam(String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestQuery

public RestQuery(ClientSession session,
                 String resourcePath)

RestQuery

public RestQuery(ClientSession session,
                 org.restlet.data.Reference reference)
Method Detail

setParam

public RestQuery setParam(String key,
                          String value)

setForm

public RestQuery setForm(org.restlet.data.Form form)

setAuthentication

public RestQuery setAuthentication(Authentication authentication)

get

public JcmsResource get()
                 throws RestException
Throws:
RestException

post

public org.restlet.data.Response post()

delete

public org.restlet.data.Response delete()


Copyright © 2001-2007 Jalios SA. All Rights Reserved.