Modifier and Type | Method and Description |
---|---|
ProxyRequest |
ProxyRequest.bodyFilter(Function<io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>,io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>> filter)
Set a body filter.
|
ProxyRequest |
ProxyRequest.putHeader(CharSequence name,
CharSequence value)
Put an HTTP header
|
ProxyRequest |
ProxyRequest.release()
Release the proxy request.
|
ProxyRequest |
ProxyResponse.request()
Return the corresponding
ProxyRequest . |
static ProxyRequest |
ProxyRequest.reverseProxy(io.vertx.core.http.HttpServerRequest outboundRequest)
Create a new
ProxyRequest instance, the outbound request will be paused. |
ProxyRequest |
ProxyRequest.setBody(Body body)
Set the request body to be sent to the origin server.
|
ProxyRequest |
ProxyRequest.setMethod(io.vertx.core.http.HttpMethod method)
Set the HTTP method to be sent to the origin server.
|
ProxyRequest |
ProxyRequest.setURI(String uri)
Set the request URI to be sent to the origin server.
|
Copyright © 2021 Eclipse. All rights reserved.