public class RamlHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_RAML |
| Constructor and Description |
|---|
RamlHandler(ScheduledExecutorService executor,
String ramlLocation,
boolean keepApiBaseUri,
org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository,
org.mule.parser.service.ParserMode parserMode) |
RamlHandler(ScheduledExecutorService executor,
String ramlLocation,
boolean keepApiBaseUri,
org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository,
org.mule.parser.service.ParserMode parserMode,
boolean filterUnsupportedLogging) |
RamlHandler(String ramlLocation,
boolean keepApiBaseUri,
org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository) |
RamlHandler(String ramlLocation,
boolean keepApiBaseUri,
org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository,
org.mule.parser.service.ParserMode parserMode) |
| Modifier and Type | Method and Description |
|---|---|
String |
dumpRaml() |
String |
getAMFModel() |
org.mule.apikit.model.ApiSpecification |
getApi() |
org.mule.apikit.model.ApiVendor |
getApiVendor() |
String |
getBaseUriReplacement(String apiServer) |
String |
getRamlV1() |
String |
getRamlV2(String resourceRelativePath) |
String |
getRootRamlLocationForV1() |
String |
getRootRamlLocationForV2() |
String |
getSuccessStatusCode(org.mule.apikit.model.Action action) |
boolean |
isParserV2()
Deprecated.
use getApiVendor() instead.
|
boolean |
isRequestingRamlV1ForConsole(String listenerPath,
String requestPath,
String queryString,
String method,
String acceptHeader) |
boolean |
isRequestingRamlV2(String listenerPath,
String requestPath,
String queryString,
String method) |
void |
setApi(org.mule.apikit.model.ApiSpecification api) |
void |
setApiServer(String apiServer) |
void |
writeAMFModel(String url,
OutputStream outputStream) |
public static final String APPLICATION_RAML
public RamlHandler(String ramlLocation, boolean keepApiBaseUri, org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository) throws IOException
IOExceptionpublic RamlHandler(String ramlLocation, boolean keepApiBaseUri, org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository, org.mule.parser.service.ParserMode parserMode) throws IOException
IOExceptionpublic RamlHandler(ScheduledExecutorService executor, String ramlLocation, boolean keepApiBaseUri, org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository, org.mule.parser.service.ParserMode parserMode) throws IOException
IOExceptionpublic RamlHandler(ScheduledExecutorService executor, String ramlLocation, boolean keepApiBaseUri, org.mule.runtime.api.exception.ErrorTypeRepository errorTypeRepository, org.mule.parser.service.ParserMode parserMode, boolean filterUnsupportedLogging) throws IOException
IOException@Deprecated public boolean isParserV2()
public org.mule.apikit.model.ApiVendor getApiVendor()
public org.mule.apikit.model.ApiSpecification getApi()
public void setApi(org.mule.apikit.model.ApiSpecification api)
public String dumpRaml()
public String getRamlV1()
public String getRamlV2(String resourceRelativePath) throws org.mule.runtime.api.exception.TypedException
org.mule.runtime.api.exception.TypedExceptionpublic String getAMFModel()
public void writeAMFModel(String url, OutputStream outputStream)
public boolean isRequestingRamlV1ForConsole(String listenerPath, String requestPath, String queryString, String method, String acceptHeader)
public boolean isRequestingRamlV2(String listenerPath, String requestPath, String queryString, String method)
public String getRootRamlLocationForV2()
public String getRootRamlLocationForV1()
public String getSuccessStatusCode(org.mule.apikit.model.Action action)
public void setApiServer(String apiServer)
Copyright © 2025. All rights reserved.