public interface HttpClient extends Closeable
Modifier and Type | Method and Description |
---|---|
boolean |
delete(URI location) |
boolean |
exists(URI location) |
InputStream |
get(URI location) |
HttpResponse |
invoke(HttpRequest request) |
String |
post(URI location,
Payload payload) |
String |
put(URI location,
Payload payload) |
@HEAD boolean exists(URI location)
exists(java.net.URI)
@GET InputStream get(URI location)
HttpResponse invoke(HttpRequest request)
request
- @DELETE boolean delete(URI location)
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.