public class HttpGatewayHandler
extends java.lang.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(java.net.URL url) |
void |
handle(org.vertx.java.core.http.HttpServerRequest request) |
protected boolean |
isMappingIndexRequest(org.vertx.java.core.http.HttpServerRequest request) |
protected java.lang.String |
mappingRulesToJson(java.util.Map<java.lang.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 java.lang.String mappingRulesToJson(java.util.Map<java.lang.String,MappedServices> rules) throws java.io.IOException
java.io.IOExceptionprotected boolean isMappingIndexRequest(org.vertx.java.core.http.HttpServerRequest request)
protected org.vertx.java.core.http.HttpClient createClient(java.net.URL url)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionCopyright © 2014 Red Hat. All Rights Reserved.