Package de.galan.commons.net.flux
Class FluentHttpClient.HttpBuilder
java.lang.Object
de.galan.commons.net.flux.FluentHttpClient.HttpBuilder
- Enclosing class:
- FluentHttpClient
Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthentication(String username, String password) body(byte[] body) delete()get()getAsync()head()methodAsync(Method method) options()parameterList(Map<String, List<String>> parameters) parameterMap(Map<String, String> parameters) post()proxy(CommonProxy proxy) proxyAuthentication(String username, String password) Has to be called after setting a proxy via ip/portput()putAsync()timeoutConnection(Integer timeoutConnection) timeoutConnection(Long timeoutConnection) timeoutConnection(String timeoutConnection) timeoutRead(Integer timeoutRead) timeoutRead(Long timeoutRead) timeoutRead(String timeoutRead) Return the URL the builder would generate as String, does not include header, etc.trace()
-
Constructor Details
-
HttpBuilder
-
-
Method Details
-
proxy
-
proxy
-
proxy
-
proxyAuthentication
Has to be called after setting a proxy via ip/port -
authentication
-
timeout
-
timeout
-
timeout
-
timeoutConnection
-
timeoutConnection
-
timeoutConnection
-
timeoutRead
-
timeoutRead
-
timeoutRead
-
followRedirects
-
unfollowRedirects
-
retries
-
timeoutThread
-
body
-
body
-
body
-
header
-
headers
-
parameter
-
param
-
parameterMap
-
parameterList
-
get
- Throws:
HttpClientException
-
getAsync
-
put
- Throws:
HttpClientException
-
putAsync
-
post
- Throws:
HttpClientException
-
postAsync
-
delete
- Throws:
HttpClientException
-
deleteAsync
-
head
- Throws:
HttpClientException
-
headAsync
-
trace
- Throws:
HttpClientException
-
traceAsync
-
options
- Throws:
HttpClientException
-
optionsAsync
-
methodAsync
-
method
- Throws:
HttpClientException
-
callAsync
-
toUrlString
Return the URL the builder would generate as String, does not include header, etc.
-