Groovy Documentation

griffon.plugins.rest
[Java] Class AbstractRestProvider

java.lang.Object
  griffon.plugins.rest.AbstractRestProvider
All Implemented Interfaces:
RestProvider

public abstract class AbstractRestProvider
extends Object

Authors:
Andres Almiray


Constructor Summary
AbstractRestProvider()

 
Method Summary
protected groovyx.net.http.AsyncHTTPBuilder getAsyncHttpClient(Map params)

protected groovyx.net.http.HTTPBuilder getHttpClient(Map params)

protected groovyx.net.http.RESTClient getRestClient(Map params)

R withAsyncHttp(Map params, Closure closure)

R withAsyncHttp(Map params, CallableWithArgs callable)

R withHttp(Map params, Closure closure)

R withHttp(Map params, CallableWithArgs callable)

R withRest(Map params, Closure closure)

R withRest(Map params, CallableWithArgs callable)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

AbstractRestProvider

AbstractRestProvider()


 
Method Detail

getAsyncHttpClient

protected groovyx.net.http.AsyncHTTPBuilder getAsyncHttpClient(Map params)


getHttpClient

protected groovyx.net.http.HTTPBuilder getHttpClient(Map params)


getRestClient

protected groovyx.net.http.RESTClient getRestClient(Map params)


withAsyncHttp

public R withAsyncHttp(Map params, Closure closure)


withAsyncHttp

public R withAsyncHttp(Map params, CallableWithArgs callable)


withHttp

public R withHttp(Map params, Closure closure)


withHttp

public R withHttp(Map params, CallableWithArgs callable)


withRest

public R withRest(Map params, Closure closure)


withRest

public R withRest(Map params, CallableWithArgs callable)


 

Groovy Documentation