public class RestHttpProxyHandler
extends java.lang.Object
implements io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
Constructor and Description |
---|
RestHttpProxyHandler(io.vertx.core.Vertx vertx,
IRestCallHandler proxy) |
Modifier and Type | Method and Description |
---|---|
void |
handle(io.vertx.core.http.HttpServerRequest request) |
protected void |
handleBody(io.vertx.core.http.HttpServerRequest request,
RestRequest rr,
AsyncHandler<RestResponse> asyncHandler) |
protected void |
handleExceptionDuringRequest(io.vertx.core.http.HttpServerRequest request,
java.lang.Throwable throwable) |
protected AsyncHandler<RestResponse> |
responseHandler(io.vertx.core.http.HttpServerRequest request) |
public RestHttpProxyHandler(io.vertx.core.Vertx vertx, IRestCallHandler proxy)
public void handle(io.vertx.core.http.HttpServerRequest request)
handle
in interface io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
protected AsyncHandler<RestResponse> responseHandler(io.vertx.core.http.HttpServerRequest request)
protected void handleBody(io.vertx.core.http.HttpServerRequest request, RestRequest rr, AsyncHandler<RestResponse> asyncHandler)
protected void handleExceptionDuringRequest(io.vertx.core.http.HttpServerRequest request, java.lang.Throwable throwable)
Copyright © 2021. All Rights Reserved.