public class HttpGatewayStreamer extends Object implements Registrant, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpServerRequest>
HttpServerRequest<=>HttpServerResponse conversation. This involves converting
the HTTP data into appropriate apiman equivalents which are pushed onto the event bus, where a
corresponding PolicyVerticle is awaiting data on the other end. Successful, unsuccessful and
erroneous responses are all handled and unmarshalled, as appropriate; for instance, all response types are
translated into their equivalent HTTP response codes.| Constructor and Description |
|---|
HttpGatewayStreamer(org.vertx.java.core.Vertx vertx,
org.vertx.java.platform.Container container,
String policyVerticleAddress,
String stripString) |
| Modifier and Type | Method and Description |
|---|---|
void |
endHandler(org.vertx.java.core.Handler<Void> endHandler)
When completed.
|
String |
getAddress() |
void |
handle(org.vertx.java.core.http.HttpServerRequest r) |
public String getAddress()
getAddress in interface Registrantpublic void handle(org.vertx.java.core.http.HttpServerRequest r)
handle in interface org.vertx.java.core.Handler<org.vertx.java.core.http.HttpServerRequest>public void endHandler(org.vertx.java.core.Handler<Void> endHandler)
RegistrantendHandler in interface RegistrantCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.