public interface InternalAPI
InternalAPI
is the interface that need to be implemented in order to register an internal API into EI.Modifier and Type | Method and Description |
---|---|
String |
getContext()
Gets the API context.
|
List<InternalAPIHandler> |
getHandlers()
Gets the handlers associated with the API
|
String |
getName()
Gets the API name.
|
APIResource[] |
getResources()
Gets the API Resources.
|
void |
setHandlers(List<InternalAPIHandler> handlerList)
Sets the handlers associated with the API
|
void |
setName(String name)
Sets the name of the API
|
APIResource[] getResources()
String getContext()
String getName()
void setName(String name)
name
- name of the APIvoid setHandlers(List<InternalAPIHandler> handlerList)
handlerList
- list of handlersList<InternalAPIHandler> getHandlers()
Copyright © 2022 WSO2. All rights reserved.