public class HttpGatewayClient extends Object
| Constructor and Description |
|---|
HttpGatewayClient(org.vertx.java.core.Vertx vertx,
HttpGateway httpGateway) |
| Modifier and Type | Method and Description |
|---|---|
protected org.vertx.java.core.http.HttpClient |
createClient(URL url) |
void |
execute(org.vertx.java.core.http.HttpServerRequest request,
Object apiManagerResponseHandler) |
protected boolean |
isApimanagerRestRequest(org.vertx.java.core.http.HttpServerRequest request) |
protected boolean |
isMappingIndexRequest(org.vertx.java.core.http.HttpServerRequest request) |
protected String |
mappingRulesToJson(Map<String,IMappedServices> rules) |
public HttpGatewayClient(org.vertx.java.core.Vertx vertx,
HttpGateway httpGateway)
public void execute(org.vertx.java.core.http.HttpServerRequest request,
Object apiManagerResponseHandler)
protected String mappingRulesToJson(Map<String,IMappedServices> rules) throws IOException
IOExceptionprotected boolean isMappingIndexRequest(org.vertx.java.core.http.HttpServerRequest request)
protected boolean isApimanagerRestRequest(org.vertx.java.core.http.HttpServerRequest request)
protected org.vertx.java.core.http.HttpClient createClient(URL url) throws MalformedURLException
MalformedURLExceptionCopyright © 2011–2014 Red Hat. All rights reserved.