Class ApiManagementInterceptor
java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.apimanagement.ApiManagementInterceptor
- All Implemented Interfaces:
Interceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.predic8.membrane.core.interceptor.Interceptor
Interceptor.Flow -
Field Summary
Fields inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
name, router -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAuthorization(Exchange exc, String apiKey) handleRequest(Exchange exc) handleResponse(Exchange exc) voidvoidsetAmQuota(AMQuota amQuota) voidsetAmRateLimiter(AMRateLimiter amRateLimiter) voidsetAmStatisticsCollector(AMStatisticsCollector amStatisticsCollector) voidMethods inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
getDisplayName, getFlow, getHelpId, getLongDescription, getMessage, getRouter, getRule, handleAbort, init, setDisplayName, setFlow
-
Constructor Details
-
ApiManagementInterceptor
public ApiManagementInterceptor()
-
-
Method Details
-
init
- Specified by:
initin interfaceInterceptor- Overrides:
initin classAbstractInterceptor- Throws:
Exception
-
getShortDescription
- Specified by:
getShortDescriptionin interfaceInterceptor- Overrides:
getShortDescriptionin classAbstractInterceptor
-
handleRequest
- Specified by:
handleRequestin interfaceInterceptor- Overrides:
handleRequestin classAbstractInterceptor- Throws:
Exception
-
handleResponse
- Specified by:
handleResponsein interfaceInterceptor- Overrides:
handleResponsein classAbstractInterceptor- Throws:
Exception
-
getAuthorization
-
getAmRateLimiter
-
setAmRateLimiter
-
getAmQuota
-
setAmQuota
-
getConfig
-
setConfig
- Default
- api.yaml
- Description
- the location of the configuration
-
getAmStatisticsCollector
-
setAmStatisticsCollector
-