public interface HttpClient
extends org.mule.runtime.api.lifecycle.Startable, org.mule.runtime.api.lifecycle.Stoppable
| Modifier and Type | Method and Description |
|---|---|
HttpAuthentication |
getDefaultAuthentication()
Returns the default
HttpAuthentication to be used on requests. |
UriParameters |
getDefaultUriParameters()
Returns the default parameters for the
HttpRequest URI. |
HttpResponse |
send(HttpRequest request,
int responseTimeout,
boolean followRedirects,
HttpRequestAuthentication authentication)
Sends a HttpRequest blocking the current thread until a response is available for the request times out.
|
UriParameters getDefaultUriParameters()
HttpRequest URI.HttpAuthentication getDefaultAuthentication()
HttpAuthentication to be used on requests.HttpResponse send(HttpRequest request, int responseTimeout, boolean followRedirects, HttpRequestAuthentication authentication) throws IOException, TimeoutException
IOExceptionTimeoutExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.