|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface RoutingAwareClient
RoutingAwareClient will currently only support RestRequests with an additional key.
| Method Summary | |
|---|---|
void |
restRequest(com.linkedin.r2.message.rest.RestRequest request,
com.linkedin.common.callback.Callback<com.linkedin.r2.message.rest.RestResponse> callback,
java.lang.String routeKey)
This function can be used to send a restRequest with an additional routeKey to determine the appropriate d2 service to use for routing the request. |
void |
restRequest(com.linkedin.r2.message.rest.RestRequest request,
com.linkedin.r2.message.RequestContext requestContext,
com.linkedin.common.callback.Callback<com.linkedin.r2.message.rest.RestResponse> callback,
java.lang.String routeKey)
This function can be used to send a restRequest with an additional routeKey to determine the appropriate d2 service to use for routing the request. |
java.util.concurrent.Future<com.linkedin.r2.message.rest.RestResponse> |
restRequest(com.linkedin.r2.message.rest.RestRequest request,
com.linkedin.r2.message.RequestContext requestContext,
java.lang.String routeKey)
This function can be used to send a restRequest with an additional routeKey to determine the appropriate d2 service to use for routing the request. |
java.util.concurrent.Future<com.linkedin.r2.message.rest.RestResponse> |
restRequest(com.linkedin.r2.message.rest.RestRequest request,
java.lang.String routeKey)
This function can be used to send a restRequest with an additional routeKey to determine the appropriate d2 service to use for routing the request. |
| Method Detail |
|---|
void restRequest(com.linkedin.r2.message.rest.RestRequest request,
com.linkedin.common.callback.Callback<com.linkedin.r2.message.rest.RestResponse> callback,
java.lang.String routeKey)
request - original rest requestcallback - used to return the new service name.routeKey - key used to determine a new service name.
void restRequest(com.linkedin.r2.message.rest.RestRequest request,
com.linkedin.r2.message.RequestContext requestContext,
com.linkedin.common.callback.Callback<com.linkedin.r2.message.rest.RestResponse> callback,
java.lang.String routeKey)
request - original rest requestrequestContext - request contextcallback - used to return the new service name.routeKey - key used to determine a new service name.
java.util.concurrent.Future<com.linkedin.r2.message.rest.RestResponse> restRequest(com.linkedin.r2.message.rest.RestRequest request,
java.lang.String routeKey)
request - original rest requestrouteKey - key used to determine a new service name.
java.util.concurrent.Future<com.linkedin.r2.message.rest.RestResponse> restRequest(com.linkedin.r2.message.rest.RestRequest request,
com.linkedin.r2.message.RequestContext requestContext,
java.lang.String routeKey)
request - original rest requestrequestContext - request contextrouteKey - key used to determine a new service name.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||