public class GetIngredientByIdOperation
extends com.mulesoft.connectivity.rest.commons.api.operation.BaseRestOperation
implements org.mule.runtime.api.lifecycle.Initialisable
| Constructor and Description |
|---|
GetIngredientByIdOperation() |
| Modifier and Type | Method and Description |
|---|---|
void |
getIngredientById(com.mulesoft.connectivity.rest.commons.api.connection.RestConnection connection,
int idIngredient,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,Object> completionCallback) |
void |
initialise() |
createModuleException, getDefaultResponseMediaType, getExpressionLanguage, getMediaType, httpResponseToErrorTypeDefinition, notifyCompletionCallbackError, resolveDefaultResponseMediaType, setExpressionLanguage, throwModuleExceptionIfErrorResponse, toConnectivityErrorFunctionpublic void initialise()
initialise in interface org.mule.runtime.api.lifecycle.Initialisable@MediaType(value="application/json") @Throws(value=com.mulesoft.connectivity.rest.commons.api.error.RestErrorTypeProvider.class) @OutputResolver(output=GetIngredientsByIdOperationOutputResolver.class) public void getIngredientById(@Connection com.mulesoft.connectivity.rest.commons.api.connection.RestConnection connection, int idIngredient, org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,Object> completionCallback)
Copyright © 2023 MuleSoft, Inc.. All rights reserved.