public OpenStackResponse request() { return client.request(this); }
/** * Executes the request that has been constructed * * @return The response from the request * @throws OpenStackConnectException * If the connection to the provider cannot be established. This exception indicates that the provider * is not reachable, or that some failure occurred attempting to open the connection to the provider. * @throws OpenStackResponseException * If the provider responds with some form of error regarding the request, such as unauthorized. This is * an indication that there is a problem with the request itself, not the connection. */ public R execute() throws OpenStackConnectException, OpenStackResponseException { return client.execute(this); }
public OpenStackRequest<Token> show() { return CLIENT.get("/auth/tokens", Token.class); }
public void token(String token) { setTokenProvider(new OpenStackSimpleTokenProvider(token)); }
Properties properties = osClient.getProperties(); logger = osClient.getLogger(); filter = new LoggingFilter(new PasswordFilter(logger)); ClientConfig clientConfig = new DefaultClientConfig();
public void token(String token) { setTokenProvider(new OpenStackSimpleTokenProvider(token)); }
public OpenStackResponse request() { return client.request(this); }
public R execute() { return client.execute(this); }
public void token(String token) { setTokenProvider(new OpenStackSimpleTokenProvider(token)); }
public OpenStackRequest<Token> show() { return CLIENT.get("/auth/tokens", Token.class); }
/** * @return The response to the request execution * @throws OpenStackConnectException * If the connection to the provider cannot be established. This exception indicates that the provider * is not reachable, or that some failure occurred attempting to open the connection to the provider. * @throws OpenStackResponseException * If the provider responds with some form of error regarding the request, such as unauthorized. This is * an indication that there is a problem with the request itself, not the connection. @see * com.woorea.openstack * .base.client.OpenStackClientConnector#request(com.woorea.openstack.base.client.OpenStackRequest) */ public OpenStackResponse request() throws OpenStackConnectException, OpenStackResponseException { return client.request(this); }
public R execute() { return client.execute(this); }
public void token(String token) { setTokenProvider(new OpenStackSimpleTokenProvider(token)); }
public OpenStackRequest<Token> show() { return CLIENT.get("/auth/tokens", Token.class); }
public OpenStackResponse request() { return client.request(this); }
public R execute() { return client.execute(this); }
public void token(String token) { setTokenProvider(new OpenStackSimpleTokenProvider(token)); }
public OpenStackRequest<Services> roles(String userId) { return CLIENT.get(new StringBuilder(path).append("/").append(userId).append("/roles").toString(), Services.class); }
public OpenStackResponse request() { return client.request(this); }
public R execute() { return client.execute(this); }