public interface ApiManagerService
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP_GATEWAY |
static String |
PORT |
static String |
PORT_REST |
static String |
VERTX |
| Modifier and Type | Method and Description |
|---|---|
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpServerRequest> |
createApiManagerHttpGatewayHandler()
Creates an implementation of a Handler of type HttpServerRequest, and returns a reference.
|
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> |
createServiceResponseHandler(org.vertx.java.core.http.HttpClient httpClient,
Object apiManagementResponseHandler)
Creates a Handler of type HttpClientResponse.
|
ServiceMapping |
getApiManagerServiceMapping(String servicePath)
Return service info: OrganizationId, ServiceId and Version of this service
given the servicePath.
|
Object |
getEngine()
Get a reference to a 3rd Party API Manager Engine
|
void |
init(Map<String,Object> config) |
static final String VERTX
static final String HTTP_GATEWAY
static final String PORT
static final String PORT_REST
Object getEngine()
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> createServiceResponseHandler(org.vertx.java.core.http.HttpClient httpClient,
Object apiManagementResponseHandler)
httpClient - - vert.x HttpClient used to call the fabric8 servicehttpServerRequest - - vert.x HttpServerRequest used to create a HttpServiceResponseHandler
when no API Manager is usedapiManagementResponseHandler - -org.vertx.java.core.Handler<org.vertx.java.core.http.HttpServerRequest> createApiManagerHttpGatewayHandler()
HttpGatewayHandler,
ApiManHttpGatewayHandlerServiceMapping getApiManagerServiceMapping(String servicePath)
servicePath - - the path of the backend serviceCopyright © 2011–2015 Red Hat. All rights reserved.