public interface

ApiSpi

implements java.io.Serializable

 com.bluenimble.platform.api.ApiSpi

Subclasses:

AbstractApiSpi, DefaultApiSpi

Summary

Methods
public voidafterExecute(Api api, ApiConsumer consumer, ApiService service, ApiRequest request, ApiResponse response)

public voidfindConsumer(Api api, ApiService service, ApiRequest request, ApiConsumer consumer)

public voidonError(Api api, ApiService service, ApiConsumer consumer, ApiRequest request, ApiResponse response, JsonObject error)

public voidonExecute(Api api, ApiConsumer consumer, ApiService service, ApiRequest request, ApiResponse response)

public voidonRequest(Api api, ApiRequest request, ApiResponse response)

public voidonService(Api api, ApiService service, ApiRequest request, ApiResponse response)

public voidonStart(Api api, ApiContext context)

public voidonStop(Api api, ApiContext context)

Methods

public void onStart(Api api, ApiContext context)

public void onStop(Api api, ApiContext context)

public void onRequest(Api api, ApiRequest request, ApiResponse response)

public void onService(Api api, ApiService service, ApiRequest request, ApiResponse response)

public void onExecute(Api api, ApiConsumer consumer, ApiService service, ApiRequest request, ApiResponse response)

public void afterExecute(Api api, ApiConsumer consumer, ApiService service, ApiRequest request, ApiResponse response)

public void onError(Api api, ApiService service, ApiConsumer consumer, ApiRequest request, ApiResponse response, JsonObject error)

public void findConsumer(Api api, ApiService service, ApiRequest request, ApiConsumer consumer)