Class ProxyRequestImpl
java.lang.Object
io.gravitee.gateway.api.proxy.builder.ProxyRequestImpl
- All Implemented Interfaces:
ProxyRequest
- Direct Known Subclasses:
WebSocketProxyRequestImpl
- Author:
- David BRASSELY (david.brassely at graviteesource.com), GraviteeSource Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncloseHandler(Handler<Void> closeHandler) headers()io.gravitee.common.http.HttpMethodmethod()io.gravitee.reporter.api.http.Metricsmetrics()The raw method in case the method() returns HttpMethod.OTHERvoidsetHeaders(HttpHeaders headers) voidsetMethod(io.gravitee.common.http.HttpMethod method) voidsetParameters(io.gravitee.common.util.MultiValueMap<String, String> parameters) voidsetPathParameters(io.gravitee.common.util.MultiValueMap<String, String> pathParameters) voidsetRawMethod(String rawMethod) voiduri()
-
Constructor Details
-
ProxyRequestImpl
-
-
Method Details
-
setUri
-
setParameters
-
setPathParameters
-
setMethod
public void setMethod(io.gravitee.common.http.HttpMethod method) -
setHeaders
-
setRawMethod
-
uri
- Specified by:
uriin interfaceProxyRequest- Returns:
- the target URI of the request.
-
parameters
- Specified by:
parametersin interfaceProxyRequest- Returns:
- the query parameters in the request
-
pathParameters
- Specified by:
pathParametersin interfaceProxyRequest- Returns:
- the path parameters in the request
-
method
public io.gravitee.common.http.HttpMethod method()- Specified by:
methodin interfaceProxyRequest- Returns:
- the HTTP method for the request.
-
rawMethod
Description copied from interface:ProxyRequestThe raw method in case the method() returns HttpMethod.OTHER- Specified by:
rawMethodin interfaceProxyRequest- Returns:
-
headers
- Specified by:
headersin interfaceProxyRequest- Returns:
- the headers in the request.
-
metrics
public io.gravitee.reporter.api.http.Metrics metrics()- Specified by:
metricsin interfaceProxyRequest- Returns:
- the metrics attached to the request.
-
closeHandler
- Specified by:
closeHandlerin interfaceProxyRequest
-