public class HttpRequestOperations extends Object
| Constructor and Description |
|---|
HttpRequestOperations() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildPath(String basePath,
String path) |
org.mule.runtime.extension.api.runtime.operation.Result<Object,HttpResponseAttributes> |
request(String path,
String method,
ConfigurationOverrides overrides,
ResponseValidationSettings responseValidationSettings,
HttpRequesterRequestBuilder requestBuilder,
OutputSettings outputSettings,
HttpClient client,
HttpRequesterConfig config,
Event muleEvent)
Consumes an HTTP service.
|
@Summary(value="Executes a HTTP Request") @OutputResolver(output=HttpRequestMetadataResolver.class) public org.mule.runtime.extension.api.runtime.operation.Result<Object,HttpResponseAttributes> request(String path, @Optional(defaultValue="GET") String method, @ParameterGroup(value="Configuration Overrides") ConfigurationOverrides overrides, @ParameterGroup(value="Response Validation Settings") ResponseValidationSettings responseValidationSettings, @Optional @NullSafe @Expression(value=NOT_SUPPORTED) HttpRequesterRequestBuilder requestBuilder, @ParameterGroup(value="Other Settings") OutputSettings outputSettings, @Connection HttpClient client, @UseConfig HttpRequesterConfig config, Event muleEvent) throws org.mule.runtime.api.exception.MuleException
path - Path where the request will be sent.method - The HTTP method for the request.overrides - configuration overrides parameter groupresponseValidationSettings - response validation parameter grouprequestBuilder - configures the requestoutputSettings - additional settings parameter groupclient - the http connectionconfig - the configuration for this operation. All parameters not configured will be taken from
it.muleEvent - the current EventResult with HttpResponseAttributesorg.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.