Groovy Documentation

griffon.plugins.rest
[Java] Class DefaultRestProvider

java.lang.Object
  griffon.plugins.rest.AbstractRestProvider
      griffon.plugins.rest.DefaultRestProvider

public class DefaultRestProvider
extends AbstractRestProvider

Authors:
Andres Almiray


Field Summary
private static DefaultRestProvider INSTANCE

 
Constructor Summary
DefaultRestProvider()

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

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

static DefaultRestProvider getInstance()

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

 
Methods inherited from class AbstractRestProvider
getAsyncHttpClient, getHttpClient, getRestClient, withAsyncHttp, withAsyncHttp, withHttp, withHttp, withRest, withRest
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

INSTANCE

private static final DefaultRestProvider INSTANCE


 
Constructor Detail

DefaultRestProvider

DefaultRestProvider()


 
Method Detail

getAsyncHttpClient

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


getHttpClient

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


getInstance

public static DefaultRestProvider getInstance()


getRestClient

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


 

Groovy Documentation