public class HttpGatewayHandler extends Object implements org.vertx.java.core.Handler<org.vertx.java.core.http.HttpServerRequest>
Constructor and Description |
---|
HttpGatewayHandler(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 |
handle(org.vertx.java.core.http.HttpServerRequest request) |
protected boolean |
isMappingIndexRequest(org.vertx.java.core.http.HttpServerRequest request) |
protected String |
mappingRulesToJson(Map<String,MappedServices> rules) |
public HttpGatewayHandler(org.vertx.java.core.Vertx vertx, HttpGateway httpGateway)
public void handle(org.vertx.java.core.http.HttpServerRequest request)
handle
in interface org.vertx.java.core.Handler<org.vertx.java.core.http.HttpServerRequest>
protected String mappingRulesToJson(Map<String,MappedServices> rules) throws IOException
IOException
protected boolean isMappingIndexRequest(org.vertx.java.core.http.HttpServerRequest request)
protected org.vertx.java.core.http.HttpClient createClient(URL url) throws MalformedURLException
MalformedURLException
Copyright © 2011–2014 Red Hat. All rights reserved.