Package | Description |
---|---|
aQute.bnd.http |
Modifier and Type | Method and Description |
---|---|
HttpRequest<T> |
HttpRequest.age(int n,
TimeUnit tu) |
HttpRequest<String> |
HttpRequest.asString() |
HttpRequest<TaggedData> |
HttpRequest.asTag() |
HttpRequest<Object> |
HttpClient.build() |
HttpRequest<T> |
HttpRequest.delete()
Set the verb/method to delete
|
HttpRequest<T> |
HttpRequest.get()
Set the verb/method to get
|
<X> HttpRequest<X> |
HttpRequest.get(Class<X> type)
Convert the result to a specific type
|
HttpRequest<Object> |
HttpRequest.get(Type type)
Convert the result to a specific type
|
<X> HttpRequest<X> |
HttpRequest.get(TypeReference<X> type)
Convert the result to a specific type
|
HttpRequest<T> |
HttpRequest.head()
Set the verb/method to head
|
HttpRequest<T> |
HttpRequest.headers(Map<String,String> map)
Add headers to request
|
HttpRequest<T> |
HttpRequest.headers(String key,
String value)
Add header to request
|
HttpRequest<T> |
HttpRequest.ifMatch(String etag) |
HttpRequest<T> |
HttpRequest.ifModifiedSince(long epochTime) |
HttpRequest<T> |
HttpRequest.ifNoneMatch(String etag) |
HttpRequest<T> |
HttpRequest.ifUnmodifiedSince(long ifNotModifiedSince) |
HttpRequest<T> |
HttpRequest.maxRedirects(int n) |
HttpRequest<T> |
HttpRequest.option()
Set the verb/method to option
|
HttpRequest<T> |
HttpRequest.post()
Set the verb/method to post
|
HttpRequest<T> |
HttpRequest.put()
Set the verb/method to put
|
HttpRequest<T> |
HttpRequest.report(Reporter reporter) |
HttpRequest<T> |
HttpRequest.timeout(long timeoutInMs)
Set timeout in ms
|
HttpRequest<T> |
HttpRequest.timeout(long timeout,
TimeUnit unit) |
HttpRequest<T> |
HttpRequest.updateTag() |
HttpRequest<T> |
HttpRequest.upload(Object upload)
Set the object to upload.
|
HttpRequest<File> |
HttpRequest.useCache() |
HttpRequest<File> |
HttpRequest.useCache(File file) |
HttpRequest<File> |
HttpRequest.useCache(File file,
long maxStale) |
HttpRequest<File> |
HttpRequest.useCache(long maxStale) |
HttpRequest<T> |
HttpRequest.verb(String verb)
Set the HTTP verb
|
Modifier and Type | Method and Description |
---|---|
Object |
HttpClient.send(HttpRequest<?> request) |
TaggedData |
HttpClient.send0(HttpRequest<?> request) |
Copyright © 2021 aQute SARL. All rights reserved.