org.jclouds.rest
Interface HttpClient
public interface HttpClient
Simple client
- Author:
- Adrian Cole
invoke
HttpResponse invoke(HttpRequest request)
- Parameters:
request
-
- Returns:
- response, but make sure you consume its content.
put
String put(URI location,
Payload payload)
- Returns:
- eTag
post
String post(URI location,
Payload payload)
- Returns:
- eTag
exists
boolean exists(URI location)
get
InputStream get(URI location)
- Returns:
- null if the resource didn't exist.
delete
boolean delete(URI location)
- Returns:
- false if the resource didn't exist.
Copyright © 2009-2011 jclouds. All Rights Reserved.