Package io.gravitee.gateway.api.proxy
Interface ProxyRequest
-
- All Known Subinterfaces:
WebSocketProxyRequest
- All Known Implementing Classes:
ProxyRequestImpl,WebSocketProxyRequestImpl
public interface ProxyRequest- Author:
- David BRASSELY (david.brassely at graviteesource.com), GraviteeSource Team
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProxyRequestcloseHandler(Handler<Void> closeHandler)HttpHeadersheaders()io.gravitee.common.http.HttpMethodmethod()io.gravitee.reporter.api.http.Metricsmetrics()io.gravitee.common.util.MultiValueMap<String,String>parameters()io.gravitee.common.util.MultiValueMap<String,String>pathParameters()StringrawMethod()The raw method in case the method() returns HttpMethod.OTHERStringuri()
-
-
-
Method Detail
-
uri
String uri()
- Returns:
- the target URI of the request.
-
parameters
io.gravitee.common.util.MultiValueMap<String,String> parameters()
- Returns:
- the query parameters in the request
-
pathParameters
io.gravitee.common.util.MultiValueMap<String,String> pathParameters()
- Returns:
- the path parameters in the request
-
method
io.gravitee.common.http.HttpMethod method()
- Returns:
- the HTTP method for the request.
-
rawMethod
String rawMethod()
The raw method in case the method() returns HttpMethod.OTHER- Returns:
-
headers
HttpHeaders headers()
- Returns:
- the headers in the request.
-
metrics
io.gravitee.reporter.api.http.Metrics metrics()
- Returns:
- the metrics attached to the request.
-
closeHandler
ProxyRequest closeHandler(Handler<Void> closeHandler)
-
-