public interface RestRequestEnhancer
RestRequestEnhancer to any of the callEndpoint functions
of RestCallUtil that will modify the original request by creating a new one. This can be
useful for example if we want to add authorization headers to the request on the fly.| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<RestRequest> |
enhanceRestRequest(RestRequest request)
Enhances the rest request by creating a new instance.
|
io.reactivex.Single<RestRequest> enhanceRestRequest(RestRequest request)
request - The original rest request.Copyright © 2011–2019 Everit Kft.. All rights reserved.