public class HttpExtensionClient extends Object implements org.mule.runtime.api.lifecycle.Startable, org.mule.runtime.api.lifecycle.Stoppable
HttpClient with URI and authentication parameters that allow falling back to connection
default values for them.| Constructor and Description |
|---|
HttpExtensionClient(HttpClient httpClient,
UriParameters uriParameters,
HttpAuthentication authentication) |
| Modifier and Type | Method and Description |
|---|---|
HttpAuthentication |
getDefaultAuthentication() |
UriParameters |
getDefaultUriParameters()
Returns the default parameters for the
HttpRequest URI. |
void |
send(HttpRequest request,
int responseTimeout,
boolean followRedirects,
HttpRequestAuthentication authentication,
ResponseHandler handler) |
void |
start() |
void |
stop() |
public HttpExtensionClient(HttpClient httpClient, UriParameters uriParameters, HttpAuthentication authentication)
public UriParameters getDefaultUriParameters()
HttpRequest URI.public HttpAuthentication getDefaultAuthentication()
public void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionpublic void send(HttpRequest request, int responseTimeout, boolean followRedirects, HttpRequestAuthentication authentication, ResponseHandler handler)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.