public class API extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_BASE_PATH |
static String |
DEFAULT_BASE_URI |
static String |
DEFAULT_CONSOLE_PATH |
static String |
DEFAULT_CONSOLE_PATH_INBOUND |
static int |
DEFAULT_PORT |
| Constructor and Description |
|---|
API(File ramlFile,
File xmlFile,
String baseUri,
String path) |
API(File ramlFile,
File xmlFile,
String baseUri,
String path,
APIKitConfig config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getBaseUri() |
APIKitConfig |
getConfig() |
HttpListenerConfig |
getHttpListenerConfig() |
String |
getId() |
String |
getPath() |
File |
getRamlFile() |
File |
getXmlFile() |
File |
getXmlFile(File rootDirectory) |
int |
hashCode() |
void |
setBaseUri(String baseUri) |
void |
setConfig(APIKitConfig config) |
void |
setDefaultAPIKitConfig() |
void |
setDefaultHttpListenerConfig() |
void |
setHttpListenerConfig(HttpListenerConfig httpListenerConfig) |
void |
setPath(String path) |
boolean |
setUseInboundEndpoint(Boolean useInboundEndpoint) |
void |
setXmlFile(File xmlFile) |
Boolean |
useInboundEndpoint() |
public static final int DEFAULT_PORT
public static final String DEFAULT_BASE_URI
public static final String DEFAULT_BASE_PATH
public static final String DEFAULT_CONSOLE_PATH
public static final String DEFAULT_CONSOLE_PATH_INBOUND
public API(File ramlFile, File xmlFile, String baseUri, String path, APIKitConfig config)
public File getXmlFile()
public void setXmlFile(File xmlFile)
public File getRamlFile()
public String getPath()
public void setPath(String path)
public HttpListenerConfig getHttpListenerConfig()
public APIKitConfig getConfig()
public void setConfig(APIKitConfig config)
public void setHttpListenerConfig(HttpListenerConfig httpListenerConfig)
public void setDefaultAPIKitConfig()
public void setDefaultHttpListenerConfig()
public Boolean useInboundEndpoint()
public boolean setUseInboundEndpoint(Boolean useInboundEndpoint)
public String getBaseUri()
public void setBaseUri(String baseUri)
public String getId()
Copyright © 2022. All rights reserved.