public class HttpRequestFactory extends Object
HttpRequests.| Modifier and Type | Field and Description |
|---|---|
static List<String> |
DEFAULT_EMPTY_BODY_METHODS |
| Constructor and Description |
|---|
HttpRequestFactory(HttpRequesterCookieConfig config,
String uri,
String method,
HttpStreamingType streamingMode,
HttpSendBodyMode sendBodyMode,
TransformationService transformationService) |
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
create(HttpRequesterRequestBuilder requestBuilder,
HttpAuthentication authentication,
MuleContext muleContext)
Creates an .
|
public HttpRequestFactory(HttpRequesterCookieConfig config, String uri, String method, HttpStreamingType streamingMode, HttpSendBodyMode sendBodyMode, TransformationService transformationService)
public HttpRequest create(HttpRequesterRequestBuilder requestBuilder, HttpAuthentication authentication, MuleContext muleContext)
requestBuilder - The generic HttpRequesterRequestBuilder from the request component that should be used to
create the HttpRequest.authentication - The HttpAuthentication that should be used to create the HttpRequest.muleContext - the Mule node.org.mule.runtime.api.exception.MuleException - if the request creation fails.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.