Example usage for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client.v2 DefaultCloudFoundryClientFactoryV2 getClient

List of usage examples for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client.v2 DefaultCloudFoundryClientFactoryV2 getClient

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.boot.dash.cloudfoundry.client.v2 DefaultCloudFoundryClientFactoryV2 getClient.

Prototype

@Override
    public ClientRequests getClient(CFClientParams params) 

Source Link

Usage

From source file:org.springframework.ide.eclipse.boot.dash.test.CloudFoundryClientTest.java

public static DefaultClientRequestsV2 createClient(CFClientParams params) {
    try {/*from   www.j  a  v  a2 s. c o m*/
        DefaultCloudFoundryClientFactoryV2 factory = DefaultCloudFoundryClientFactoryV2.INSTANCE;
        return (DefaultClientRequestsV2) factory.getClient(params);
    } catch (Exception e) {
        throw new Error(e);
    }
}