public static class ApiClassConfig.MethodConfigMap extends java.util.LinkedHashMap<EndpointMethod,ApiMethodConfig>
Map of API methods for this API class.| Modifier | Constructor and Description |
|---|---|
protected |
MethodConfigMap(ApiClassConfig.MethodConfigMap original,
ApiClassConfig apiClassConfig) |
protected |
MethodConfigMap(ApiClassConfig apiClassConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected ApiMethodConfig |
createMethodConfig(EndpointMethod method,
TypeLoader typeLoader,
ApiClassConfig apiClassConfig)
Create the method configuration object.
|
ApiClassConfig |
getApiClassConfig() |
ApiMethodConfig |
getOrCreate(EndpointMethod method)
Gets the previously created
ApiMethodConfig instance for the given method, or creates
a new one if it does not yet exist and puts it in the underlying map. |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeprotected MethodConfigMap(ApiClassConfig apiClassConfig)
protected MethodConfigMap(ApiClassConfig.MethodConfigMap original, ApiClassConfig apiClassConfig)
public ApiMethodConfig getOrCreate(EndpointMethod method)
ApiMethodConfig instance for the given method, or creates
a new one if it does not yet exist and puts it in the underlying map. Created
ApiMethodConfig are created with defaults based on the current configuration loaded
in the ApiConfig.protected ApiMethodConfig createMethodConfig(EndpointMethod method, TypeLoader typeLoader, ApiClassConfig apiClassConfig)
public ApiClassConfig getApiClassConfig()